public inbox for linux-watchdog@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v6 1/2] dt-bindings: watchdog: Add Spreadtrum watchdog documentation
@ 2017-11-06  2:46 Eric Long
  2017-11-06  2:46 ` [PATCH v6 2/2] watchdog: Add Spreadtrum watchdog driver Eric Long
  2017-11-10 21:00 ` [PATCH v6 1/2] dt-bindings: watchdog: Add Spreadtrum watchdog documentation Guenter Roeck
  0 siblings, 2 replies; 5+ messages in thread
From: Eric Long @ 2017-11-06  2:46 UTC (permalink / raw)
  To: Wim Van Sebroeck, Rob Herring, Mark Rutland
  Cc: baolin.wang, Guenter Roeck, linux-watchdog, devicetree,
	linux-kernel, eric.long

This patch adds the documentation for Spreadtrum watchdog driver.

Signed-off-by: Eric Long <eric.long@spreadtrum.com>
Acked-by: Rob Herring <robh@kernel.org>
---
Changes since v5:
- No updates.

Changes since v4:
- No updates.

Changes since v3:
- No updates.

Changes since v2:
- Add acked tag from Rob.

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

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

end of thread, other threads:[~2017-11-15  7:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-06  2:46 [PATCH v6 1/2] dt-bindings: watchdog: Add Spreadtrum watchdog documentation Eric Long
2017-11-06  2:46 ` [PATCH v6 2/2] watchdog: Add Spreadtrum watchdog driver Eric Long
2017-11-10 21:00   ` Guenter Roeck
2017-11-15  7:48     ` Eric Long
2017-11-10 21:00 ` [PATCH v6 1/2] dt-bindings: watchdog: Add Spreadtrum watchdog documentation Guenter Roeck

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