]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
dt-bindings: arm: zte: Move sysctrl bindings to their own doc
authorRob Herring <robh@kernel.org>
Tue, 15 May 2018 13:58:29 +0000 (08:58 -0500)
committerRob Herring <robh@kernel.org>
Thu, 11 Oct 2018 19:52:01 +0000 (14:52 -0500)
In preparation to convert board-level bindings to json-schema, move
various misc SoC bindings out to their own file.

Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Jun Nie <jun.nie@linaro.org>
Cc: Baoyou Xie <baoyou.xie@linaro.org>
Cc: devicetree@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Acked-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/arm/zte,sysctrl.txt [new file with mode: 0644]
Documentation/devicetree/bindings/arm/zte.txt

diff --git a/Documentation/devicetree/bindings/arm/zte,sysctrl.txt b/Documentation/devicetree/bindings/arm/zte,sysctrl.txt
new file mode 100644 (file)
index 0000000..7e66b7f
--- /dev/null
@@ -0,0 +1,30 @@
+ZTE sysctrl Registers
+
+Registers for 'zte,zx296702' SoC:
+
+System management required properties:
+      - compatible = "zte,sysctrl"
+
+Low power management required properties:
+      - compatible = "zte,zx296702-pcu"
+
+Bus matrix required properties:
+      - compatible = "zte,zx-bus-matrix"
+
+
+Registers for 'zte,zx296718' SoC:
+
+System management required properties:
+      - compatible = "zte,zx296718-aon-sysctrl"
+      - compatible = "zte,zx296718-sysctrl"
+
+Example:
+aon_sysctrl: aon-sysctrl@116000 {
+       compatible = "zte,zx296718-aon-sysctrl", "syscon";
+       reg = <0x116000 0x1000>;
+};
+
+sysctrl: sysctrl@1463000 {
+       compatible = "zte,zx296718-sysctrl", "syscon";
+       reg = <0x1463000 0x1000>;
+};
index 83369785d29c7ff7f0bbbc8988f9dfa9cad59c8f..340612794a37ee862772fbfad61d9eff393d9c14 100644 (file)
@@ -1,20 +1,10 @@
 ZTE platforms device tree bindings
----------------------------------------
 
+---------------------------------------
 -  ZX296702 board:
     Required root node properties:
       - compatible = "zte,zx296702-ad1", "zte,zx296702"
 
-System management required properties:
-      - compatible = "zte,sysctrl"
-
-Low power management required properties:
-      - compatible = "zte,zx296702-pcu"
-
-Bus matrix required properties:
-      - compatible = "zte,zx-bus-matrix"
-
-
 ---------------------------------------
 -  ZX296718 SoC:
     Required root node properties:
@@ -22,18 +12,3 @@ Bus matrix required properties:
 
 ZX296718 EVB board:
       - "zte,zx296718-evb"
-
-System management required properties:
-      - compatible = "zte,zx296718-aon-sysctrl"
-      - compatible = "zte,zx296718-sysctrl"
-
-Example:
-aon_sysctrl: aon-sysctrl@116000 {
-       compatible = "zte,zx296718-aon-sysctrl", "syscon";
-       reg = <0x116000 0x1000>;
-};
-
-sysctrl: sysctrl@1463000 {
-       compatible = "zte,zx296718-sysctrl", "syscon";
-       reg = <0x1463000 0x1000>;
-};