devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 2/4] dt-bindings: watchdog: Document armada-37xx-wdt binding
       [not found] <20180924110654.7329-1-marek.behun@nic.cz>
@ 2018-09-24 11:06 ` Marek Behún
  2018-09-27 18:42   ` Rob Herring
  2018-09-29 18:24   ` [v4,2/4] " Guenter Roeck
  0 siblings, 2 replies; 3+ messages in thread
From: Marek Behún @ 2018-09-24 11:06 UTC (permalink / raw)
  To: linux-watchdog
  Cc: wim, Guenter Roeck, Gregory CLEMENT, Marek Behún,
	Rob Herring, devicetree

This adds device tree binding documentation for the CPU watchdog found
on Armada 37xx SOCs (EspressoBin, Turris Mox).

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: devicetree@vger.kernel.org
---
 .../bindings/watchdog/armada-37xx-wdt.txt          | 23 ++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/watchdog/armada-37xx-wdt.txt

diff --git a/Documentation/devicetree/bindings/watchdog/armada-37xx-wdt.txt b/Documentation/devicetree/bindings/watchdog/armada-37xx-wdt.txt
new file mode 100644
index 000000000000..a8d00c31a1d8
--- /dev/null
+++ b/Documentation/devicetree/bindings/watchdog/armada-37xx-wdt.txt
@@ -0,0 +1,23 @@
+* Armada 37xx CPU Watchdog Timer Controller
+
+Required properties:
+- compatible : must be "marvell,armada-3700-wdt"
+- reg : base physical address of the controller and length of memory mapped
+	region.
+- clocks : the clock feeding the watchdog timer. See clock-bindings.txt
+- marvell,system-controller : reference to syscon node for the CPU Miscellaneous
+	Registers
+
+Example:
+
+	cpu_misc: system-controller@d000 {
+		compatible = "marvell,armada-3700-cpu-misc", "syscon";
+		reg = <0xd000 0x1000>;
+	};
+
+	wdt: watchdog@8300 {
+		compatible = "marvell,armada-3700-wdt";
+		reg = <0x8300 0x40>;
+		marvell,system-controller = <&cpu_misc>;
+		clocks = <&xtalclk>;
+	};
-- 
2.16.4

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

* Re: [PATCH v4 2/4] dt-bindings: watchdog: Document armada-37xx-wdt binding
  2018-09-24 11:06 ` [PATCH v4 2/4] dt-bindings: watchdog: Document armada-37xx-wdt binding Marek Behún
@ 2018-09-27 18:42   ` Rob Herring
  2018-09-29 18:24   ` [v4,2/4] " Guenter Roeck
  1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring @ 2018-09-27 18:42 UTC (permalink / raw)
  To: Marek Behún
  Cc: linux-watchdog, wim, Guenter Roeck, Gregory CLEMENT, devicetree

On Mon, 24 Sep 2018 13:06:52 +0200, =?UTF-8?q?Marek=20Beh=C3=BAn?= wrote:
> This adds device tree binding documentation for the CPU watchdog found
> on Armada 37xx SOCs (EspressoBin, Turris Mox).
> 
> Signed-off-by: Marek Beh�n <marek.behun@nic.cz>
> Cc: Rob Herring <robh+dt@kernel.org>
> Cc: devicetree@vger.kernel.org
> ---
>  .../bindings/watchdog/armada-37xx-wdt.txt          | 23 ++++++++++++++++++++++
>  1 file changed, 23 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/watchdog/armada-37xx-wdt.txt
> 

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

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

* Re: [v4,2/4] dt-bindings: watchdog: Document armada-37xx-wdt binding
  2018-09-24 11:06 ` [PATCH v4 2/4] dt-bindings: watchdog: Document armada-37xx-wdt binding Marek Behún
  2018-09-27 18:42   ` Rob Herring
@ 2018-09-29 18:24   ` Guenter Roeck
  1 sibling, 0 replies; 3+ messages in thread
From: Guenter Roeck @ 2018-09-29 18:24 UTC (permalink / raw)
  To: Marek Behún
  Cc: linux-watchdog, wim, Gregory CLEMENT, Rob Herring, devicetree

On Mon, Sep 24, 2018 at 01:06:52PM +0200, Marek Beh�n wrote:
> This adds device tree binding documentation for the CPU watchdog found
> on Armada 37xx SOCs (EspressoBin, Turris Mox).
> 
> Signed-off-by: Marek Beh�n <marek.behun@nic.cz>
> Cc: Rob Herring <robh+dt@kernel.org>
> Cc: devicetree@vger.kernel.org
> Reviewed-by: Rob Herring <robh@kernel.org>

Reviewed-by: Guenter Roeck <linux@roeck-us.net>

> ---
>  .../bindings/watchdog/armada-37xx-wdt.txt          | 23 ++++++++++++++++++++++
>  1 file changed, 23 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/watchdog/armada-37xx-wdt.txt
> 
> diff --git a/Documentation/devicetree/bindings/watchdog/armada-37xx-wdt.txt b/Documentation/devicetree/bindings/watchdog/armada-37xx-wdt.txt
> new file mode 100644
> index 000000000000..a8d00c31a1d8
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/watchdog/armada-37xx-wdt.txt
> @@ -0,0 +1,23 @@
> +* Armada 37xx CPU Watchdog Timer Controller
> +
> +Required properties:
> +- compatible : must be "marvell,armada-3700-wdt"
> +- reg : base physical address of the controller and length of memory mapped
> +	region.
> +- clocks : the clock feeding the watchdog timer. See clock-bindings.txt
> +- marvell,system-controller : reference to syscon node for the CPU Miscellaneous
> +	Registers
> +
> +Example:
> +
> +	cpu_misc: system-controller@d000 {
> +		compatible = "marvell,armada-3700-cpu-misc", "syscon";
> +		reg = <0xd000 0x1000>;
> +	};
> +
> +	wdt: watchdog@8300 {
> +		compatible = "marvell,armada-3700-wdt";
> +		reg = <0x8300 0x40>;
> +		marvell,system-controller = <&cpu_misc>;
> +		clocks = <&xtalclk>;
> +	};

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

end of thread, other threads:[~2018-09-29 18:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20180924110654.7329-1-marek.behun@nic.cz>
2018-09-24 11:06 ` [PATCH v4 2/4] dt-bindings: watchdog: Document armada-37xx-wdt binding Marek Behún
2018-09-27 18:42   ` Rob Herring
2018-09-29 18:24   ` [v4,2/4] " Guenter Roeck

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).