[PATCH v3] watchdog: sunxi_wdt: Allow watchdog to remain enabled after probe
Regis Dargent
regis.dargent at gmail.com
Tue Feb 25 06:36:37 PST 2025
Hi,
V3 of the patch allowing sunxi watchdog to remain enabled after probe.
This 3rd version is mainly about code cleanup.
Best regards,
Regis
Jernej Škrabec:
I wouldn't add checks on CONFIG_WATCHDOG_HANDLE_BOOT_ENABLED here.
My understanding is that this config is already managed in the generic
watchdog part, as long as the WDOG_HW_RUNNING bit matches the actual
state of the HW watchdog timer.
I only saw one reference in a HW driver, stm32_iwdg, where they cannot
read the watchdog state, so they start it and set the WDOG_HW_RUNNING
bit so that both match.
More information about the linux-arm-kernel
mailing list