summaryrefslogtreecommitdiff
path: root/drivers/watchdog/Kconfig
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2013-10-15 11:26:51 +0200
committerStefan Agner <stefan.agner@toradex.com>2013-10-15 11:26:51 +0200
commit5da592b805718b4f33897d642f577b1e6511bc2b (patch)
treea204dcdffbb1e7a2dad080bb8aba61212fec0d47 /drivers/watchdog/Kconfig
parent35412b809534b5fe6572b6c14949594b8053bc84 (diff)
tegra_wdt: support default watchdog api
Reworked driver in order to properly support default watchdog api such as triggering by writing a character and disable by sending a magic character. Renamed ENABLE_ON_PROBE to ENABLE_HEARTBEAT which triggers the watchdog using the interrupt service routine.
Diffstat (limited to 'drivers/watchdog/Kconfig')
-rw-r--r--drivers/watchdog/Kconfig15
1 files changed, 9 insertions, 6 deletions
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index 9a94f7e093dd..8d41441b05ed 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -217,17 +217,20 @@ config TEGRA_WATCHDOG
depends on ARCH_TEGRA
help
Say Y here to include support for the watchdog timer
- embedded in NVIDIA Tegra SoCs.
+ embedded in NVIDIA Tegra SoCs. The default timeout
+ is set to 60 seconds.
To compile this driver as a module, choose M here: the
module will be called tegra_wdt.
-config TEGRA_WATCHDOG_ENABLE_ON_PROBE
- tristate "Turn on Tegra watchdog at system start up"
- depends on ARCH_TEGRA && TEGRA_WATCHDOG
+config TEGRA_WATCHDOG_ENABLE_HEARTBEAT
+ bool "Use the first Tegra watchdog as kernel heartbeats"
+ depends on TEGRA_WATCHDOG
+ default n
help
- Say Y here to enable the tegra watchdog at driver
- probe time, rather than when the device is opened.
+ Say Y here to enable the first tegra watchdog at driver
+ probe time. The kernel will reload the watchdog by
+ itself in an interrupt handler.
config EP93XX_WATCHDOG
tristate "EP93xx Watchdog"