mbox series

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

Message ID 20250326-da9052-fixes-v3-0-a38a560fef0e@gmail.com
Headers show
Series Various fixes for the da9052 watchdog | expand

Message

Marcus Folkesson March 26, 2025, 8:29 a.m. UTC
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@gmail.com>
---
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@gmail.com

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

---
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,