[PATCH v3 0/4] Various fixes for the da9052 watchdog

From: Marcus Folkesson
Date: Wed Mar 26 2025 - 04:30:38 EST


Add support for the nowayout and timeout module parameters and treat
them in a standard way.

Respect twdmin, without this the watchdog timer will immediately assert
TWD_ERROR and power down to reset mode.

Do not stop the watchdog during probe. If the watchdog is enabled in the
bootloader, it should propably supposed to stay on.

Signed-off-by: Marcus Folkesson <marcus.folkesson@xxxxxxxxx>
---
Changes in v3:
- Set WDOG_HW_RUNNING if the watchdog is left running.
- Link to v2: https://lore.kernel.org/r/20250325-da9052-fixes-v2-0-bfac3f07b4a4@xxxxxxxxx

Changes in v2:
- Fix warning found by kernel test robot
- Link to v1: https://lore.kernel.org/r/20250313-da9052-fixes-v1-0-379dc87af953@xxxxxxxxx

---
Marcus Folkesson (4):
watchdog: da9052_wdt: add support for nowayout
watchdog: da9052_wdt: use timeout value from external inputs
watchdog: da9052_wdt: do not disable wdt during probe
watchdog: da9052_wdt: respect TWDMIN

drivers/watchdog/da9052_wdt.c | 27 +++++++++++++++++++++++----
1 file changed, 23 insertions(+), 4 deletions(-)
---
base-commit: 0fed89a961ea851945d23cc35beb59d6e56c0964
change-id: 20250313-da9052-fixes-186674b34993

Best regards,
--
Marcus Folkesson <marcus.folkesson@xxxxxxxxx>