devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 1/2] dt-bindings: watchdog: Add Spreadtrum watchdog documentation
@ 2017-09-12 11:40 Eric Long
  2017-09-12 11:40 ` [PATCH v2 2/2] watchdog: Add Spreadtrum watchdog driver Eric Long
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Eric Long @ 2017-09-12 11:40 UTC (permalink / raw)
  To: Wim Van Sebroeck, Rob Herring, Mark Rutland
  Cc: baolin.wang-QSEj5FYQhm4dnm+yROfE0A, Guenter Roeck,
	linux-watchdog-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	eric.long-lxIno14LUO0EEoCn2XhGlw

This patch adds the documentation for Spreadtrum watchdog driver.

Signed-off-by: Eric Long <eric.long-lxIno14LUO0EEoCn2XhGlw@public.gmane.org>
---
changes since v1:
 - No updates.
---
 .../devicetree/bindings/watchdog/sprd-wdt.txt         | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/watchdog/sprd-wdt.txt

diff --git a/Documentation/devicetree/bindings/watchdog/sprd-wdt.txt b/Documentation/devicetree/bindings/watchdog/sprd-wdt.txt
new file mode 100644
index 0000000..aeaf3e0
--- /dev/null
+++ b/Documentation/devicetree/bindings/watchdog/sprd-wdt.txt
@@ -0,0 +1,19 @@
+Spreadtrum SoCs Watchdog timer
+
+Required properties:
+- compatible : Should be "sprd,sp9860-wdt".
+- reg : Specifies base physical address and size of the registers.
+- interrupts : Exactly one interrupt specifier.
+- timeout-sec : Contain the default watchdog timeout in seconds.
+- clock-names : Contain the input clock names.
+- clocks : Phandles to input clocks.
+
+Example:
+	watchdog: watchdog@40310000 {
+		compatible = "sprd,sp9860-wdt";
+		reg = <0 0x40310000 0 0x1000>;
+		interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
+		timeout-sec = <12>;
+		clock-names = "enable", "rtc_enable";
+		clocks = <&clk_aon_apb_gates1 8>, <&clk_aon_apb_rtc_gates 9>;
+	};
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-watchdog" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2017-10-25 11:34 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-12 11:40 [PATCH v2 1/2] dt-bindings: watchdog: Add Spreadtrum watchdog documentation Eric Long
2017-09-12 11:40 ` [PATCH v2 2/2] watchdog: Add Spreadtrum watchdog driver Eric Long
2017-10-11  8:00   ` Eric Long
     [not found]   ` <48f1e10c508b4c174f2c41a6cef84011b65ff9b5.1505216059.git.eric.long-lxIno14LUO0EEoCn2XhGlw@public.gmane.org>
2017-10-22 16:07     ` [v2,2/2] " Guenter Roeck
     [not found]       ` <20171022160729.GA26629-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org>
2017-10-25 10:29         ` Eric Long
     [not found]           ` <20171025102933.GA30611-lxIno14LUO0EEoCn2XhGlw@public.gmane.org>
2017-10-25 11:13             ` Guenter Roeck
     [not found]               ` <431ebf6b-c272-a875-4dd5-8bd7ccc0072f-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org>
2017-10-25 11:34                 ` Baolin Wang
     [not found] ` <f3daa0f85dda0672c4b057e7f37c690365652e39.1505216059.git.eric.long-lxIno14LUO0EEoCn2XhGlw@public.gmane.org>
2017-09-18 22:31   ` [PATCH v2 1/2] dt-bindings: watchdog: Add Spreadtrum watchdog documentation Rob Herring
     [not found] ` <201709190143.v8J1husi078600@TPSPAM01.spreadtrum.com>
     [not found]   ` <201709190143.v8J1husi078600-sL8b8dyCy1zpLeLZpxNaYL018wFwQdjl@public.gmane.org>
2017-09-19  2:32     ` Eric Long

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).