The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH v2 1/2] devicetree: watchdog: add binding for Sigma Designs SMP8642 watchdog
@ 2015-11-18 17:55 Mans Rullgard
  2015-11-18 17:55 ` [PATCH v2 2/2] watchdog: add support for Sigma Designs SMP86xx/SMP87xx Mans Rullgard
  2015-11-18 21:16 ` [PATCH v2 1/2] devicetree: watchdog: add binding for Sigma Designs SMP8642 watchdog Rob Herring
  0 siblings, 2 replies; 5+ messages in thread
From: Mans Rullgard @ 2015-11-18 17:55 UTC (permalink / raw)
  To: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
	devicetree, linux-kernel

This adds a binding for the watchdog in Sigma Designs SMP8642 and
similar devices.

Signed-off-by: Mans Rullgard <mans@mansr.com>
---
Changes:
- add timeout-sec property
---
 .../devicetree/bindings/watchdog/sigma,smp8642-wdt.txt | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/watchdog/sigma,smp8642-wdt.txt

diff --git a/Documentation/devicetree/bindings/watchdog/sigma,smp8642-wdt.txt b/Documentation/devicetree/bindings/watchdog/sigma,smp8642-wdt.txt
new file mode 100644
index 0000000..5b7ec2c
--- /dev/null
+++ b/Documentation/devicetree/bindings/watchdog/sigma,smp8642-wdt.txt
@@ -0,0 +1,18 @@
+Sigma Designs SMP86xx/SMP87xx watchdog
+
+Required properties:
+- compatible: Should be "sigma,smp8642-wdt"
+- reg: Specifies the physical address region
+- clocks: Should be a phandle to the clock
+
+Optional properties:
+- timeout-sec: watchdog timeout in seconds
+
+Example:
+
+watchdog@1fd00 {
+	compatible = "sigma,smp8642-wdt";
+	reg = <0x1fd00 8>;
+	clocks = <&xtal_in_clk>;
+	timeout-sec = <30>;
+};
-- 
2.6.3


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

end of thread, other threads:[~2015-11-19 16:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-18 17:55 [PATCH v2 1/2] devicetree: watchdog: add binding for Sigma Designs SMP8642 watchdog Mans Rullgard
2015-11-18 17:55 ` [PATCH v2 2/2] watchdog: add support for Sigma Designs SMP86xx/SMP87xx Mans Rullgard
2015-11-19 16:25   ` Guenter Roeck
2015-11-19 16:30     ` Måns Rullgård
2015-11-18 21:16 ` [PATCH v2 1/2] devicetree: watchdog: add binding for Sigma Designs SMP8642 watchdog Rob Herring

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