Messages in this thread | | | Date | Mon, 30 Mar 2020 20:39:17 +0200 | From | Alexandre Belloni <> | Subject | Re: [PATCH v3] rtc: ds1307: add support for watchdog timer on ds1388 |
| |
On 30/03/2020 15:55:00+1300, Chris Packham wrote: > The DS1388 variant has watchdog timer capabilities. When using a DS1388 > and having enabled CONFIG_WATCHDOG_CORE register a watchdog device for > the DS1388. > > Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz> > --- > Changes in v3: > - Address review comments from Guenter. Add select WATCHDOG_CORE, remove > unnecessary wdt member, add set_timeout op, use devm_watchdog_register > Changes in v2: > - Address review comments from Alexandre, the only functional change is setting > the hundredths of seconds to 0 instead of 99. > > drivers/rtc/Kconfig | 1 + > drivers/rtc/rtc-ds1307.c | 115 +++++++++++++++++++++++++++++++++++++++ > 2 files changed, 116 insertions(+) > Applied, thanks.
-- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
| |