Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1730830 > unrolled thread

[PATCH v2 1/2] dt-bindings: watchdog: Add Spreadtrum watchdog documentation

Started byEric Long <eric.long@spreadtrum.com>
First post2017-09-12 13:50 +0200
Last post2017-09-19 04:40 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH v2 1/2] dt-bindings: watchdog: Add Spreadtrum watchdog documentation Eric Long <eric.long@spreadtrum.com> - 2017-09-12 13:50 +0200
    Re: [PATCH v2 1/2] dt-bindings: watchdog: Add Spreadtrum watchdog  documentation Rob Herring <robh@kernel.org> - 2017-09-19 00:40 +0200
    Re: [PATCH v2 1/2] dt-bindings: watchdog: Add Spreadtrum watchdog  documentation Eric Long <eric.long@spreadtrum.com> - 2017-09-19 04:40 +0200

#1730830 — [PATCH v2 1/2] dt-bindings: watchdog: Add Spreadtrum watchdog documentation

FromEric Long <eric.long@spreadtrum.com>
Date2017-09-12 13:50 +0200
Subject[PATCH v2 1/2] dt-bindings: watchdog: Add Spreadtrum watchdog documentation
Message-ID<uoRRv-IN-3@gated-at.bofh.it>
This patch adds the documentation for Spreadtrum watchdog driver.

Signed-off-by: Eric Long <eric.long@spreadtrum.com>
---
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

[toc] | [next] | [standalone]


#1734523 — Re: [PATCH v2 1/2] dt-bindings: watchdog: Add Spreadtrum watchdog documentation

FromRob Herring <robh@kernel.org>
Date2017-09-19 00:40 +0200
SubjectRe: [PATCH v2 1/2] dt-bindings: watchdog: Add Spreadtrum watchdog documentation
Message-ID<urcRQ-47U-13@gated-at.bofh.it>
In reply to#1730830
On Tue, Sep 12, 2017 at 07:40:08PM +0800, Eric Long wrote:
> This patch adds the documentation for Spreadtrum watchdog driver.
> 
> Signed-off-by: Eric Long <eric.long@spreadtrum.com>
> ---
> 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

Acked-by: Rob Herring <robh@kernel.org>

[toc] | [prev] | [next] | [standalone]


#1734606 — Re: [PATCH v2 1/2] dt-bindings: watchdog: Add Spreadtrum watchdog documentation

FromEric Long <eric.long@spreadtrum.com>
Date2017-09-19 04:40 +0200
SubjectRe: [PATCH v2 1/2] dt-bindings: watchdog: Add Spreadtrum watchdog documentation
Message-ID<urgC5-6EL-5@gated-at.bofh.it>
In reply to#1730830
On Mon, Sep 18, 2017 at 05:31:11PM -0500, Rob Herring wrote:
> On Tue, Sep 12, 2017 at 07:40:08PM +0800, Eric Long wrote:
> > This patch adds the documentation for Spreadtrum watchdog driver.
> > 
> > Signed-off-by: Eric Long <eric.long@spreadtrum.com>
> > ---
> > 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
> 
> Acked-by: Rob Herring <robh@kernel.org>

Thanks Rob!

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web