diff mbox

[v4,1/3] watchdog: bindings: dw_wdt: add reset lines

Message ID 77954d7b338db9956e15298064f21c028c2070f3.1495443015.git-series.s.trumtrar@pengutronix.de (mailing list archive)
State New, archived
Headers show

Commit Message

Steffen Trumtrar May 22, 2017, 8:51 a.m. UTC
Document the reset lines holding the watchdog core in reset.

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Cc: Wim Van Sebroeck <wim@iguana.be>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: linux-watchdog@vger.kernel.org
Cc: devicetree@vger.kernel.org
Acked-by: Rob Herring <robh@kernel.org>
---
 Documentation/devicetree/bindings/watchdog/dw_wdt.txt | 3 +++
 1 file changed, 3 insertions(+)

Comments

Guenter Roeck May 25, 2017, 12:57 a.m. UTC | #1
On 05/22/2017 01:51 AM, Steffen Trumtrar wrote:
> Document the reset lines holding the watchdog core in reset.
> 
> Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
> Cc: Wim Van Sebroeck <wim@iguana.be>
> Cc: Rob Herring <robh+dt@kernel.org>
> Cc: Mark Rutland <mark.rutland@arm.com>
> Cc: linux-watchdog@vger.kernel.org
> Cc: devicetree@vger.kernel.org
> Acked-by: Rob Herring <robh@kernel.org>

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

> ---
>   Documentation/devicetree/bindings/watchdog/dw_wdt.txt | 3 +++
>   1 file changed, 3 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/watchdog/dw_wdt.txt b/Documentation/devicetree/bindings/watchdog/dw_wdt.txt
> index 08e16f684f2d..eb0914420c7c 100644
> --- a/Documentation/devicetree/bindings/watchdog/dw_wdt.txt
> +++ b/Documentation/devicetree/bindings/watchdog/dw_wdt.txt
> @@ -10,6 +10,8 @@ Required Properties:
>   Optional Properties:
>   
>   - interrupts	: The interrupt used for the watchdog timeout warning.
> +- resets	: phandle pointing to the system reset controller with
> +		line index for the watchdog.
>   
>   Example:
>   
> @@ -18,4 +20,5 @@ Example:
>   		reg = <0xffd02000 0x1000>;
>   		interrupts = <0 171 4>;
>   		clocks = <&per_base_clk>;
> +		resets = <&rst WDT0_RESET>;
>   	};
>
diff mbox

Patch

diff --git a/Documentation/devicetree/bindings/watchdog/dw_wdt.txt b/Documentation/devicetree/bindings/watchdog/dw_wdt.txt
index 08e16f684f2d..eb0914420c7c 100644
--- a/Documentation/devicetree/bindings/watchdog/dw_wdt.txt
+++ b/Documentation/devicetree/bindings/watchdog/dw_wdt.txt
@@ -10,6 +10,8 @@  Required Properties:
 Optional Properties:
 
 - interrupts	: The interrupt used for the watchdog timeout warning.
+- resets	: phandle pointing to the system reset controller with
+		line index for the watchdog.
 
 Example:
 
@@ -18,4 +20,5 @@  Example:
 		reg = <0xffd02000 0x1000>;
 		interrupts = <0 171 4>;
 		clocks = <&per_base_clk>;
+		resets = <&rst WDT0_RESET>;
 	};