summaryrefslogtreecommitdiffstats
path: root/drivers/soc/tegra/pmc.c
diff options
context:
space:
mode:
authorJon Hunter <jonathanh@nvidia.com>2020-05-20 17:13:17 +0200
committerThierry Reding <treding@nvidia.com>2020-05-22 14:55:54 +0200
commitdf701a76a6419e66b566457a5b3fcdd314e48fd9 (patch)
tree591223f87480e716911081920c73ec80e923d125 /drivers/soc/tegra/pmc.c
parentsoc: tegra: Fix tegra_pmc_get_suspend_mode definition (diff)
downloadlinux-df701a76a6419e66b566457a5b3fcdd314e48fd9.tar.xz
linux-df701a76a6419e66b566457a5b3fcdd314e48fd9.zip
soc/tegra: pmc: Enable PMIC wake event on Tegra210
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>
Diffstat (limited to 'drivers/soc/tegra/pmc.c')
-rw-r--r--drivers/soc/tegra/pmc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/soc/tegra/pmc.c b/drivers/soc/tegra/pmc.c
index 8169737c3252..42cf37a0556b 100644
--- a/drivers/soc/tegra/pmc.c
+++ b/drivers/soc/tegra/pmc.c
@@ -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 = {