summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-max8907.c
diff options
context:
space:
mode:
authorBruno Thomsen <bruno.thomsen@gmail.com>2019-08-22 15:19:35 +0200
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2019-08-27 18:24:15 +0200
commit0e735eaae1650a2e26835cc776f496e06a87be9f (patch)
treed077e7192c7f1cbbdaafe3616875f31a2b273293 /drivers/rtc/rtc-max8907.c
parentrtc: pcf2127: bugfix: read rtc disables watchdog (diff)
downloadlinux-0e735eaae1650a2e26835cc776f496e06a87be9f.tar.xz
linux-0e735eaae1650a2e26835cc776f496e06a87be9f.zip
rtc: pcf2127: add watchdog feature support
Add partial support for the watchdog functionality of both PCF2127 and PCF2129 chips. The programmable watchdog timer is currently using a fixed clock source of 1Hz. This result in a selectable range of 1-255 seconds, which covers most embedded Linux use-cases. Clock sources of 4096Hz, 64Hz and 1/60Hz is mostly useful in MCU use-cases. Countdown timer not available when using watchdog feature. Signed-off-by: Bruno Thomsen <bruno.thomsen@gmail.com> Acked-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20190822131936.18772-4-bruno.thomsen@gmail.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/rtc-max8907.c')
0 files changed, 0 insertions, 0 deletions