rtc: pcf2127: set RTC_FEATURE_ALARM_RES_2S
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 9 Mar 2022 16:22:42 +0000 (17:22 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 23 Mar 2022 18:58:39 +0000 (19:58 +0100)
commitbda1027358e72e6255f11a4b59c375f138a2dd10
treedca9567d7ec1e714abaed3e570b66804e66046b4
parent689fafd5b53ac223ba7c7b83aebe1c78ce7db46c
rtc: pcf2127: set RTC_FEATURE_ALARM_RES_2S

The PCF2127 doesn't support UIE because setting an alarm to fire every
second confuses the chip and the fastest we can go is an alarm every 2
seconds.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20220309162301.61679-11-alexandre.belloni@bootlin.com
drivers/rtc/rtc-pcf2127.c