[PATCH] watchdog: add support for the Synopsys DesignWare WDT
Wim Van Sebroeck
wim at iguana.be
Mon Jan 10 08:58:10 EST 2011
> +config DW_WATCHDOG
> + tristate "Synopsys DesignWare watchdog"
> + select WATCHDOG_NOWAYOUT
I overlooked something: If your watchdog driver cannot be stopped once it's started,
then it's best to add a comment about that in your code. Selecting the WATCHDOG_NOWAYOUT
feauture (which is overall for all drivers) is not the way to do it properly.
What you should do is add a timer that ticks the watchdog if /dev/watchdog is closed.
Examples for this functionality can be found in at91sam9_wdt.c, pika_wdt.c, ...
More information about the linux-arm-kernel