[PATCH v4 4/4] ARM: bcm4760: Add restart hook
Arnd Bergmann
arnd at arndb.de
Sun Sep 15 16:10:36 EDT 2013
On Sunday 15 September 2013, Domenico Andreoli wrote:
> issue here is that there is already a proper watchdog driver, the sp805.
>
> so I guess now the task shifts to adding restart hook support to it, right?
Yes, correct.
There is an interesting question however: we have to deal with the same driver
being used in some machines that need to use it as the only way to reset the
system, as well as the case where you actually want to use some other method.
An easy way to handle this would be a boolean device tree property that
tells the driver whether or not to register, but we might want to
come up with a more sophisticated way to have multiple reset handlers
registered an prioritized so we try the "best" one first. Maybe someone
else has an opinion on this. If not, just do the property.
Arnd
More information about the linux-arm-kernel
mailing list