diff mbox series

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

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

Commit Message

Baoyou Xie Jan. 16, 2017, 10:56 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

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Philipp Zabel Jan. 16, 2017, 2:38 p.m. UTC | #1
On Mon, 2017-01-16 at 18:56 +0800, Baoyou Xie wrote:
> Add the zx2967 reset controller driver as maintained by ARM ZTE

> architecture maintainers, as they're parts of the core IP.

> 

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

> ---

>  MAINTAINERS | 2 ++

>  1 file changed, 2 insertions(+)

> 

> diff --git a/MAINTAINERS b/MAINTAINERS

> index 2793808..08f8155 100644

> --- a/MAINTAINERS

> +++ b/MAINTAINERS

> @@ -1980,10 +1980,12 @@ L:	linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)

>  S:	Maintained

>  F:	arch/arm/mach-zx/

>  F:	drivers/clk/zte/

> +F:	drivers/reset/reset-zx2967.c

>  F:	drivers/soc/zte/

>  F:	drivers/thermal/zx*

>  F:	Documentation/devicetree/bindings/arm/zte.txt

>  F:	Documentation/devicetree/bindings/clock/zx296702-clk.txt

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

>  F:	Documentation/devicetree/bindings/soc/zte/

>  F:	Documentation/devicetree/bindings/thermal/zx*

>  F:	include/dt-bindings/soc/zx*.h


This patch doesn't apply on top of reset/next. I can rebase it, but it
will cause a trivial merge conflict with the soc/thermal additions.

regards
Philipp

--
To unsubscribe from this list: send the line "unsubscribe devicetree" 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/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>;
+	};