rtc: isl12022: Add alarm support
authorEsben Haabendal <esben@geanix.com>
Fri, 13 Sep 2024 10:29:13 +0000 (12:29 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 10 Nov 2024 23:06:46 +0000 (00:06 +0100)
commitc62d658e5253a872180e77f4e1674bd94a989927
tree5dcb7fa512125bd46faba1986e33b91bc5405676
parentd4a6161f242b70dde08a631b16ca3671aa1b2ed2
rtc: isl12022: Add alarm support

The ISL12022 RTC has a combined INT/fOUT pin, which can be used for alarm
interrupt when frequency output is not enabled.

The device-tree bindings should ensure that interrupt and clock output is
not enabled at the same time.

Signed-off-by: Esben Haabendal <esben@geanix.com>
Link: https://lore.kernel.org/r/20240913-rtc-isl12022-alarm-irq-v2-2-37309d939723@geanix.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-isl12022.c