[PATCH v5 3/5] watchdog: da9062: reset board on watchdog timeout

Adam Thomson Adam.Thomson.Opensource at diasemi.com
Mon Dec 6 12:16:05 PST 2021


On 06 December 2021 06:48, Andrej Picej wrote:

> Implement a method to change watchdog timeout configuration based on DT
> binding ("dlg,wdt-sd"). There is a possibility to change the behaviour
> of watchdog reset. Setting WATCHDOG_SD bit enables SHUTDOWN mode, and
> clearing it enables POWERDOWN mode on watchdog timeout.
> 
> If no DT binding is specified the WATCHDOG_SD bit stays in default
> configuration, not breaking behaviour of devices which might depend on
> default fuse configuration.
> 
> Note: This patch requires that the config register CONFIG_I is
> configured as writable in the da9061/2 multi function device.
> 
> Signed-off-by: Andrej Picej <andrej.picej at norik.com>
> ---

Reviewed-by: Adam Thomson <Adam.Thomson.Opensource at diasemi.com>



More information about the linux-arm-kernel mailing list