]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: Use - instead of @ for DT OPP entries for TI SoCs
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 20 Apr 2017 10:55:06 +0000 (16:25 +0530)
committerTony Lindgren <tony@atomide.com>
Tue, 16 May 2017 15:18:55 +0000 (08:18 -0700)
Compiling the DT file with W=1, DTC warns like follows:

Warning (unit_address_vs_reg): Node /opp_table0/opp@1000000000 has a
unit name, but no reg property

Fix this by replacing '@' with '-' as the OPP nodes will never have a
"reg" property.

Reported-by: Krzysztof Kozlowski <krzk@kernel.org>
Reported-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Suggested-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Documentation/devicetree/bindings/cpufreq/ti-cpufreq.txt
arch/arm/boot/dts/am335x-boneblack.dts
arch/arm/boot/dts/am33xx.dtsi
arch/arm/boot/dts/am4372.dtsi
arch/arm/boot/dts/dra7.dtsi

index ba0e15ad5bd9da8702f16278018f8dc18a2c5d25..0c38e4b8fc518e2d6f65adb1910cafb680b0914a 100644 (file)
@@ -63,64 +63,64 @@ cpu0_opp_table: opp-table {
         * because they can not be enabled simultaneously on a
         * single SoC.
         */
-       opp50@300000000 {
+       opp50-300000000 {
                opp-hz = /bits/ 64 <300000000>;
                opp-microvolt = <950000 931000 969000>;
                opp-supported-hw = <0x06 0x0010>;
                opp-suspend;
        };
 
-       opp100@275000000 {
+       opp100-275000000 {
                opp-hz = /bits/ 64 <275000000>;
                opp-microvolt = <1100000 1078000 1122000>;
                opp-supported-hw = <0x01 0x00FF>;
                opp-suspend;
        };
 
-       opp100@300000000 {
+       opp100-300000000 {
                opp-hz = /bits/ 64 <300000000>;
                opp-microvolt = <1100000 1078000 1122000>;
                opp-supported-hw = <0x06 0x0020>;
                opp-suspend;
        };
 
-       opp100@500000000 {
+       opp100-500000000 {
                opp-hz = /bits/ 64 <500000000>;
                opp-microvolt = <1100000 1078000 1122000>;
                opp-supported-hw = <0x01 0xFFFF>;
        };
 
-       opp100@600000000 {
+       opp100-600000000 {
                opp-hz = /bits/ 64 <600000000>;
                opp-microvolt = <1100000 1078000 1122000>;
                opp-supported-hw = <0x06 0x0040>;
        };
 
-       opp120@600000000 {
+       opp120-600000000 {
                opp-hz = /bits/ 64 <600000000>;
                opp-microvolt = <1200000 1176000 1224000>;
                opp-supported-hw = <0x01 0xFFFF>;
        };
 
-       opp120@720000000 {
+       opp120-720000000 {
                opp-hz = /bits/ 64 <720000000>;
                opp-microvolt = <1200000 1176000 1224000>;
                opp-supported-hw = <0x06 0x0080>;
        };
 
-       oppturbo@720000000 {
+       oppturbo-720000000 {
                opp-hz = /bits/ 64 <720000000>;
                opp-microvolt = <1260000 1234800 1285200>;
                opp-supported-hw = <0x01 0xFFFF>;
        };
 
-       oppturbo@800000000 {
+       oppturbo-800000000 {
                opp-hz = /bits/ 64 <800000000>;
                opp-microvolt = <1260000 1234800 1285200>;
                opp-supported-hw = <0x06 0x0100>;
        };
 
-       oppnitro@1000000000 {
+       oppnitro-1000000000 {
                opp-hz = /bits/ 64 <1000000000>;
                opp-microvolt = <1325000 1298500 1351500>;
                opp-supported-hw = <0x04 0x0200>;
index 935ed17d22e4624c767ae42394d3ebbe21a8076c..d154d3133c162ac27c7ea85710077d81e8707af8 100644 (file)
@@ -22,7 +22,7 @@ &cpu0_opp_table {
         * BeagleBone Blacks have PG 2.0 silicon which is guaranteed
         * to support 1GHz OPP so enable it for PG 2.0 on this board.
         */
-       oppnitro@1000000000 {
+       oppnitro-1000000000 {
                opp-supported-hw = <0x06 0x0100>;
        };
 };
index 9e242943dcecf1664a3dfadfbdca6d32e33db2fb..bdacb3dd689c10e9f0d40a88210f1b142e501f96 100644 (file)
@@ -64,64 +64,64 @@ cpu0_opp_table: opp-table {
                 * because the can not be enabled simultaneously on a
                 * single SoC.
                 */
-               opp50@300000000 {
+               opp50-300000000 {
                        opp-hz = /bits/ 64 <300000000>;
                        opp-microvolt = <950000 931000 969000>;
                        opp-supported-hw = <0x06 0x0010>;
                        opp-suspend;
                };
 
-               opp100@275000000 {
+               opp100-275000000 {
                        opp-hz = /bits/ 64 <275000000>;
                        opp-microvolt = <1100000 1078000 1122000>;
                        opp-supported-hw = <0x01 0x00FF>;
                        opp-suspend;
                };
 
-               opp100@300000000 {
+               opp100-300000000 {
                        opp-hz = /bits/ 64 <300000000>;
                        opp-microvolt = <1100000 1078000 1122000>;
                        opp-supported-hw = <0x06 0x0020>;
                        opp-suspend;
                };
 
-               opp100@500000000 {
+               opp100-500000000 {
                        opp-hz = /bits/ 64 <500000000>;
                        opp-microvolt = <1100000 1078000 1122000>;
                        opp-supported-hw = <0x01 0xFFFF>;
                };
 
-               opp100@600000000 {
+               opp100-600000000 {
                        opp-hz = /bits/ 64 <600000000>;
                        opp-microvolt = <1100000 1078000 1122000>;
                        opp-supported-hw = <0x06 0x0040>;
                };
 
-               opp120@600000000 {
+               opp120-600000000 {
                        opp-hz = /bits/ 64 <600000000>;
                        opp-microvolt = <1200000 1176000 1224000>;
                        opp-supported-hw = <0x01 0xFFFF>;
                };
 
-               opp120@720000000 {
+               opp120-720000000 {
                        opp-hz = /bits/ 64 <720000000>;
                        opp-microvolt = <1200000 1176000 1224000>;
                        opp-supported-hw = <0x06 0x0080>;
                };
 
-               oppturbo@720000000 {
+               oppturbo-720000000 {
                        opp-hz = /bits/ 64 <720000000>;
                        opp-microvolt = <1260000 1234800 1285200>;
                        opp-supported-hw = <0x01 0xFFFF>;
                };
 
-               oppturbo@800000000 {
+               oppturbo-800000000 {
                        opp-hz = /bits/ 64 <800000000>;
                        opp-microvolt = <1260000 1234800 1285200>;
                        opp-supported-hw = <0x06 0x0100>;
                };
 
-               oppnitro@1000000000 {
+               oppnitro-1000000000 {
                        opp-hz = /bits/ 64 <1000000000>;
                        opp-microvolt = <1325000 1298500 1351500>;
                        opp-supported-hw = <0x04 0x0200>;
index 176e09e9a45eef97e5512608d95f30545bc7b84d..e5b061469bf88a234ef2367ecb94a143afca793f 100644 (file)
@@ -59,32 +59,32 @@ cpu0_opp_table: opp-table {
                compatible = "operating-points-v2-ti-cpu";
                syscon = <&scm_conf>;
 
-               opp50@300000000 {
+               opp50-300000000 {
                        opp-hz = /bits/ 64 <300000000>;
                        opp-microvolt = <950000 931000 969000>;
                        opp-supported-hw = <0xFF 0x01>;
                        opp-suspend;
                };
 
-               opp100@600000000 {
+               opp100-600000000 {
                        opp-hz = /bits/ 64 <600000000>;
                        opp-microvolt = <1100000 1078000 1122000>;
                        opp-supported-hw = <0xFF 0x04>;
                };
 
-               opp120@720000000 {
+               opp120-720000000 {
                        opp-hz = /bits/ 64 <720000000>;
                        opp-microvolt = <1200000 1176000 1224000>;
                        opp-supported-hw = <0xFF 0x08>;
                };
 
-               oppturbo@800000000 {
+               oppturbo-800000000 {
                        opp-hz = /bits/ 64 <800000000>;
                        opp-microvolt = <1260000 1234800 1285200>;
                        opp-supported-hw = <0xFF 0x10>;
                };
 
-               oppnitro@1000000000 {
+               oppnitro-1000000000 {
                        opp-hz = /bits/ 64 <1000000000>;
                        opp-microvolt = <1325000 1298500 1351500>;
                        opp-supported-hw = <0xFF 0x20>;
index 57892f264ceaee19ac08e4650a01ccd3f1c9866f..25908dd338ee258342a57299b9f1828d3d7b5a4f 100644 (file)
@@ -99,14 +99,14 @@ cpu0_opp_table: opp-table {
                compatible = "operating-points-v2-ti-cpu";
                syscon = <&scm_wkup>;
 
-               opp_nom@1000000000 {
+               opp_nom-1000000000 {
                        opp-hz = /bits/ 64 <1000000000>;
                        opp-microvolt = <1060000 850000 1150000>;
                        opp-supported-hw = <0xFF 0x01>;
                        opp-suspend;
                };
 
-               opp_od@1176000000 {
+               opp_od-1176000000 {
                        opp-hz = /bits/ 64 <1176000000>;
                        opp-microvolt = <1160000 885000 1160000>;
                        opp-supported-hw = <0xFF 0x02>;