rtc: pcf85063: set RTC_FEATURE_ALARM_RES_2S
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 9 Mar 2022 16:22:44 +0000 (17:22 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 23 Mar 2022 18:58:39 +0000 (19:58 +0100)
commita9f2d5bb662295f6c742d0e0366fcbaf93a923be
treec91db507cddcdcb8ac42f68f5396ebec8cd7f17a
parent11316c2463740d02e6c9680501b974e56555a85f
rtc: pcf85063: set RTC_FEATURE_ALARM_RES_2S

The PCF85063 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-13-alexandre.belloni@bootlin.com
drivers/rtc/rtc-pcf85063.c