linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] soc/tegra: pmc: Enable PMIC wake event on Tegra186
@ 2020-04-17 17:11 Thierry Reding
  2020-04-17 17:11 ` [PATCH 2/2] arm64: tegra: Make the RTC a wakeup source on Jetson TX2 Thierry Reding
  2020-04-20 14:43 ` [PATCH 1/2] soc/tegra: pmc: Enable PMIC wake event on Tegra186 Jon Hunter
  0 siblings, 2 replies; 4+ messages in thread
From: Thierry Reding @ 2020-04-17 17:11 UTC (permalink / raw)
  To: Thierry Reding; +Cc: linux-tegra, linux-arm-kernel, Jon Hunter

From: Thierry Reding <treding@nvidia.com>

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: Thierry Reding <treding@nvidia.com>
---
 drivers/soc/tegra/pmc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/soc/tegra/pmc.c b/drivers/soc/tegra/pmc.c
index 1c533a969f54..72cfda7305d5 100644
--- a/drivers/soc/tegra/pmc.c
+++ b/drivers/soc/tegra/pmc.c
@@ -3193,6 +3193,7 @@ static void tegra186_pmc_setup_irq_polarity(struct tegra_pmc *pmc,
 }
 
 static const struct tegra_wake_event tegra186_wake_events[] = {
+	TEGRA_WAKE_IRQ("pmu", 24, 209),
 	TEGRA_WAKE_GPIO("power", 29, 1, TEGRA186_AON_GPIO(FF, 0)),
 	TEGRA_WAKE_IRQ("rtc", 73, 10),
 };
-- 
2.24.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-04-20 14:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-17 17:11 [PATCH 1/2] soc/tegra: pmc: Enable PMIC wake event on Tegra186 Thierry Reding
2020-04-17 17:11 ` [PATCH 2/2] arm64: tegra: Make the RTC a wakeup source on Jetson TX2 Thierry Reding
2020-04-20 14:43   ` Jon Hunter
2020-04-20 14:43 ` [PATCH 1/2] soc/tegra: pmc: Enable PMIC wake event on Tegra186 Jon Hunter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).