dt-bindings: cp110: introduce a new binding
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Tue, 30 May 2017 15:47:08 +0000 (17:47 +0200)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Mon, 19 Jun 2017 15:15:34 +0000 (17:15 +0200)
This patch updates the documentation according to the change made in the
patch "pinctrl: dt-bindings: cp110: introduce a new binding".

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Documentation/devicetree/bindings/arm/marvell/cp110-system-controller0.txt

index dbd0a38ca5808d3b40ec98e163698a489a55beaf..e97cc2d73e2e6cdce5f1cdcba02f4261e349620e 100644 (file)
@@ -7,6 +7,13 @@ Controller 0 and System Controller 1. This Device Tree binding allows
 to describe the first system controller, which provides registers to
 configure various aspects of the SoC.
 
+For the top level node:
+ - compatible: must be: "syscon", "simple-mfd";
+ - reg: register area of the CP110 system controller 0
+
+Clocks:
+-------
+
 The Device Tree node representing this System Controller 0 provides a
 number of clocks:
 
@@ -56,14 +63,17 @@ The following clocks are available:
 Required properties:
 
  - compatible: must be:
-     "marvell,cp110-system-controller0", "syscon";
- - reg: register area of the CP110 system controller 0
+     "marvell,cp110-clock"
  - #clock-cells: must be set to 2
 
 Example:
 
        cpm_syscon0: system-controller@440000 {
-               compatible = "marvell,cp110-system-controller0", "syscon";
+               compatible = "syscon", "simple-mfd";
                reg = <0x440000 0x1000>;
-               #clock-cells = <2>;
+
+               cpm_clk: clock {
+                       compatible = "marvell,cp110-clock";
+                       #clock-cells = <2>;
+               };
        };