drivers: watchdog: wdt-uclass.c: add a property u-boot, noautostart
authorPhilippe Reynes <philippe.reynes@softathome.com>
Thu, 10 Feb 2022 17:17:54 +0000 (18:17 +0100)
committerStefan Roese <sr@denx.de>
Tue, 8 Mar 2022 08:08:00 +0000 (09:08 +0100)
commita12492ebbc88dab74b1d6e27d8194a56eb1fbbff
tree13b85a7a1f03e5e8a37a8225f7c9ac65e77bdf2e
parenta12366a807a8fbba67b6da6e842e8296af60aba0
drivers: watchdog: wdt-uclass.c: add a property u-boot, noautostart

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@softathome.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/watchdog/wdt-uclass.c