diff options
author | Hans-Christian Egtvedt <hcegtvedt@atmel.com> | 2007-06-07 19:06:41 -0400 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2007-06-10 15:49:20 -0400 |
commit | a9cb3959ace112295fdb65c99a2928eedba06926 (patch) | |
tree | 40767f7c8fb62ac6da3f2657204c87a343837f28 /drivers/char/watchdog/Kconfig | |
parent | 10a29304f496ddef58473e6c53b5e66d9685536d (diff) |
[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 53f5538c0c05..520afb8e5234 100644 --- a/drivers/char/watchdog/Kconfig +++ b/drivers/char/watchdog/Kconfig | |||
@@ -187,6 +187,26 @@ config PNX4008_WATCHDOG | |||
187 | 187 | ||
188 | Say N if you are unsure. | 188 | Say N if you are unsure. |
189 | 189 | ||
190 | # AVR32 Architecture | ||
191 | |||
192 | config AT32AP700X_WDT | ||
193 | tristate "AT32AP700x watchdog" | ||
194 | depends on WATCHDOG && CPU_AT32AP7000 | ||
195 | help | ||
196 | Watchdog timer embedded into AT32AP700x devices. This will reboot | ||
197 | your system when the timeout is reached. | ||
198 | |||
199 | config AT32AP700X_WDT_TIMEOUT | ||
200 | int "Timeout value for AT32AP700x watchdog" | ||
201 | depends on AT32AP700X_WDT | ||
202 | default "2" | ||
203 | range 1 2 | ||
204 | help | ||
205 | Sets the timeout value for the watchdog in AT32AP700x devices. | ||
206 | Limited by hardware to be 1 or 2 seconds. | ||
207 | |||
208 | Set to 2 seconds by default. | ||
209 | |||
190 | # X86 (i386 + ia64 + x86_64) Architecture | 210 | # X86 (i386 + ia64 + x86_64) Architecture |
191 | 211 | ||
192 | config ACQUIRE_WDT | 212 | config ACQUIRE_WDT |