diff mbox series

[v3,1/3] dt: bindings: add documentation for zx2967 family reset controller

Message ID 1484623377-16208-1-git-send-email-baoyou.xie@linaro.org
State Accepted
Commit e76a96effb23d838cf0f50e5b8f728cdcfcaa52e
Headers show
Series [v3,1/3] dt: bindings: add documentation for zx2967 family reset controller | expand

Commit Message

Baoyou Xie Jan. 17, 2017, 3:22 a.m. UTC
This patch adds dt-binding documentation for zx2967 family
reset controller.

Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>

Reviewed-by: Shawn Guo <shawnguo@kernel.org>

---
 .../devicetree/bindings/reset/zte,zx2967-reset.txt   | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/reset/zte,zx2967-reset.txt

-- 
2.7.4


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

Comments

Philipp Zabel Jan. 17, 2017, 8:42 a.m. UTC | #1
On Tue, 2017-01-17 at 11:22 +0800, Baoyou Xie wrote:
> This patch adds dt-binding documentation for zx2967 family

> reset controller.

> 

> Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>

> Reviewed-by: Shawn Guo <shawnguo@kernel.org>


Thanks, I've applied all three patches with Shawn's Reviewed-by: on the
driver patch.

regards
Philipp

> ---

>  .../devicetree/bindings/reset/zte,zx2967-reset.txt   | 20 ++++++++++++++++++++

>  1 file changed, 20 insertions(+)

>  create mode 100644 Documentation/devicetree/bindings/reset/zte,zx2967-reset.txt

> 

> diff --git a/Documentation/devicetree/bindings/reset/zte,zx2967-reset.txt b/Documentation/devicetree/bindings/reset/zte,zx2967-reset.txt

> new file mode 100644

> index 0000000..b015508

> --- /dev/null

> +++ b/Documentation/devicetree/bindings/reset/zte,zx2967-reset.txt

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

> +ZTE zx2967 SoCs Reset Controller

> +=======================================

> +

> +Please also refer to reset.txt in this directory for common reset

> +controller binding usage.

> +

> +Required properties:

> +- compatible: should be one of the following.

> +	* zte,zx296718-reset

> +- reg: physical base address of the controller and length of memory mapped

> +	region.

> +- #reset-cells: must be 1.

> +

> +example:

> +

> +	reset: reset-controller@1461060 {

> +		compatible = "zte,zx296718-reset";

> +		reg = <0x01461060 0x8>;

> +		#reset-cells = <1>;

> +	};




_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/reset/zte,zx2967-reset.txt b/Documentation/devicetree/bindings/reset/zte,zx2967-reset.txt
new file mode 100644
index 0000000..b015508
--- /dev/null
+++ b/Documentation/devicetree/bindings/reset/zte,zx2967-reset.txt
@@ -0,0 +1,20 @@ 
+ZTE zx2967 SoCs Reset Controller
+=======================================
+
+Please also refer to reset.txt in this directory for common reset
+controller binding usage.
+
+Required properties:
+- compatible: should be one of the following.
+	* zte,zx296718-reset
+- reg: physical base address of the controller and length of memory mapped
+	region.
+- #reset-cells: must be 1.
+
+example:
+
+	reset: reset-controller@1461060 {
+		compatible = "zte,zx296718-reset";
+		reg = <0x01461060 0x8>;
+		#reset-cells = <1>;
+	};