soc/tegra: pmc: Enable PMIC wake event on Tegra194
authorJon Hunter <jonathanh@nvidia.com>
Thu, 7 May 2020 10:13:48 +0000 (11:13 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 7 May 2020 19:23:39 +0000 (21:23 +0200)
The PMIC wake event can be used to bring the system out of suspend based
on certain events happening on the PMIC (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 72cfda7305d5af02baa02d0b9169c47025f8ab93..8169737c32524da836a1d3311908ba8ca7a9ff71 100644 (file)
@@ -3326,6 +3326,7 @@ static const char * const tegra194_reset_sources[] = {
 };
 
 static const struct tegra_wake_event tegra194_wake_events[] = {
+       TEGRA_WAKE_IRQ("pmu", 24, 209),
        TEGRA_WAKE_GPIO("power", 29, 1, TEGRA194_AON_GPIO(EE, 4)),
        TEGRA_WAKE_IRQ("rtc", 73, 10),
 };