ARM: dts: sunxi: Fix OPP arrays
authorMaxime Ripard <maxime@cerno.tech>
Wed, 1 Sep 2021 09:18:41 +0000 (11:18 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Mon, 13 Sep 2021 07:04:30 +0000 (09:04 +0200)
Even though it translates to the same thing down to the binary level, we
should have an array of 2 number cells to describe each OPP, which in
turns create a validation warning.

Let's fix this.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/20210901091852.479202-42-maxime@cerno.tech
arch/arm/boot/dts/sun4i-a10-olinuxino-lime.dts
arch/arm/boot/dts/sun4i-a10.dtsi
arch/arm/boot/dts/sun5i-a13.dtsi
arch/arm/boot/dts/sun6i-a31.dtsi
arch/arm/boot/dts/sun7i-a20-bananapi.dts
arch/arm/boot/dts/sun7i-a20.dtsi

index ad0e25af45be4616cb68da56d06fe5bd9036f476..83d283cf66334f11b8b6190b485538301b7df068 100644 (file)
        /*
         * The A10-Lime is known to be unstable when running at 1008 MHz
         */
-       operating-points = <
-               /* kHz    uV */
-               912000  1350000
-               864000  1300000
-               624000  1250000
-               >;
+       operating-points =
+               /* kHz    uV */
+               <912000 1350000>,
+               <864000 1300000>,
+               <624000 1250000>;
 };
 
 &de {
index 1c5a666c54b533245f03844a2ca3cd03d8cd055f..51a6464aab9a3b55c557b1e9c84fb40023897c60 100644 (file)
                        reg = <0x0>;
                        clocks = <&ccu CLK_CPU>;
                        clock-latency = <244144>; /* 8 32k periods */
-                       operating-points = <
+                       operating-points =
                                /* kHz    uV */
-                               1008000 1400000
-                               912000  1350000
-                               864000  1300000
-                               624000  1250000
-                               >;
+                               <1008000 1400000>,
+                               <912000 1350000>,
+                               <864000 1300000>,
+                               <624000 1250000>;
                        #cooling-cells = <2>;
                };
        };
index 7075e10911d508e1184e714ce99dc5b3eb931c38..3325ab07094a07963b693ffa1b3e38dd60ef0134 100644 (file)
 
 &cpu0 {
        clock-latency = <244144>; /* 8 32k periods */
-       operating-points = <
+       operating-points =
                /* kHz    uV */
-               1008000 1400000
-               912000  1350000
-               864000  1300000
-               624000  1200000
-               576000  1200000
-               432000  1200000
-               >;
+               <1008000 1400000>,
+               <912000 1350000>,
+               <864000 1300000>,
+               <624000 1200000>,
+               <576000 1200000>,
+               <432000 1200000>;
        #cooling-cells = <2>;
 };
 
index a31f9072bf79da6f3a13e82b49f1ded7c2fc684a..715d748544499e5300d27155d02156630e478c89 100644 (file)
                        reg = <0>;
                        clocks = <&ccu CLK_CPU>;
                        clock-latency = <244144>; /* 8 32k periods */
-                       operating-points = <
+                       operating-points =
                                /* kHz    uV */
-                               1008000 1200000
-                               864000  1200000
-                               720000  1100000
-                               480000  1000000
-                               >;
+                               <1008000 1200000>,
+                               <864000 1200000>,
+                               <720000 1100000>,
+                               <480000 1000000>;
                        #cooling-cells = <2>;
                };
 
                        reg = <1>;
                        clocks = <&ccu CLK_CPU>;
                        clock-latency = <244144>; /* 8 32k periods */
-                       operating-points = <
+                       operating-points =
                                /* kHz    uV */
-                               1008000 1200000
-                               864000  1200000
-                               720000  1100000
-                               480000  1000000
-                               >;
+                               <1008000 1200000>,
+                               <864000 1200000>,
+                               <720000 1100000>,
+                               <480000 1000000>;
                        #cooling-cells = <2>;
                };
 
                        reg = <2>;
                        clocks = <&ccu CLK_CPU>;
                        clock-latency = <244144>; /* 8 32k periods */
-                       operating-points = <
+                       operating-points =
                                /* kHz    uV */
-                               1008000 1200000
-                               864000  1200000
-                               720000  1100000
-                               480000  1000000
-                               >;
+                               <1008000 1200000>,
+                               <864000 1200000>,
+                               <720000 1100000>,
+                               <480000 1000000>;
                        #cooling-cells = <2>;
                };
 
                        reg = <3>;
                        clocks = <&ccu CLK_CPU>;
                        clock-latency = <244144>; /* 8 32k periods */
-                       operating-points = <
+                       operating-points =
                                /* kHz    uV */
-                               1008000 1200000
-                               864000  1200000
-                               720000  1100000
-                               480000  1000000
-                               >;
+                               <1008000 1200000>,
+                               <864000 1200000>,
+                               <720000 1100000>,
+                               <480000 1000000>;
                        #cooling-cells = <2>;
                };
        };
index 9d792d7a0f92a3e71ac036c99aee147cedb4dd1a..46ecf9db2324c13ceb843fc11643efdea4770089 100644 (file)
 
 &cpu0 {
        cpu-supply = <&reg_dcdc2>;
-       operating-points = <
+       operating-points =
                /* kHz    uV */
-               960000  1400000
-               912000  1400000
-               864000  1350000
-               720000  1250000
-               528000  1150000
-               312000  1100000
-               144000  1050000
-               >;
+               <960000 1400000>,
+               <912000 1400000>,
+               <864000 1350000>,
+               <720000 1250000>,
+               <528000 1150000>,
+               <312000 1100000>,
+               <144000 1050000>;
 };
 
 &de {
index 5a40e0280665f801c8f662f8a526684164982329..5574299685ab5c614fa8aa0df413aec798ea9c94 100644 (file)
                        reg = <0>;
                        clocks = <&ccu CLK_CPU>;
                        clock-latency = <244144>; /* 8 32k periods */
-                       operating-points = <
+                       operating-points =
                                /* kHz    uV */
-                               960000  1400000
-                               912000  1400000
-                               864000  1300000
-                               720000  1200000
-                               528000  1100000
-                               312000  1000000
-                               144000  1000000
-                               >;
+                               <960000 1400000>,
+                               <912000 1400000>,
+                               <864000 1300000>,
+                               <720000 1200000>,
+                               <528000 1100000>,
+                               <312000 1000000>,
+                               <144000 1000000>;
                        #cooling-cells = <2>;
                };
 
                        reg = <1>;
                        clocks = <&ccu CLK_CPU>;
                        clock-latency = <244144>; /* 8 32k periods */
-                       operating-points = <
+                       operating-points =
                                /* kHz    uV */
-                               960000  1400000
-                               912000  1400000
-                               864000  1300000
-                               720000  1200000
-                               528000  1100000
-                               312000  1000000
-                               144000  1000000
-                               >;
+                               <960000 1400000>,
+                               <912000 1400000>,
+                               <864000 1300000>,
+                               <720000 1200000>,
+                               <528000 1100000>,
+                               <312000 1000000>,
+                               <144000 1000000>;
                        #cooling-cells = <2>;
                };
        };