summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/Kconfig
diff options
context:
space:
mode:
authorJohnson CH Chen (陳昭勳) <JohnsonCH.Chen@moxa.com>2020-07-09 08:34:06 +0200
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2020-07-16 11:24:06 +0200
commitd3de4beb14a887754b83843bf23b6dbe8d022764 (patch)
tree08c48577c732e7dcbeb17af40f8097e797bf21ae /drivers/rtc/Kconfig
parentrtc: Replace HTTP links with HTTPS ones (diff)
downloadlinux-d3de4beb14a887754b83843bf23b6dbe8d022764.tar.xz
linux-d3de4beb14a887754b83843bf23b6dbe8d022764.zip
rtc: ds1374: wdt: Use watchdog core for watchdog part
Let ds1374 watchdog use watchdog core functions. It also includes improving watchdog timer setting and nowayout, and just uses ioctl() of watchdog core. Signed-off-by: Johnson Chen <johnsonch.chen@moxa.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/HK2PR01MB328182D5A54BFAA8A22E448AFA640@HK2PR01MB3281.apcprd01.prod.exchangelabs.com
Diffstat (limited to 'drivers/rtc/Kconfig')
-rw-r--r--drivers/rtc/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index b54d87d45c89..c25d51f35f0c 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -282,6 +282,7 @@ config RTC_DRV_DS1374
config RTC_DRV_DS1374_WDT
bool "Dallas/Maxim DS1374 watchdog timer"
depends on RTC_DRV_DS1374
+ select WATCHDOG_CORE if WATCHDOG
help
If you say Y here you will get support for the
watchdog timer in the Dallas Semiconductor DS1374