summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/Kconfig
diff options
context:
space:
mode:
authorAndreas Färber2017-09-05 01:16:01 +0200
committerWim Van Sebroeck2017-12-28 20:44:39 +0100
commit2bdf6acbfead7e9aa69f36ee5682d1e5c8f70367 (patch)
tree15451b9aa90076e18fe060a97b2d2df513edf333 /drivers/watchdog/Kconfig
parentdt-bindings: watchdog: Add Realtek RTD1295 (diff)
downloadkernel-qcow2-linux-2bdf6acbfead7e9aa69f36ee5682d1e5c8f70367.tar.gz
kernel-qcow2-linux-2bdf6acbfead7e9aa69f36ee5682d1e5c8f70367.tar.xz
kernel-qcow2-linux-2bdf6acbfead7e9aa69f36ee5682d1e5c8f70367.zip
watchdog: Add Realtek RTD1295
Add a watchdog driver for the Realtek RTD1295 SoC. Based on QNAP's arch/arm/mach-rtk119x/driver/rtk_watchdog.c code and mach-rtk119x/driver/dc2vo/fpga/include/iso_reg.h register defines. Signed-off-by: Andreas Färber <afaerber@suse.de> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/Kconfig')
-rw-r--r--drivers/watchdog/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index 5a606a4aee6a..6fdf3f95d146 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -787,6 +787,16 @@ config UNIPHIER_WATCHDOG
To compile this driver as a module, choose M here: the
module will be called uniphier_wdt.
+config RTD119X_WATCHDOG
+ bool "Realtek RTD119x/RTD129x watchdog support"
+ depends on ARCH_REALTEK || COMPILE_TEST
+ depends on OF
+ select WATCHDOG_CORE
+ default ARCH_REALTEK
+ help
+ Say Y here to include support for the watchdog timer in
+ Realtek RTD1295 SoCs.
+
# AVR32 Architecture
config AT32AP700X_WDT