ARM: dts: Add generic ti,sysc compatible in addition to the custom ones
authorTony Lindgren <tony@atomide.com>
Thu, 14 Dec 2017 00:36:47 +0000 (16:36 -0800)
committerTony Lindgren <tony@atomide.com>
Thu, 21 Dec 2017 15:28:54 +0000 (07:28 -0800)
Otherwise we cannot use generic OF_DEV_AUXDATA match without listing
all the compatibles separately for OF_DEV_AUXDATA. Let's also update the
binding accordingly.

Let's also fix omap4.dtsi to use "ti,sysc-omap4-sr" compatible as we
have documented in the binding. This was not noticed earlier as we're
still probing SmartReflex driver with platform data.

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Documentation/devicetree/bindings/bus/ti-sysc.txt
arch/arm/boot/dts/dra7.dtsi
arch/arm/boot/dts/omap4.dtsi

index 48bbb0c..2957a9a 100644 (file)
@@ -19,6 +19,7 @@ Required standard properties:
 
 - compatible   shall be one of the following generic types:
 
+               "ti,sysc"
                "ti,sysc-omap2"
                "ti,sysc-omap4"
                "ti,sysc-omap4-simple"
index ac92162..5d3c937 100644 (file)
                };
 
                target-module@4a0dd000 {
-                       compatible = "ti,sysc-omap4-sr";
+                       compatible = "ti,sysc-omap4-sr", "ti,sysc";
                        ti,hwmods = "smartreflex_core";
                        reg = <0x4a0dd000 0x4>,
                              <0x4a0dd008 0x4>;
                };
 
                target-module@4a0d9000 {
-                       compatible = "ti,sysc-omap4-sr";
+                       compatible = "ti,sysc-omap4-sr", "ti,sysc";
                        ti,hwmods = "smartreflex_mpu";
                        reg = <0x4a0d9000 0x4>,
                              <0x4a0d9008 0x4>;
index 1dc5a76..0d7013e 100644 (file)
                };
 
                target-module@48076000 {
-                       compatible = "ti,sysc-omap4";
+                       compatible = "ti,sysc-omap4", "ti,sysc";
                        ti,hwmods = "slimbus2";
                        reg = <0x48076000 0x4>,
                              <0x48076010 0x4>;
                };
 
                target-module@4a0db000 {
-                       compatible = "ti,sysc-sr";
+                       compatible = "ti,sysc-omap4-sr", "ti,sysc";
                        ti,hwmods = "smartreflex_iva";
                        reg = <0x4a0db000 0x4>,
                              <0x4a0db008 0x4>;
                };
 
                target-module@4a0dd000 {
-                       compatible = "ti,sysc-sr";
+                       compatible = "ti,sysc-omap4-sr", "ti,sysc";
                        ti,hwmods = "smartreflex_core";
                        reg = <0x4a0dd000 0x4>,
                              <0x4a0dd008 0x4>;
                };
 
                target-module@4a0d9000 {
-                       compatible = "ti,sysc-sr";
+                       compatible = "ti,sysc-omap4-sr", "ti,sysc";
                        ti,hwmods = "smartreflex_mpu";
                        reg = <0x4a0d9000 0x4>,
                              <0x4a0d9008 0x4>;
                };
 
                target-module@52000000 {
-                       compatible = "ti,sysc-omap4";
+                       compatible = "ti,sysc-omap4", "ti,sysc";
                        ti,hwmods = "iss";
                        reg = <0x52000000 0x4>,
                              <0x52000010 0x4>;
                };
 
                target-module@40128000 {
-                       compatible = "ti,sysc-mcasp";
+                       compatible = "ti,sysc-mcasp", "ti,sysc";
                        ti,hwmods = "mcasp";
                        reg = <0x40128004 0x4>;
                        reg-names = "sysc";
                };
 
                target-module@4012c000 {
-                       compatible = "ti,sysc-omap4";
+                       compatible = "ti,sysc-omap4", "ti,sysc";
                        ti,hwmods = "slimbus1";
                        reg = <0x4012c000 0x4>,
                              <0x4012c010 0x4>;
                };
 
                target-module@401f1000 {
-                       compatible = "ti,sysc-omap4";
+                       compatible = "ti,sysc-omap4", "ti,sysc";
                        ti,hwmods = "aess";
                        reg = <0x401f1000 0x4>,
                              <0x401f1010 0x4>;
                };
 
                target-module@4a10a000 {
-                       compatible = "ti,sysc-omap4";
+                       compatible = "ti,sysc-omap4", "ti,sysc";
                        ti,hwmods = "fdif";
                        reg = <0x4a10a000 0x4>,
                              <0x4a10a010 0x4>;
                };
 
                target-module@56000000 {
-                       compatible = "ti,sysc-omap4";
+                       compatible = "ti,sysc-omap4", "ti,sysc";
                        ti,hwmods = "gpu";
                        reg = <0x5601fc00 0x4>,
                              <0x5601fc10 0x4>;