[PATCH] doc: device-tree-bindings: watchdog: document common properties

Philippe Reynes philippe.reynes at softathome.com
Wed Mar 9 14:56:19 CET 2022


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

Signed-off-by: Philippe Reynes <philippe.reynes at softathome.com>
---
 doc/device-tree-bindings/watchdog/common.txt | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 doc/device-tree-bindings/watchdog/common.txt

diff --git a/doc/device-tree-bindings/watchdog/common.txt b/doc/device-tree-bindings/watchdog/common.txt
new file mode 100644
index 0000000000..9db6dd6146
--- /dev/null
+++ b/doc/device-tree-bindings/watchdog/common.txt
@@ -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.
-- 
2.17.1



More information about the U-Boot mailing list