[PATCH 0/3] watchdog: omap: Preserve OMAP watchdog across boot to detect faulty boots
From: Diogo Ivo
Date: Fri Sep 11 2026 - 05:33:07 EST
Allow the OMAP watchdog to survive being stopped on kernel initialization
so it can detect a faulty boot in cases where the bootloader leaves it
running and the watchdog driver picks it up during kernel init.
- Patch 1 removes a duplicate omap_wdt_start() call left behind by
cd004d8299f1 ("watchdog: Fix OMAP watchdog early handling"). This is
unrelated to the main goal of the series and can be picked up
independently.
- Patch 2 adds support for reading the watchdog boot status. Probe now
checks whether the watchdog is already running and takes it over instead
of blindly stopping it based on early_enable alone. This introduces a
regression possibility, explained in detail in the patch's message.
- Patch 3 marks the OMAP4 watchdog node ti,no-reset-on-init so the
ti-sysc driver stops resetting it. A detailed explaination of why is
also provided in the commit message of the patch.
This series has been tested on a platform based on the VAR-SOM-OM44 from
Variscite, running a TI OMAP4460 SoC.
Signed-off-by: Diogo Ivo <diogo.ivo@xxxxxxxxxxx>
---
Diogo Ivo (3):
watchdog: omap: Remove duplicate start() with early_init
watchdog: omap: Add support for reading boot status
arm: dts: ti: omap: Prevent watchdog from being reset on kernel boot
arch/arm/boot/dts/ti/omap/omap4-l4.dtsi | 1 +
drivers/watchdog/omap_wdt.c | 22 ++++++++++++++++++----
2 files changed, 19 insertions(+), 4 deletions(-)
---
base-commit: 83d343e6246c83e694548fec49856819124d32c0
change-id: 20260910-omap4-wdt_boot-472b73d4af6f
Best regards,
--
Diogo Ivo <diogo.ivo@xxxxxxxxxxx>