]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: ds1307: add support for watchdog timer on ds1388
authorChris Packham <chris.packham@alliedtelesis.co.nz>
Mon, 30 Mar 2020 02:55:00 +0000 (15:55 +1300)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 1 Apr 2020 10:33:44 +0000 (12:33 +0200)
commitb2f4b0e98c7ed1460d92290f85b003606059c2bd
treebb1f92ab58939aa0b14b44ddff4947b22b741af1
parent55f49c79cd3818643f422f7bc4e7333b13895358
rtc: ds1307: add support for watchdog timer on ds1388

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>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20200330025500.6991-1-chris.packham@alliedtelesis.co.nz
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/Kconfig
drivers/rtc/rtc-ds1307.c