]> www.infradead.org Git - linux.git/commit
rtc: tps6594: Add power management support
authorRichard Genoud <richard.genoud@bootlin.com>
Tue, 18 Jun 2024 14:18:51 +0000 (16:18 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 27 Jun 2024 22:18:55 +0000 (00:18 +0200)
commitc88014c7aa5c4cd39c3a5f4830f6fb525c730693
tree5a4ebe17aba4f45bbc524bf1ec739c95a83d9258
parent29bf97586f189c404c39fe32925c8aea79efbb24
rtc: tps6594: Add power management support

Add power management support to the driver. This allows a SoC to wake
from suspend using the nINT provided by the RTC.
It takes care of the case when the interrupt has not been caught because
the kernel has not yet woke up.
(This is the case when only edges interrupt are caught)

Signed-off-by: Richard Genoud <richard.genoud@bootlin.com>
Link: https://lore.kernel.org/r/20240618141851.1810000-4-richard.genoud@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-tps6594.c