dt-bindings: sram: sunxi: Introduce new A10 binding for system-control
authorPaul Kocialkowski <paul.kocialkowski@bootlin.com>
Tue, 10 Jul 2018 08:00:55 +0000 (10:00 +0200)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 11 Jul 2018 08:34:23 +0000 (10:34 +0200)
Following-up on the introduction of a new binding for the A64, this
introduces a system-control binding for the A10 as a replacement of
the sram-controller binding.

This change is motivated by consistency with the Allwinner literature,
that mentions system control over SRAM controller. Moreover, the system
control block is sometimes used for more than SRAM (e.g. for muxing
related to the ethernet PHY).

Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Documentation/devicetree/bindings/sram/sunxi-sram.txt

index 9ef40e2..d7dd1a3 100644 (file)
@@ -10,7 +10,8 @@ Controller Node
 
 Required properties:
 - compatible : should be:
-    - "allwinner,sun4i-a10-sram-controller"
+    - "allwinner,sun4i-a10-sram-controller" (deprecated)
+    - "allwinner,sun4i-a10-system-control"
     - "allwinner,sun50i-a64-sram-controller" (deprecated)
     - "allwinner,sun50i-a64-system-control"
 - reg : sram controller register offset + length
@@ -48,8 +49,8 @@ This valid values for this argument are:
 
 Example
 -------
-sram-controller@1c00000 {
-       compatible = "allwinner,sun4i-a10-sram-controller";
+system-control@1c00000 {
+       compatible = "allwinner,sun4i-a10-system-control";
        reg = <0x01c00000 0x30>;
        #address-cells = <1>;
        #size-cells = <1>;