summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/Kconfig
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2019-06-17 16:34:17 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2019-06-19 11:02:10 +0200
commit2714dadbfe2ec60f40008955208d956373875427 (patch)
tree2d5d4d4d3183c6dd66e0e2e1e632fd3a3d90e585 /drivers/watchdog/Kconfig
parentbf8973f10df5d11033ab4b9420decd3f55a69b4d (diff)
downloadbarebox-2714dadbfe2ec60f40008955208d956373875427.tar.gz
barebox-2714dadbfe2ec60f40008955208d956373875427.tar.xz
watchdog: add stm32 watchdog and reset driver
The driver supports setting watchdog timeout, system reset and querying reset reason. Disabling watchdog isn't possible in hardware, thus users should either only enable it before boot or have the poller take care of feeding it. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/watchdog/Kconfig')
-rw-r--r--drivers/watchdog/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index 04efb1a3c8..486ef784eb 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -81,4 +81,12 @@ config RAVE_SP_WATCHDOG
depends on RAVE_SP_CORE
help
Support for the watchdog on RAVE SP device.
+
+config STM32_IWDG_WATCHDOG
+ bool "STM32 IWDG"
+ depends on ARCH_STM32MP
+ select MFD_SYSCON
+ help
+ Enable to support configuration of the STM32's on-SoC IWDG watchdog.
+ Once started by the user, the IWDG can't be disabled.
endif