[PATCH 1/4] dt-bindings: watchdog: aspeed: Add property for WDT SW reset
From: Chin-Ting Kuo <chin-ting_kuo@aspeedtech.com>
Date: 2024-10-14 02:08:09
Also in:
linux-arm-kernel, linux-devicetree, linux-watchdog, lkml
Hi Guenter, Thanks for the review.
-----Original Message----- From: Guenter Roeck <redacted> On Behalf Of Guenter Roeck Sent: Tuesday, October 8, 2024 3:55 AM Subject: Re: [PATCH 1/4] dt-bindings: watchdog: aspeed: Add property for WDT SW reset On 10/7/24 10:59, Rob Herring wrote:quoted
On Mon, Oct 07, 2024 at 02:34:05PM +0800, Chin-Ting Kuo wrote:quoted
Add "aspeed,restart-sw" property to distinguish normal WDT reset from system restart triggered by SW consciously. Signed-off-by: Chin-Ting Kuo <chin-ting_kuo@aspeedtech.com> --- .../bindings/watchdog/aspeed,ast2400-wdt.yaml | 11+++++++++++quoted
quoted
1 file changed, 11 insertions(+) diff --git a/Documentation/devicetree/bindings/watchdog/aspeed,ast2400-wdt.yaml b/Documentation/devicetree/bindings/watchdog/aspeed,ast2400-wdt.yaml index be78a9865584..6cc3604c295a 100644 --- a/Documentation/devicetree/bindings/watchdog/aspeed,ast2400-wdt.yaml+++ b/Documentation/devicetree/bindings/watchdog/aspeed,ast2400-wdt.y +++ aml@@ -95,6 +95,17 @@ properties: array with the first word defined using theAST2600_WDT_RESET1_* macros,quoted
quoted
and the second word defined using the AST2600_WDT_RESET2_*macros.quoted
quoted
+ aspeed,restart-sw: + $ref: /schemas/types.yaml#/definitions/flag + description: > + Normally, ASPEED WDT reset may occur when system hangs orrebootquoted
quoted
+ triggered by SW consciously. However, system doesn't knowwhether thequoted
quoted
+ restart is triggered by SW consciously since the reset event flag is + the same as normal WDT timeout reset. With this property, SW can + restart the system immediately and directly without wait for WDT + timeout occurs. The reset event flag is also different from thenormalquoted
quoted
+ WDT reset. This property is only supported since AST2600 platform.Why can't this be implicit based on the ast2600 compatible string?Same question here.
Yes, this property will be implicit based on the ast2600 compatible string in the next patch series.
Guenter
Chin-Ting