public inbox for linux-watchdog@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 1/2] Add binding documentation for Zodiac Watchdog Timer
@ 2015-11-24 13:04 Martyn Welch
  2015-11-24 13:04 ` [PATCH v2 2/2] Zodiac Aerospace RAVE Switch Watchdog Processor Driver Martyn Welch
  2015-11-25  0:05 ` [PATCH v2 1/2] Add binding documentation for Zodiac Watchdog Timer Rob Herring
  0 siblings, 2 replies; 3+ messages in thread
From: Martyn Welch @ 2015-11-24 13:04 UTC (permalink / raw)
  To: Wim Van Sebroeck
  Cc: linux-watchdog, Martyn Welch, Rob Herring, Pawel Moll,
	Mark Rutland, Ian Campbell, Kumar Gala, devicetree

This patchs adds documentation for the binding of the Zodiac RAVE
Switch Watchdog Processor. This is an i2c based watchdog.

Cc: Rob Herring <robh+dt@kernel.org>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Kumar Gala <galak@codeaurora.org>
Cc: devicetree@vger.kernel.org
Signed-off-by: Martyn Welch <martyn.welch@collabora.co.uk>
---

v2: Addition of optional properties.

 .../devicetree/bindings/watchdog/ziirave-wdt.txt      | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/watchdog/ziirave-wdt.txt

diff --git a/Documentation/devicetree/bindings/watchdog/ziirave-wdt.txt b/Documentation/devicetree/bindings/watchdog/ziirave-wdt.txt
new file mode 100644
index 0000000..069cc2a
--- /dev/null
+++ b/Documentation/devicetree/bindings/watchdog/ziirave-wdt.txt
@@ -0,0 +1,19 @@
+Zodiac RAVE Watchdog Timer
+
+Required properties:
+- compatible: must be "zii,rave-wdt"
+- reg: i2c slave address of device, usually 0x38
+
+Optional Properties:
+- timeout-sec: Watchdog timeout value in seconds.
+- reset-duration-msec: Duration of the pulse generated when the watchdog times
+  out. Value in milliseconds.
+
+Example:
+
+	watchdog@38 {
+		compatible = "zii,rave-wdt";
+		reg = <0x38>;
+		timeout-sec = <30>;
+		reset-duration-msec = <30>;
+	};
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-11-25  0:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-24 13:04 [PATCH v2 1/2] Add binding documentation for Zodiac Watchdog Timer Martyn Welch
2015-11-24 13:04 ` [PATCH v2 2/2] Zodiac Aerospace RAVE Switch Watchdog Processor Driver Martyn Welch
2015-11-25  0:05 ` [PATCH v2 1/2] Add binding documentation for Zodiac Watchdog Timer Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox