From: Eric Long <eric.long@spreadtrum.com>
To: Wim Van Sebroeck <wim@iguana.be>,
Rob Herring <robh+dt@kernel.org>,
Mark Rutland <mark.rutland@arm.com>
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>
Subject: [PATCH v5 1/2] dt-bindings: watchdog: Add Spreadtrum watchdog documentation
Date: Fri, 3 Nov 2017 19:18:27 +0800 [thread overview]
Message-ID: <e2910f77b936a2ece8fe2e0e467ade8d443e3fea.1509707598.git.eric.long@spreadtrum.com> (raw)
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 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
next reply other threads:[~2017-11-03 11:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-03 11:18 Eric Long [this message]
2017-11-03 11:18 ` [PATCH v5 2/2] watchdog: Add Spreadtrum watchdog driver Eric Long
2017-11-03 13:48 ` [v5,2/2] " Guenter Roeck
2017-11-06 2:06 ` Eric Long
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e2910f77b936a2ece8fe2e0e467ade8d443e3fea.1509707598.git.eric.long@spreadtrum.com \
--to=eric.long@spreadtrum.com \
--cc=baolin.wang@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-watchdog@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=mark.rutland@arm.com \
--cc=robh+dt@kernel.org \
--cc=wim@iguana.be \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®