[PATCH v4 0/3] Update ASPEED WDT bootstatus

From: Chin-Ting Kuo
Date: Fri Nov 01 2024 - 08:12:22 EST


This patch series inherits the patch submitted by Peter.
https://patchwork.kernel.org/project/linux-watchdog/patch/20240430143114.1323686-2-peteryin.openbmc@xxxxxxxxx/
Besides, the boot status updated in the WDT driver
obeys the rules proposed in the OpenBMC.
https://github.com/openbmc/docs/blob/master/designs/bmc-reboot-cause-update.md#proposed-design
Moreover, WDT SW restart mechanism is supported by HW
since AST2600 platform and is also included in this
patch series.

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.

Chin-Ting Kuo (3):
watchdog: aspeed: Update bootstatus handling
watchdog: aspeed: Change aspeed_wdt_config struct name to
aspeed_wdt_data
watchdog: aspeed: Update restart implementations

drivers/watchdog/aspeed_wdt.c | 170 ++++++++++++++++++++++++++++------
1 file changed, 144 insertions(+), 26 deletions(-)

--
2.34.1