summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/Kconfig
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2019-09-09 11:15:42 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2019-09-09 15:44:30 +0200
commit2a814c11eddec16b306b29aafd37bf6e61138241 (patch)
tree7b55d987a7e9ac84f0b1ac23835282fa6d78f80f /drivers/watchdog/Kconfig
parent3383eca343458a82f11917e6379c4a8dbe53565d (diff)
downloadbarebox-2a814c11eddec16b306b29aafd37bf6e61138241.tar.gz
barebox-2a814c11eddec16b306b29aafd37bf6e61138241.tar.xz
watchdog: add support for STPMIC1 integrated watchdog
The driver adds support for the PMIC's watchdog, reset, poweroff and reset reason query capabilities. 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/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index 486ef784eb..fbaab896d4 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -89,4 +89,11 @@ config STM32_IWDG_WATCHDOG
help
Enable to support configuration of the STM32's on-SoC IWDG watchdog.
Once started by the user, the IWDG can't be disabled.
+
+config STPMIC1_WATCHDOG
+ bool "STPMIC1 Watchdog"
+ depends on MFD_STPMIC1
+ help
+ Enable to support configuration of the stpmic1's built-in watchdog.
+
endif