]> 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)
commitfb578c3c09fba80f1a2940f595a57c1b2d6e6786
treec91db507cddcdcb8ac42f68f5396ebec8cd7f17a
parentb88b84dd1df5203d702c4886f71f84959cf2e677
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