summaryrefslogtreecommitdiff
path: root/doc/device-tree-bindings/watchdog/gpio-wdt.txt
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-07-23 03:48:28 +0300
committerTom Rini <trini@konsulko.com>2022-07-23 03:48:28 +0300
commitfd41c8f7a3b00ffcdcfab6d78b006a9e2a5c1873 (patch)
tree82a4f97577a1211386b162b61370e5eff437de6f /doc/device-tree-bindings/watchdog/gpio-wdt.txt
parent2996b6405e9522082b53ded0392438830ad6c43a (diff)
parent1fc45d6483d77b9fbe84e546f4e6afe665ba827a (diff)
downloadu-boot-fd41c8f7a3b00ffcdcfab6d78b006a9e2a5c1873.tar.xz
Merge https://source.denx.de/u-boot/custodians/u-boot-watchdog
- octeontx_wdt: Add MIPS Octeon support (Stefan) - watchdog: add amlogic watchdog support (Philippe) - watchdog: add pulse support to gpio watchdog driver (Paul)
Diffstat (limited to 'doc/device-tree-bindings/watchdog/gpio-wdt.txt')
-rw-r--r--doc/device-tree-bindings/watchdog/gpio-wdt.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/device-tree-bindings/watchdog/gpio-wdt.txt b/doc/device-tree-bindings/watchdog/gpio-wdt.txt
index c9a8559a3e..746c2c081e 100644
--- a/doc/device-tree-bindings/watchdog/gpio-wdt.txt
+++ b/doc/device-tree-bindings/watchdog/gpio-wdt.txt
@@ -5,7 +5,12 @@ Describes a simple watchdog timer which is reset by toggling a gpio.
Required properties:
- compatible: Must be "linux,wdt-gpio".
-- gpios: gpio to toggle when wdt driver reset method is called.
+- gpios: From common gpio binding; gpio connection to WDT reset pin.
+- hw_algo: The algorithm used by the driver. Should be one of the
+ following values:
+ - toggle: Toggle from high-to-low or low-to-high when resetting the watchdog.
+ - level: Maintain a constant high/low level, and trigger a short pulse when
+ resetting the watchdog. Active level is determined by the GPIO flags.
- always-running: Boolean property indicating that the watchdog cannot
be disabled. At present, U-Boot only supports this kind of GPIO
watchdog.
@@ -15,5 +20,6 @@ Example:
gpio-wdt {
gpios = <&gpio0 1 0>;
compatible = "linux,wdt-gpio";
+ hw_algo = "toggle";
always-running;
};