[PATCH 0/3] watchdog: honour hw_margin_ms property
Stefan Roese
sr at denx.de
Wed Apr 15 11:38:33 CEST 2020
On 13.03.20 17:04, Rasmus Villemoes wrote:
> Some watchdogs must be reset more often than the once-per-second
> ratelimit used by the generic watchdog_reset function in
> wdt-uclass.c. There's precedent (from the gpio-wdt driver in linux)
> for using a property called hw_margin_ms to let the device tree tell
> the driver how often the device needs resetting. So use that
> generically. No change in default behaviour.
>
> On top of https://patchwork.ozlabs.org/patch/1242772/ .
>
> Stefan, something like this? That at least solves half my problems and
> might be useful to others as well. Then I'll have to figure out the
> time-stands-still problem in some other way.
>
> Rasmus Villemoes (3):
> watchdog: remove stale ifndef CONFIG_WATCHDOG_TIMEOUT_MSECS from wdt.h
> watchdog: move initr_watchdog() to wdt-uclass.c
> watchdog: honour hw_margin_ms DT property
>
> drivers/watchdog/wdt-uclass.c | 43 ++++++++++++++++++++++++++++++++++-
> include/wdt.h | 38 +------------------------------
> 2 files changed, 43 insertions(+), 38 deletions(-)
>
Series applied to u-boot-marvell/master
Thanks,
Stefan
More information about the U-Boot
mailing list