soc/tegra: pmc: Add the PMIC wake event for Tegra234
authorJon Hunter <jonathanh@nvidia.com>
Mon, 6 Mar 2023 15:09:00 +0000 (15:09 +0000)
committerThierry Reding <treding@nvidia.com>
Mon, 3 Apr 2023 12:30:39 +0000 (14:30 +0200)
Add the PMIC wake event for Tegra234 that is used to bring the device
out of system suspend for events such as an RTC alarm.

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

index cf4cfbf9f7c5a691fd095e7f7184465ef6e669fb..e3e87d5da9f5110bb108f1316d366ecf22d9ddc9 100644 (file)
@@ -4225,6 +4225,7 @@ static const char * const tegra234_reset_sources[] = {
 };
 
 static const struct tegra_wake_event tegra234_wake_events[] = {
+       TEGRA_WAKE_IRQ("pmu", 24, 209),
        TEGRA_WAKE_GPIO("power", 29, 1, TEGRA234_AON_GPIO(EE, 4)),
        TEGRA_WAKE_IRQ("rtc", 73, 10),
 };