]> www.infradead.org Git - users/jedix/linux-maple.git/commit
rtc: isl1208: Add a delay for clearing alarm
authorBiju Das <biju.das.jz@bp.renesas.com>
Tue, 18 Jun 2024 15:26:30 +0000 (16:26 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 27 Jun 2024 22:34:21 +0000 (00:34 +0200)
commit0dbd610c426ed695eef5d26584259d96b6250c76
treec96c678c56f839784a7047460f5c15e3f5f4d24f
parent840ac611fbbec3a5dff37ee4fba6b2130eb6cc50
rtc: isl1208: Add a delay for clearing alarm

As per the latest HW manual[1], the INT# output is pulled low after the
alarm is triggered. After the INT# output is pulled low, it is low for at
least 250ms, even if the correct action is taken to clear it. It is
impossible to clear ALM if it is still active. The host must wait for the
RTC to progress past the alarm time plus the 250ms delay before clearing
ALM.

[1]https://www.renesas.com/us/en/document/dst/raa215300-datasheet?r=1506351

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://lore.kernel.org/r/20240618152635.48956-2-biju.das.jz@bp.renesas.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-isl1208.c