Skip to contentSkip to conversation

doc: device-tree-bindings: watchdog: document common properties

PATCH In review Philippe Reynes 2 participants 3 messages Mar 9, 2022 – Apr 22, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: device-tree-bindings: watchdog: document common properties

Adds simple documentation about common properties for watchdog in the device tree.

---
 doc/device-tree-bindings/watchdog/common.txt | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 doc/device-tree-bindings/watchdog/common.txt
doc/device-tree-bindings/watchdog/common.txt new file +12 -0
new file mode 100644
index 0000000000..9db6dd6146
@@ -0,0 +1,12 @@
+Common watchdog properties.
+
+Optional properties:
+- timeout-sec : Timeout of the watchdog in seconds
+                If this timeout is not defined, the value of WATCHDOG_TIMEOUT_MSECS will
+                be used instead.
+- hw_margin_ms : Period used to reset the watchdog in ms
+                 If this period is not defined, the default value is 1000.
+- u-boot,noautostart : Specify that this watchdog should not autostart
+                       When the config option WATCHDOG_AUTOSTART is set, all enabled
+                       watchdogs are started. This property allows specifying that this
+                       watchdog should NOT be started.
Signature · 1 line
2.17.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Philippe Reynes

Adds simple documentation about common properties for watchdog in the device tree.

Thanks,
Stefan

Quoted 13 lines
---
  doc/device-tree-bindings/watchdog/common.txt | 12 ++++++++++++
  1 file changed, 12 insertions(+)

create mode 100644 doc/device-tree-bindings/watchdog/common.txt

doc/device-tree-bindings/watchdog/common.txt new file +2 -0
new file mode 100644
index 0000000000..9db6dd6146
@@ -0,0 +1,12 @@
+Common watchdog properties.
+

doc/device-tree-bindings/watchdog/common.txt line 12

Quoted 10 lines
doc/device-tree-bindings/watchdog/common.txt new file +10 -0
+Optional properties:
+- timeout-sec : Timeout of the watchdog in seconds
+                If this timeout is not defined, the value of WATCHDOG_TIMEOUT_MSECS will
+                be used instead.
+- hw_margin_ms : Period used to reset the watchdog in ms
+                 If this period is not defined, the default value is 1000.
+- u-boot,noautostart : Specify that this watchdog should not autostart
+                       When the config option WATCHDOG_AUTOSTART is set, all enabled
+                       watchdogs are started. This property allows specifying that this
+                       watchdog should NOT be started.

Viele Grüße,
Stefan Roese

Signature · 3 lines
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: [email protected]
#2 lore raw
In reply to Philippe Reynes
Quoted 4 lines · Philippe Reynes

Adds simple documentation about common properties for watchdog in the device tree.

Applied to u-boot-watchdog/master

Thanks,
Stefan

Quoted 13 lines
---
  doc/device-tree-bindings/watchdog/common.txt | 12 ++++++++++++
  1 file changed, 12 insertions(+)

create mode 100644 doc/device-tree-bindings/watchdog/common.txt

doc/device-tree-bindings/watchdog/common.txt new file +2 -0
new file mode 100644
index 0000000000..9db6dd6146
@@ -0,0 +1,12 @@
+Common watchdog properties.
+

doc/device-tree-bindings/watchdog/common.txt line 12

Quoted 10 lines
doc/device-tree-bindings/watchdog/common.txt new file +10 -0
+Optional properties:
+- timeout-sec : Timeout of the watchdog in seconds
+                If this timeout is not defined, the value of WATCHDOG_TIMEOUT_MSECS will
+                be used instead.
+- hw_margin_ms : Period used to reset the watchdog in ms
+                 If this period is not defined, the default value is 1000.
+- u-boot,noautostart : Specify that this watchdog should not autostart
+                       When the config option WATCHDOG_AUTOSTART is set, all enabled
+                       watchdogs are started. This property allows specifying that this
+                       watchdog should NOT be started.

Viele Grüße,
Stefan Roese

Signature · 3 lines
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: [email protected]