Re: [PATCH 3/9] soc/tegra: pmc: Add wake event support

2018-09-21 Thread Mikko Perttunen
On 21/09/2018 19.25, Thierry Reding wrote: ... + /* route wake to tier 2 (XXX conditionally enable this) */ + value = readl(pmc->wake + WAKE_AOWAKE_TIER2_CTRL); + writel(0x1, pmc->wake + WAKE_AOWAKE_TIER2_CTRL); This doesn't seem right Cheers, Mikko

Re: [PATCH 3/9] soc/tegra: pmc: Add wake event support

2018-09-21 Thread Mikko Perttunen
On 21/09/2018 19.25, Thierry Reding wrote: ... + /* route wake to tier 2 (XXX conditionally enable this) */ + value = readl(pmc->wake + WAKE_AOWAKE_TIER2_CTRL); + writel(0x1, pmc->wake + WAKE_AOWAKE_TIER2_CTRL); This doesn't seem right Cheers, Mikko

[PATCH 3/9] soc/tegra: pmc: Add wake event support

2018-09-21 Thread Thierry Reding
From: Thierry Reding The power management controller has top-level controls that allow certain interrupts (such as from the RTC or a subset of GPIOs) to wake the system from sleep. Implement infrastructure to support these wake events. Signed-off-by: Thierry Reding --- drivers/soc/tegra/pmc.c

[PATCH 3/9] soc/tegra: pmc: Add wake event support

2018-09-21 Thread Thierry Reding
From: Thierry Reding The power management controller has top-level controls that allow certain interrupts (such as from the RTC or a subset of GPIOs) to wake the system from sleep. Implement infrastructure to support these wake events. Signed-off-by: Thierry Reding --- drivers/soc/tegra/pmc.c