Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1727168
| Path | csiph.com!weretis.net!feeder6.news.weretis.net!feeder5.news.weretis.net!feeder4.news.weretis.net!news.unit0.net!news.panservice.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Eric Long <eric.long@spreadtrum.com> |
| Newsgroups | linux.kernel |
| Subject | [PATCH 1/2] dt-bindings: watchdog: Add Spreadtrum watchdog documentation |
| Date | Wed, 06 Sep 2017 07:50:01 +0200 |
| Message-ID | <umBnP-5iy-3@gated-at.bofh.it> (permalink) |
| X-Original-To | Wim Van Sebroeck <wim@iguana.be>, Rob Herring <robh+dt@kernel.org>, Mark Rutland <mark.rutland@arm.com> |
| X-Mailer | git-send-email 2.12.2 |
| MIME-Version | 1.0 |
| Content-Type | text/plain |
| X-Mail | SHSQR01.spreadtrum.com v865fuDb060531 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 35 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | <baolin.wang@linaro.org>, Guenter Roeck <linux@roeck-us.net>, <linux-watchdog@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <eric.long@spreadtrum.com> |
| X-Original-Date | Wed, 6 Sep 2017 13:38:19 +0800 |
| X-Original-Message-ID | <f3daa0f85dda0672c4b057e7f37c690365652e39.1504580649.git.eric.long@spreadtrum.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1727168 |
Show key headers only | View raw
This patch adds the documentation for Spreadtrum watchdog driver.
Signed-off-by: Eric Long <eric.long@spreadtrum.com>
---
.../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
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH 1/2] dt-bindings: watchdog: Add Spreadtrum watchdog documentation Eric Long <eric.long@spreadtrum.com> - 2017-09-06 07:50 +0200
csiph-web