On 22/08/2019 15:19:35+0200, Bruno Thomsen wrote: > 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@xxxxxxxxx> > --- > v3: removed 2 x dev_info() and 1 x dev_err() traces. > lowered dev_info() to dbg_info() in pcf2127_wdt_set_timeout. > removed unneeded ret variable in pcf2127_wdt_set_timeout. > v2: use new watchdog api, e.g. devm_watchdog_register_device. > remove watchdog Kconfig option. > update existing Kconfig option with additional information. > > drivers/rtc/Kconfig | 7 ++- > drivers/rtc/rtc-pcf2127.c | 118 ++++++++++++++++++++++++++++++++++++++ > 2 files changed, 124 insertions(+), 1 deletion(-) > Applied, thanks. -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com