diff options
author | Hans-Christian Egtvedt <hcegtvedt@atmel.com> | 2007-06-07 16:06:41 -0700 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2007-06-10 19:49:20 +0000 |
commit | a9cb3959ace112295fdb65c99a2928eedba06926 (patch) | |
tree | 40767f7c8fb62ac6da3f2657204c87a343837f28 /drivers/char/watchdog/Kconfig | |
parent | 10a29304f496ddef58473e6c53b5e66d9685536d (diff) | |
download | op-kernel-dev-a9cb3959ace112295fdb65c99a2928eedba06926.zip op-kernel-dev-a9cb3959ace112295fdb65c99a2928eedba06926.tar.gz |
[WATCHDOG] Watchdog driver for AT32AP700X devices
Add support for the built in watchdog in AT32AP700X devices.
Tested on AT32AP7000 and ATSTK1000.
Hardware documentation can be found in the AT32AP7000 datasheet.
Signed-off-by: Hans-Christian Egtvedt <hcegtvedt@atmel.com>
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'drivers/char/watchdog/Kconfig')
-rw-r--r-- | drivers/char/watchdog/Kconfig | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/drivers/char/watchdog/Kconfig b/drivers/char/watchdog/Kconfig index 53f5538..520afb8 100644 --- a/drivers/char/watchdog/Kconfig +++ b/drivers/char/watchdog/Kconfig @@ -187,6 +187,26 @@ config PNX4008_WATCHDOG Say N if you are unsure. +# AVR32 Architecture + +config AT32AP700X_WDT + tristate "AT32AP700x watchdog" + depends on WATCHDOG && CPU_AT32AP7000 + help + Watchdog timer embedded into AT32AP700x devices. This will reboot + your system when the timeout is reached. + +config AT32AP700X_WDT_TIMEOUT + int "Timeout value for AT32AP700x watchdog" + depends on AT32AP700X_WDT + default "2" + range 1 2 + help + Sets the timeout value for the watchdog in AT32AP700x devices. + Limited by hardware to be 1 or 2 seconds. + + Set to 2 seconds by default. + # X86 (i386 + ia64 + x86_64) Architecture config ACQUIRE_WDT |