Thread (16 messages) flat view 16 messages, 3 authors, 2021-12-01

Re: [PATCH v2 3/4] dt-bindings: watchdog: da9062: add watchdog timeout mode

From: Guenter Roeck <linux@roeck-us.net>
Date: 2021-11-30 14:33:02
Also in: linux-arm-kernel, linux-watchdog, lkml

On 11/30/21 5:42 AM, Andrej Picej wrote:
quoted hunk ↗ jump to hunk
Document the watchdog timeout mode property. If this property is used
the user can select what happens on watchdog timeout. Set this property
to 1 to enable SHUTDOWN (the device resets), set it to 0 and the device
will go to POWERDOWN on watchdog timeout.

Signed-off-by: Andrej Picej <redacted>
---
  Documentation/devicetree/bindings/watchdog/da9062-wdt.txt | 3 +++
  1 file changed, 3 insertions(+)
diff --git a/Documentation/devicetree/bindings/watchdog/da9062-wdt.txt b/Documentation/devicetree/bindings/watchdog/da9062-wdt.txt
index 950e4fba8dbc..e3e6e56cee21 100644
--- a/Documentation/devicetree/bindings/watchdog/da9062-wdt.txt
+++ b/Documentation/devicetree/bindings/watchdog/da9062-wdt.txt
@@ -10,6 +10,9 @@ Optional properties:
  - dlg,use-sw-pm: Add this property to disable the watchdog during suspend.
  	Only use this option if you can't use the watchdog automatic suspend
  	function during a suspend (see register CONTROL_B).
+- dlg,wdt-sd: Set what happens on watchdog timeout. If this bit is set the
+	watchdog timeout triggers SHUTDOWN, if cleared the watchdog triggers
+	POWERDOWN. Can be 0 or 1.
  
Why does it need a value ? Why not just bool ?

Guenter
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help