devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] soc/tegra: pmc: Enable PMIC wake event on Tegra210
@ 2020-05-20 15:13 Jon Hunter
  2020-05-20 15:13 ` [PATCH 2/2] arm64: tegra: Make the RTC a wakeup source on Jetson Nano and TX1 Jon Hunter
  2020-05-22 12:58 ` [PATCH 1/2] soc/tegra: pmc: Enable PMIC wake event on Tegra210 Thierry Reding
  0 siblings, 2 replies; 3+ messages in thread
From: Jon Hunter @ 2020-05-20 15:13 UTC (permalink / raw)
  To: Thierry Reding, Jonathan Hunter; +Cc: devicetree, linux-tegra

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>
---
 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 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 = {
-- 
2.17.1


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

end of thread, other threads:[~2020-05-22 12:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-20 15:13 [PATCH 1/2] soc/tegra: pmc: Enable PMIC wake event on Tegra210 Jon Hunter
2020-05-20 15:13 ` [PATCH 2/2] arm64: tegra: Make the RTC a wakeup source on Jetson Nano and TX1 Jon Hunter
2020-05-22 12:58 ` [PATCH 1/2] soc/tegra: pmc: Enable PMIC wake event on Tegra210 Thierry Reding

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).