[PATCH v2 1/4] watchdog: at91sam9_wdt: better watchdog support

2013-06-21 Thread Boris BREZILLON
The at91sam9 watchdog timer can only be configured once, and the current implementation tries to configure it in a static way: - 2 seconds timeout - wdt restart every 500ms If the timer has already been configured with different values, it returns an error and do not create any watchdog device.

[PATCH v2 1/4] watchdog: at91sam9_wdt: better watchdog support

2013-06-21 Thread Boris BREZILLON
The at91sam9 watchdog timer can only be configured once, and the current implementation tries to configure it in a static way: - 2 seconds timeout - wdt restart every 500ms If the timer has already been configured with different values, it returns an error and do not create any watchdog device.