[PATCH 6/8] Documentations: devicetree: bindings: document watchdog-priority

Ahmad Fatoum a.fatoum at pengutronix.de
Mon Oct 17 00:09:58 PDT 2022


We parse watchdog-priority for every OF-enabled watchdog device, but
failed to document it. Remedy this.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 .../devicetree/bindings/watchdog/watchdog.rst          | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/watchdog/watchdog.rst

diff --git a/Documentation/devicetree/bindings/watchdog/watchdog.rst b/Documentation/devicetree/bindings/watchdog/watchdog.rst
new file mode 100644
index 000000000000..415a4520f45e
--- /dev/null
+++ b/Documentation/devicetree/bindings/watchdog/watchdog.rst
@@ -0,0 +1,10 @@
+Watchdogs
+=========
+
+In addition to the upstream bindings, following properties are understood:
+
+Optional properties:
+
+- ``watchdog-priority`` : Overrides the priority set by the driver. Normally,
+  the watchdog device with the biggest reach should reset the system.
+  See :ref:`_system_reset` for more information.
-- 
2.30.2




More information about the barebox mailing list