]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: sun8i: Use - instead of @ for DT OPP entries
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 20 Apr 2017 10:55:09 +0000 (16:25 +0530)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Sun, 14 May 2017 06:32:32 +0000 (08:32 +0200)
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: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts
arch/arm/boot/dts/sun8i-a33.dtsi

index 9b620cc1d5f1323d1abc0fb89cec00ae2f99704d..8a0b42a2c2da8f398514678f6609f48fdafc57a2 100644 (file)
 };
 
 &cpu0_opp_table {
-       opp@1104000000 {
+       opp-1104000000 {
                opp-hz = /bits/ 64 <1104000000>;
                opp-microvolt = <1320000>;
                clock-latency-ns = <244144>; /* 8 32k periods */
        };
 
-       opp@1200000000 {
+       opp-1200000000 {
                opp-hz = /bits/ 64 <1200000000>;
                opp-microvolt = <1320000>;
                clock-latency-ns = <244144>; /* 8 32k periods */
index 01397825937241221097dd47caef60459e857df3..22660919bd08ae8b9c43eff253a9180c16ab0202 100644 (file)
                compatible = "operating-points-v2";
                opp-shared;
 
-               opp@120000000 {
+               opp-120000000 {
                        opp-hz = /bits/ 64 <120000000>;
                        opp-microvolt = <1040000>;
                        clock-latency-ns = <244144>; /* 8 32k periods */
                };
 
-               opp@240000000 {
+               opp-240000000 {
                        opp-hz = /bits/ 64 <240000000>;
                        opp-microvolt = <1040000>;
                        clock-latency-ns = <244144>; /* 8 32k periods */
                };
 
-               opp@312000000 {
+               opp-312000000 {
                        opp-hz = /bits/ 64 <312000000>;
                        opp-microvolt = <1040000>;
                        clock-latency-ns = <244144>; /* 8 32k periods */
                };
 
-               opp@408000000 {
+               opp-408000000 {
                        opp-hz = /bits/ 64 <408000000>;
                        opp-microvolt = <1040000>;
                        clock-latency-ns = <244144>; /* 8 32k periods */
                };
 
-               opp@480000000 {
+               opp-480000000 {
                        opp-hz = /bits/ 64 <480000000>;
                        opp-microvolt = <1040000>;
                        clock-latency-ns = <244144>; /* 8 32k periods */
                };
 
-               opp@504000000 {
+               opp-504000000 {
                        opp-hz = /bits/ 64 <504000000>;
                        opp-microvolt = <1040000>;
                        clock-latency-ns = <244144>; /* 8 32k periods */
                };
 
-               opp@600000000 {
+               opp-600000000 {
                        opp-hz = /bits/ 64 <600000000>;
                        opp-microvolt = <1040000>;
                        clock-latency-ns = <244144>; /* 8 32k periods */
                };
 
-               opp@648000000 {
+               opp-648000000 {
                        opp-hz = /bits/ 64 <648000000>;
                        opp-microvolt = <1040000>;
                        clock-latency-ns = <244144>; /* 8 32k periods */
                };
 
-               opp@720000000 {
+               opp-720000000 {
                        opp-hz = /bits/ 64 <720000000>;
                        opp-microvolt = <1100000>;
                        clock-latency-ns = <244144>; /* 8 32k periods */
                };
 
-               opp@816000000 {
+               opp-816000000 {
                        opp-hz = /bits/ 64 <816000000>;
                        opp-microvolt = <1100000>;
                        clock-latency-ns = <244144>; /* 8 32k periods */
                };
 
-               opp@912000000 {
+               opp-912000000 {
                        opp-hz = /bits/ 64 <912000000>;
                        opp-microvolt = <1200000>;
                        clock-latency-ns = <244144>; /* 8 32k periods */
                };
 
-               opp@1008000000 {
+               opp-1008000000 {
                        opp-hz = /bits/ 64 <1008000000>;
                        opp-microvolt = <1200000>;
                        clock-latency-ns = <244144>; /* 8 32k periods */
        mali_opp_table: gpu-opp-table {
                compatible = "operating-points-v2";
 
-               opp@144000000 {
+               opp-144000000 {
                        opp-hz = /bits/ 64 <144000000>;
                };
 
-               opp@240000000 {
+               opp-240000000 {
                        opp-hz = /bits/ 64 <240000000>;
                };
 
-               opp@384000000 {
+               opp-384000000 {
                        opp-hz = /bits/ 64 <384000000>;
                };
        };