[PATCH v2 3/4] watchdog: da9062: Add support for dlg,wdt-sd property
Guenter Roeck
linux at roeck-us.net
Tue Oct 27 08:27:07 PDT 2026
On Thu, Sep 24, 2026 at 08:50:43AM +0200, Primoz Fiser wrote:
> From: Andrej Picej <andrej.picej at norik.com>
>
> Implement a method to change watchdog timeout configuration based on the
> "dlg,wdt-sd" devicetree property. Setting the WATCHDOG_SD bit enables
> SHUTDOWN mode, and clearing it enables POWERDOWN mode on watchdog
> timeout.
>
> If no devicetree property is specified, the WATCHDOG_SD bit stays in the
> default configuration, not breaking behaviour of devices which might
> depend on default fuse configuration.
>
> Signed-off-by: Andrej Picej <andrej.picej at norik.com>
> Tested-by: Christoph Niedermaier <cniedermaier at dh-electronics.com>
> Reviewed-by: Adam Thomson <Adam.Thomson.Opensource at diasemi.com>
> Acked-by: Guenter Roeck <linux at roeck-us.net>
> Reviewed-by: Guenter Roeck <linux at roeck-us.net>
> Signed-off-by: Primoz Fiser <primoz.fiser at norik.com>
Applied.
Note that this depends on the mfd patches making CONFIG_I writeable. Those
patches have been accepted but are (as of this writing) not yet upstream.
Assumption is that both this and the CONFIG_I patches will be applied
with the 7.5 merge window.
Thanks,
Guenter
More information about the linux-arm-kernel
mailing list