ARM: dts: Group omap3 CM_ICLKEN3_CORE clocks
authorTony Lindgren <tony@atomide.com>
Fri, 29 Apr 2022 06:57:36 +0000 (09:57 +0300)
committerTony Lindgren <tony@atomide.com>
Tue, 3 May 2022 06:15:42 +0000 (09:15 +0300)
The clksel related registers on omap3 cause unique_unit_address and
node_name_chars_strict warnings with the W=1 or W=2 make flags enabled.

With the clock drivers updated, we can now avoid most of these warnings
by grouping the TI component clocks using the TI clksel binding, and
with the use of clock-output-names property to avoid non-standard node
names for the clocks.

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/omap34xx-omap36xx-clocks.dtsi
arch/arm/boot/dts/omap36xx-am35xx-omap3430es2plus-clocks.dtsi

index eca6b2513f41deed68a7c6130304adb9fba9d6de..b6316be894ce0266434e0b1b9b22a8c5ad31d491 100644 (file)
                        ti,bit-shift = <23>;
                };
        };
-       mad2d_ick: mad2d_ick@a18 {
-               #clock-cells = <0>;
-               compatible = "ti,omap3-interface-clock";
-               clocks = <&l3_ick>;
-               reg = <0x0a18>;
-               ti,bit-shift = <3>;
+
+       /* CM_ICLKEN3_CORE */
+       clock@a18 {
+               compatible = "ti,clksel";
+               reg = <0xa18>;
+               #clock-cells = <2>;
+               #address-cells = <0>;
+
+               mad2d_ick: clock-mad2d-ick {
+                       #clock-cells = <0>;
+                       compatible = "ti,omap3-interface-clock";
+                       clock-output-names = "mad2d_ick";
+                       clocks = <&l3_ick>;
+                       ti,bit-shift = <3>;
+               };
        };
 
 };
index f8583bb667967e4d7f87fab2bd83dfcbd865136a..1c41530cc16ac700e09bcda460d1f48b1c2c4b83 100644 (file)
                ti,bit-shift = <2>;
        };
 
-       usbtll_ick: usbtll_ick@a18 {
-               #clock-cells = <0>;
-               compatible = "ti,omap3-interface-clock";
-               clocks = <&core_l4_ick>;
-               reg = <0x0a18>;
-               ti,bit-shift = <2>;
+       /* CM_ICLKEN3_CORE */
+       clock@a18 {
+               compatible = "ti,clksel";
+               reg = <0xa18>;
+               #clock-cells = <2>;
+               #address-cells = <0>;
+
+               usbtll_ick: clock-usbtll-ick {
+                       #clock-cells = <0>;
+                       compatible = "ti,omap3-interface-clock";
+                       clock-output-names = "usbtll_ick";
+                       clocks = <&core_l4_ick>;
+                       ti,bit-shift = <2>;
+               };
        };
 
        clock@a10 {