Merge tag 'mips-pull-2019-05-03' of git://git.denx.de/u-boot-mips
[oweals/u-boot.git] / drivers / watchdog / Kconfig
index 8a66e479ab8401f781f943d4a81f5f37f63f216b..f909d40f45588e27af74f626770268458fafc165 100644 (file)
@@ -11,6 +11,12 @@ config WATCHDOG
 config HW_WATCHDOG
        bool
 
+config WATCHDOG_RESET_DISABLE
+       bool "Disable reset watchdog"
+       help
+          Disable reset watchdog, which can let WATCHDOG_RESET invalid, so
+          that the watchdog will not be fed in u-boot.
+
 config BCM2835_WDT
        bool "Enable BCM2835/2836 watchdog driver"
        select HW_WATCHDOG
@@ -45,10 +51,11 @@ config ULP_WATCHDOG
 config WDT
        bool "Enable driver model for watchdog timer drivers"
        depends on DM
+       imply WATCHDOG
        help
          Enable driver model for watchdog timer. At the moment the API
          is very simple and only supports four operations:
-         start, restart, stop and reset (expire immediately).
+         start, stop, reset and expire_now (expire immediately).
          What exactly happens when the timer expires is up to a particular
          device/driver.
 
@@ -56,9 +63,18 @@ config WDT_SANDBOX
        bool "Enable Watchdog Timer support for Sandbox"
        depends on SANDBOX && WDT
        help
-               Enable Watchdog Timer support in Sandbox. This is a dummy device that
-               can be probed and supports all of the methods of WDT, but does not
-               really do anything.
+         Enable Watchdog Timer support in Sandbox. This is a dummy device that
+         can be probed and supports all of the methods of WDT, but does not
+         really do anything.
+
+config WDT_ARMADA_37XX
+       bool "Marvell Armada 37xx watchdog timer support"
+       depends on WDT && ARMADA_3700
+       help
+          Enable this to support Watchdog Timer on Marvell Armada 37xx SoC.
+          There are 4 possible clocks which can be used on these SoCs. This
+          driver uses the second clock (ID 1), assuming that so will also
+          Linux's driver.
 
 config WDT_ASPEED
        bool "Aspeed ast2400/ast2500 watchdog timer support"
@@ -73,7 +89,7 @@ config WDT_ASPEED
 
 config WDT_BCM6345
        bool "BCM6345 watchdog timer support"
-       depends on WDT && ARCH_BMIPS
+       depends on WDT && (ARCH_BMIPS || ARCH_BCM6858 || ARCH_BCM63158)
        help
          Select this to enable watchdog timer for BCM6345 SoCs.
          The watchdog timer is stopped when initialized.
@@ -82,6 +98,7 @@ config WDT_BCM6345
 config WDT_ORION
        bool "Orion watchdog timer support"
        depends on WDT
+       select CLK
        help
           Select this to enable Orion watchdog timer, which can be found on some
           Marvell Armada chips.
@@ -94,4 +111,47 @@ config WDT_CDNS
           Select this to enable Cadence watchdog timer, which can be found on some
           Xilinx Microzed Platform.
 
+config WDT_MTK
+       bool "MediaTek watchdog timer support"
+       depends on WDT && ARCH_MEDIATEK
+       help
+         Select this to enable watchdog timer for MediaTek SoCs.
+         The watchdog timer is stopped when initialized.
+         It performs full SoC reset.
+
+config XILINX_TB_WATCHDOG
+       bool "Xilinx Axi watchdog timer support"
+       depends on WDT
+       imply WATCHDOG
+       help
+          Select this to enable Xilinx Axi watchdog timer, which can be found on some
+          Xilinx Microblaze Platforms.
+
+config IMX_WATCHDOG
+       bool "Enable Watchdog Timer support for IMX and LSCH2 of NXP"
+       select HW_WATCHDOG
+       help
+          Select this to enable the IMX and LSCH2 of Layerscape watchdog
+          driver.
+
+config WDT_AT91
+       bool "AT91 watchdog timer support"
+       depends on WDT
+       help
+          Select this to enable Microchip watchdog timer, which can be found on
+          some AT91 devices.
+
+config WDT_MT7621
+       bool "MediaTek MT7621 watchdog timer support"
+       depends on WDT && SOC_MT7628
+       help
+          Select this to enable Ralink / Mediatek watchdog timer,
+          which can be found on some MediaTek chips.
+
+config WDT_MPC8xx
+       bool "MPC8xx watchdog timer support"
+       depends on WDT && MPC8xx
+       help
+          Select this to enable mpc8xx watchdog timer
+
 endmenu