summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/Kconfig
diff options
context:
space:
mode:
authorAhmad Fatoum <ahmad@a3f.at>2021-04-10 12:35:11 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2021-04-13 08:11:51 +0200
commit4dd63cd988b81bb3dff2621e32a2cf989e788349 (patch)
treea94028f5b699cc9556e1450bfd9006036d492497 /drivers/watchdog/Kconfig
parent5a157bc8d126b79a458c55acba5c000b9d285028 (diff)
downloadbarebox-4dd63cd988b81bb3dff2621e32a2cf989e788349.tar.gz
barebox-4dd63cd988b81bb3dff2621e32a2cf989e788349.tar.xz
watchdog: add GPIO watchdog driver
This is a straight port from Linux v5.11. Signed-off-by: Ahmad Fatoum <ahmad@a3f.at> Link: https://lore.pengutronix.de/20210410103511.2073504-5-ahmad@a3f.at
Diffstat (limited to 'drivers/watchdog/Kconfig')
-rw-r--r--drivers/watchdog/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index cf83b6a15b..df85a227ac 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -117,4 +117,11 @@ config F71808E_WDT
F71862FG, F71868, F71869, F71882FG, F71889FG, F81865 and F81866
Super I/O controllers.
+config GPIO_WATCHDOG
+ tristate "Watchdog device controlled through GPIO-line"
+ depends on OF_GPIO
+ help
+ If you say yes here you get support for watchdog device
+ controlled through GPIO-line.
+
endif