diff mbox series

[V4,1/3] dt-bindings: watchdog: add description for UniPhier WDT controller

Message ID 1497426825-25450-2-git-send-email-hayashibara.keiji@socionext.com
State Accepted
Commit e75bf0ea77e9778e9a1975eb9b38698babcbde63
Headers show
Series [V4,1/3] dt-bindings: watchdog: add description for UniPhier WDT controller | expand

Commit Message

Keiji Hayashibara June 14, 2017, 7:53 a.m. UTC
Add uniphier-wdt dt-bindings documentation.

Signed-off-by: Keiji Hayashibara <hayashibara.keiji@socionext.com>

---
 .../devicetree/bindings/watchdog/uniphier-wdt.txt    | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/watchdog/uniphier-wdt.txt

-- 
2.7.4

Comments

Guenter Roeck June 20, 2017, 8:55 p.m. UTC | #1
On Wed, Jun 14, 2017 at 04:53:43PM +0900, Keiji Hayashibara wrote:
> Add uniphier-wdt dt-bindings documentation.

> 

> Signed-off-by: Keiji Hayashibara <hayashibara.keiji@socionext.com>


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


> ---

>  .../devicetree/bindings/watchdog/uniphier-wdt.txt    | 20 ++++++++++++++++++++

>  1 file changed, 20 insertions(+)

>  create mode 100644 Documentation/devicetree/bindings/watchdog/uniphier-wdt.txt

> 

> diff --git a/Documentation/devicetree/bindings/watchdog/uniphier-wdt.txt b/Documentation/devicetree/bindings/watchdog/uniphier-wdt.txt

> new file mode 100644

> index 0000000..bf63375

> --- /dev/null

> +++ b/Documentation/devicetree/bindings/watchdog/uniphier-wdt.txt

> @@ -0,0 +1,20 @@

> +UniPhier watchdog timer controller

> +

> +This UniPhier watchdog timer controller must be under sysctrl node.

> +

> +Required properties:

> +- compatible: should be "socionext,uniphier-wdt"

> +

> +Example:

> +

> +	sysctrl@61840000 {

> +		compatible = "socionext,uniphier-ld11-sysctrl",

> +			     "simple-mfd", "syscon";

> +		reg = <0x61840000 0x4000>;

> +

> +		watchdog {

> +			compatible = "socionext,uniphier-wdt";

> +		}

> +

> +		other nodes ...

> +	};

> -- 

> 2.7.4

> 

> --

> To unsubscribe from this list: send the line "unsubscribe linux-watchdog" in

> the body of a message to majordomo@vger.kernel.org

> More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/watchdog/uniphier-wdt.txt b/Documentation/devicetree/bindings/watchdog/uniphier-wdt.txt
new file mode 100644
index 0000000..bf63375
--- /dev/null
+++ b/Documentation/devicetree/bindings/watchdog/uniphier-wdt.txt
@@ -0,0 +1,20 @@ 
+UniPhier watchdog timer controller
+
+This UniPhier watchdog timer controller must be under sysctrl node.
+
+Required properties:
+- compatible: should be "socionext,uniphier-wdt"
+
+Example:
+
+	sysctrl@61840000 {
+		compatible = "socionext,uniphier-ld11-sysctrl",
+			     "simple-mfd", "syscon";
+		reg = <0x61840000 0x4000>;
+
+		watchdog {
+			compatible = "socionext,uniphier-wdt";
+		}
+
+		other nodes ...
+	};