WATCHDOG: Add watchdog driver for OCTEON SOCs
[sfrench/cifs-2.6.git] / drivers / watchdog / Kconfig
index b87ba23442d26e2118a5437cadc57272358dd042..b04b1846893265563aaa9abee1a589c35d8ddc42 100644 (file)
@@ -145,13 +145,19 @@ config KS8695_WATCHDOG
          Watchdog timer embedded into KS8695 processor. This will reboot your
          system when the timeout is reached.
 
+config HAVE_S3C2410_WATCHDOG
+       bool
+       help
+         This will include watchdog timer support for Samsung SoCs. If
+         you want to include watchdog support for any machine, kindly
+         select this in the respective mach-XXXX/Kconfig file.
+
 config S3C2410_WATCHDOG
        tristate "S3C2410 Watchdog"
-       depends on ARCH_S3C2410
+       depends on ARCH_S3C2410 || HAVE_S3C2410_WATCHDOG
        help
-         Watchdog timer block in the Samsung S3C2410 chips. This will
-         reboot the system when the timer expires with the watchdog
-         enabled.
+         Watchdog timer block in the Samsung SoCs. This will reboot
+         the system when the timer expires with the watchdog enabled.
 
          The driver is limited by the speed of the system's PCLK
          signal, so with reasonably fast systems (PCLK around 50-66MHz)
@@ -306,6 +312,18 @@ config MAX63XX_WATCHDOG
        help
          Support for memory mapped max63{69,70,71,72,73,74} watchdog timer.
 
+config IMX2_WDT
+       tristate "IMX2+ Watchdog"
+       depends on ARCH_MX2 || ARCH_MX25 || ARCH_MX3 || ARCH_MX5
+       help
+         This is the driver for the hardware watchdog
+         on the Freescale IMX2 and later processors.
+         If you have one of these processors and wish to have
+         watchdog support enabled, say Y, otherwise say N.
+
+         To compile this driver as a module, choose M here: the
+         module will be called imx2_wdt.
+
 # AVR32 Architecture
 
 config AT32AP700X_WDT
@@ -857,6 +875,24 @@ config TXX9_WDT
        help
          Hardware driver for the built-in watchdog timer on TXx9 MIPS SoCs.
 
+config OCTEON_WDT
+       tristate "Cavium OCTEON SOC family Watchdog Timer"
+       depends on CPU_CAVIUM_OCTEON
+       default y
+       select EXPORT_UASM if OCTEON_WDT = m
+       help
+         Hardware driver for OCTEON's on chip watchdog timer.
+         Enables the watchdog for all cores running Linux. It
+         installs a NMI handler and pokes the watchdog based on an
+         interrupt.  On first expiration of the watchdog, the
+         interrupt handler pokes it.  The second expiration causes an
+         NMI that prints a message. The third expiration causes a
+         global soft reset.
+
+         When userspace has /dev/watchdog open, no poking is done
+         from the first interrupt, it is then only poked when the
+         device is written.
+
 # PARISC Architecture
 
 # POWERPC Architecture