diff mbox

[v6,1/5] dt-bindings: zte: documents zx2967 power domain driver bindings

Message ID 1483530494-14177-1-git-send-email-baoyou.xie@linaro.org
State New
Headers show

Commit Message

Baoyou Xie Jan. 4, 2017, 11:48 a.m. UTC
This patch documents devicetree tree bindings for the ZTE zx2967
power domain driver.

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

---
 Documentation/devicetree/bindings/soc/zte/pd-2967xx.txt | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/soc/zte/pd-2967xx.txt

-- 
2.7.4

Comments

Rob Herring Jan. 4, 2017, 2:54 p.m. UTC | #1
On Wed, Jan 04, 2017 at 07:48:10PM +0800, Baoyou Xie wrote:
> This patch documents devicetree tree bindings for the ZTE zx2967

> power domain driver.

> 

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

> ---

>  Documentation/devicetree/bindings/soc/zte/pd-2967xx.txt | 17 +++++++++++++++++

>  1 file changed, 17 insertions(+)

>  create mode 100644 Documentation/devicetree/bindings/soc/zte/pd-2967xx.txt

> 

> diff --git a/Documentation/devicetree/bindings/soc/zte/pd-2967xx.txt b/Documentation/devicetree/bindings/soc/zte/pd-2967xx.txt

> new file mode 100644

> index 0000000..1476318

> --- /dev/null

> +++ b/Documentation/devicetree/bindings/soc/zte/pd-2967xx.txt

> @@ -0,0 +1,17 @@

> +* ZTE 2967 SoC Power Domains

> +

> +2967 processors include support for multiple power domains which are used

> +to gate power to one or more peripherals on the processor.

> +

> +Required Properties:

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

> +    * zte,zx296718-pcu - for zx296718 board's power domain.


board? I'd expect this is for an SoC?

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

> +    region.


#power-domain-cells needed?

> +

> +Example:

> +

> +	pcu_domain: pcu@0x00117000 {


pcu@117000

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

> +		reg = <0x00117000 0x1000>;

> +	};

> -- 

> 2.7.4

>
diff mbox

Patch

diff --git a/Documentation/devicetree/bindings/soc/zte/pd-2967xx.txt b/Documentation/devicetree/bindings/soc/zte/pd-2967xx.txt
new file mode 100644
index 0000000..1476318
--- /dev/null
+++ b/Documentation/devicetree/bindings/soc/zte/pd-2967xx.txt
@@ -0,0 +1,17 @@ 
+* ZTE 2967 SoC Power Domains
+
+2967 processors include support for multiple power domains which are used
+to gate power to one or more peripherals on the processor.
+
+Required Properties:
+- compatible: should be one of the following.
+    * zte,zx296718-pcu - for zx296718 board's power domain.
+- reg: physical base address of the controller and length of memory mapped
+    region.
+
+Example:
+
+	pcu_domain: pcu@0x00117000 {
+		compatible = "zte,zx296718-pcu";
+		reg = <0x00117000 0x1000>;
+	};