]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfd59fbf1b0e5a3335e3ac17d0939ca4579a91fe1
tree61f081c860a443cc3deb6326fe91374faba2a5b6
parent1b52479dbd8b8ca8dd0ce5a80698303ec892f69e
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