]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit851ee4a068607c4f9354dde5158c500822b6cabf
treec91db507cddcdcb8ac42f68f5396ebec8cd7f17a
parentad8af8363a4924f866dcb541bc089c8cf7d68281
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