summaryrefslogtreecommitdiff
path: root/drivers/watchdog/Kconfig
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@openbsd.org>2022-01-12 21:55:15 +0300
committerStefan Roese <sr@denx.de>2022-01-13 08:55:46 +0300
commitee327d1d93588609a36744464b336452a9444caf (patch)
tree1d0674975cf3729f45ab8fdfc129010fe526821d /drivers/watchdog/Kconfig
parenta02af84e03e018d7cd08bb3070cbe5517004712b (diff)
downloadu-boot-ee327d1d93588609a36744464b336452a9444caf.tar.xz
watchdog: Add a driver for the Apple watchdog
This driver supports the watchdog timer found on Apple's M1 SoC. On systems that use these SoC, the watchdog timer is the primary way to reboot the system. Signed-off-by: Mark Kettenis <kettenis@openbsd.org> Reviewed-by: Sven Peter <sven@svenpeter.dev> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Stefan Roese <sr@denx.de> Tested-on: Apple M1 Macbook Tested-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/watchdog/Kconfig')
-rw-r--r--drivers/watchdog/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index 1177f17fd8..cabac29053 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -81,6 +81,15 @@ config WDT
What exactly happens when the timer expires is up to a particular
device/driver.
+config WDT_APPLE
+ bool "Apple watchdog timer support"
+ depends on WDT
+ default y if ARCH_APPLE
+ help
+ Enable support for the watchdog timer on Apple SoCs.
+ The watchdog will perform a full SoC reset resulting in a
+ reboot of the entire system.
+
config WDT_ARMADA_37XX
bool "Marvell Armada 37xx watchdog timer support"
depends on WDT && ARMADA_3700