soc/tegra: pmc: Enable PMIC wake event on Tegra210
authorJon Hunter <jonathanh@nvidia.com>
Wed, 20 May 2020 15:13:17 +0000 (16:13 +0100)
committerThierry Reding <treding@nvidia.com>
Fri, 22 May 2020 12:55:54 +0000 (14:55 +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 8169737..42cf37a 100644 (file)
@@ -3063,6 +3063,7 @@ static const struct pinctrl_pin_desc tegra210_pin_descs[] = {
 
 static const struct tegra_wake_event tegra210_wake_events[] = {
        TEGRA_WAKE_IRQ("rtc", 16, 2),
+       TEGRA_WAKE_IRQ("pmu", 51, 86),
 };
 
 static const struct tegra_pmc_soc tegra210_pmc_soc = {