rtc: imxdi: add wakeup support
authorMartin Kaiser <martin@kaiser.cx>
Tue, 11 May 2021 16:12:44 +0000 (18:12 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 24 May 2021 22:41:25 +0000 (00:41 +0200)
commitbcae59d0d45b866d5b9525ea8ece6d671e6767c8
tree61f081c860a443cc3deb6326fe91374faba2a5b6
parent37401019fe32b37c78b50163e4b4ffc2dbce4830
rtc: imxdi: add wakeup support

The DryIce-based RTC supports alarms that trigger an interrupt.

Configure this interrupt as a wakeup source that wakes the system up
from standby mode.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20210511161244.16111-1-martin@kaiser.cx
drivers/rtc/rtc-imxdi.c