[PATCH] drivers: watchdog: wdt-uclass.c: add a property u-boot, noautostart
Simon Glass
sjg at chromium.org
Sat Feb 26 19:37:17 CET 2022
On Thu, 10 Feb 2022 at 10:18, Philippe Reynes
<philippe.reynes at softathome.com> wrote:
>
> Since commit 492ee6b8d0e7 ("watchdog: wdt-uclass.c: handle all DM
> watchdogs in watchdog_reset()"), all the watchdog are started when
> the config WATCHDOG_AUTOSTART.
>
> To avoid a binary choice none/all, a property u-boot,noautostart
> may be added in the watchdog node of the u-boot device tree to not
> autostart this watchdog.
>
> Signed-off-by: Philippe Reynes <philippe.reynes at softathome.com>
> ---
> drivers/watchdog/wdt-uclass.c | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
Reviewed-by: Simon Glass <sjg at chromium.org>
But please add to the binding file in U-Boot
More information about the U-Boot
mailing list