]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
soc/tegra: pmc: Add Tegra264 wake events
authorJon Hunter <jonathanh@nvidia.com>
Wed, 25 Mar 2026 19:25:57 +0000 (19:25 +0000)
committerThierry Reding <treding@nvidia.com>
Sat, 28 Mar 2026 00:02:39 +0000 (01:02 +0100)
Populate the various wake events for the Tegra264 device.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/soc/tegra/pmc.c

index 379bd622f8ff3453e7345e49d0f6859912065ea9..b4c85b65d8dad545f7d3c65eccfec5e293d41e10 100644 (file)
@@ -60,6 +60,7 @@
 #include <dt-bindings/gpio/tegra186-gpio.h>
 #include <dt-bindings/gpio/tegra194-gpio.h>
 #include <dt-bindings/gpio/tegra234-gpio.h>
+#include <dt-bindings/gpio/nvidia,tegra264-gpio.h>
 #include <dt-bindings/soc/tegra-pmc.h>
 
 #define PMC_CNTRL                      0x0
@@ -4639,6 +4640,16 @@ static const char * const tegra264_reset_sources[] = {
 };
 
 static const struct tegra_wake_event tegra264_wake_events[] = {
+       TEGRA_WAKE_IRQ("pmu", 0, 727),
+       TEGRA_WAKE_GPIO("power", 5, 1, TEGRA264_AON_GPIO(AA, 5)),
+       TEGRA_WAKE_IRQ("rtc", 65, 548),
+       TEGRA_WAKE_IRQ("usb3-port-0", 79, 965),
+       TEGRA_WAKE_IRQ("usb3-port-1", 80, 965),
+       TEGRA_WAKE_IRQ("usb3-port-3", 82, 965),
+       TEGRA_WAKE_IRQ("usb2-port-0", 83, 965),
+       TEGRA_WAKE_IRQ("usb2-port-1", 84, 965),
+       TEGRA_WAKE_IRQ("usb2-port-2", 85, 965),
+       TEGRA_WAKE_IRQ("usb2-port-3", 86, 965),
 };
 
 static const struct tegra_pmc_soc tegra264_pmc_soc = {