[PATCH v5 0/1] Update ASPEED WDT bootstatus

From: Chin-Ting Kuo
Date: Wed Jan 01 2025 - 02:06:37 EST


This patch series inherits the patch submitted by Peter.
https://patchwork.kernel.org/project/linux-watchdog/patch/20240430143114.1323686-2-peteryin.openbmc@xxxxxxxxx/
Bootstatus mechanism is reconstructed to the latest
architecture and for all existing ASPEED BMC platforms.

Changes in v2:
- Support SW restart on AST2600 by default without
adding any dts property.

Changes in v3:
- Get watchdog controller index by dividing register
base offset by register size.

Changes in v4:
- Update the commit message for updating bootstatus
handling patch.
- Rename aspeed_wdt_config struct to aspeed_wdt_data.
- Create restart callback function.

Changes in v5:
- Remove SW reset mechanism since there is no consensus
about bootstatus for SW reset currently.
- Correct the method for clearing reset event flag on
AST2400 and AST2500 legacy platforms.

Chin-Ting Kuo (1):
watchdog: aspeed: Update bootstatus handling

drivers/watchdog/aspeed_wdt.c | 85 ++++++++++++++++++++++++++++++++++-
1 file changed, 83 insertions(+), 2 deletions(-)

--
2.34.1