summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Hunter <jonathanh@nvidia.com>2026-03-25 22:25:57 +0300
committerThierry Reding <treding@nvidia.com>2026-03-28 03:02:39 +0300
commit91d5b17fd387d9822ef9fa64e8dd2c1d231c9aca (patch)
treeb0409f4d8ea761921054d13b5019604de6b7e177
parentbc8b07878cef6273aa1135630cad05227a4b223b (diff)
downloadlinux-91d5b17fd387d9822ef9fa64e8dd2c1d231c9aca.tar.xz
soc/tegra: pmc: Add Tegra264 wake events
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>
-rw-r--r--drivers/soc/tegra/pmc.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/soc/tegra/pmc.c b/drivers/soc/tegra/pmc.c
index 379bd622f8ff..b4c85b65d8da 100644
--- a/drivers/soc/tegra/pmc.c
+++ b/drivers/soc/tegra/pmc.c
@@ -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 = {