Re: [RFC PATCH 1/5] watchdog: Add API to trigger reboots
From: Maxime Ripard
Date: Wed May 07 2014 - 15:15:22 EST
On Wed, May 07, 2014 at 06:01:31AM -0700, Guenter Roeck wrote:
> >This means we could have multiple watchdogs in the system, where we
> >really want a specific one (maybe designated through a DT property) to
> >do the reset. This isn't compatible with the "last watchdog that
> >registers a handler wins the system reset" logic in your patch.
> >
>
> Wouldn't the order in which watchdogs are configured in dt define that ?
> The last one wins.
It doesn't work, because the DT nodes are usually ordered by physical
address.
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
Attachment:
signature.asc
Description: Digital signature