rtc: rzn1: Add alarm support

The RZN1 RTC can trigger an interrupt when reaching a particular date up
to 7 days ahead. Bring support for this alarm.

One drawback though, the granularity is about a minute.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20220516082504.33913-4-miquel.raynal@bootlin.com
This commit is contained in:
Miquel Raynal 2022-05-16 10:25:02 +02:00 • committed by Alexandre Belloni
commit b5ad1bf00d