This patch series introduces watchdog timer support for the Nuvoton MA35D1
SoC platform.
The MA35D1 watchdog timer hardware provides a programmable countdown timer
capable of triggering a system reset upon timeout expiration or generating
an interrupt to wake up the system from low-power states.
Key features supported in this driver:
- Standard watchdog operations (start, stop, ping, set_timeout).
- Boot status detection to identify watchdog reset events (WDIOF_CARDRESET).
- Power management support including suspend/resume and wakeup functionality.
Series breakdown:
- Patch 1: Add DT binding documentation for Nuvoton MA35D1 watchdog.
- Patch 2: Add the watchdog driver implementation for MA35D1.
- Patch 3: Add the watchdog node in the MA35D1 SoC DeviceTree file.
Testing:
- Tested on the Nuvoton MA35D1 development board using standard watchdog
test utilities (e.g., watchdog-test from tools/testing/selftests/watchdog).
Zi-Yu Chen (3):
dt-bindings: watchdog: Add MA35D1 Watchdog binding
watchdog: Add Nuvoton MA35D1 watchdog driver support
arm64: dts: nuvoton: Add WDT node for MA35D1 SoC
.../bindings/watchdog/nuvoton,ma35d1-wdt.yaml | 55 +++
arch/arm64/boot/dts/nuvoton/ma35d1.dtsi | 7 +
drivers/watchdog/Kconfig | 11 +
drivers/watchdog/Makefile | 1 +
drivers/watchdog/ma35d1_wdt.c | 357 ++++++++++++++++++
5 files changed, 431 insertions(+)
create mode 100644 Documentation/devicetree/bindings/watchdog/nuvoton,ma35d1-wdt.yaml
create mode 100644 drivers/watchdog/ma35d1_wdt.c
--
2.34.1