PM / OPP: Use - instead of @ for DT entries
Subsystems (7)
Viresh Kumar
maintainerv4 cover PM / OPP: Use - instead of @ for DT entries
Compiling the DT file with W=1, DTC warns like follows:
Warning (unit_address_vs_reg): Node /opp_table0/opp at 1000000000 has a unit name, but no reg property
Fix this by replacing '@' with '-' as the OPP nodes will never have a "reg" property.
This has been sent separately as a single patch earlier, and Olof suggested to split it per-platform and get it merged via platform specific trees. Please get these applied to your trees guys and the rest can go via arm-soc.
V3->V4:
- split it per platform
V2->V3:
- Rebased over 4.11-rc7 and fixed a merge conflict for sun8i.
--
Viresh
Viresh Kumar (7):
PM / OPP: Use - instead of @ for DT entries
ARM: TI: Use - instead of @ for DT OPP entries
ARM: exynos: Use - instead of @ for DT OPP entries
ARM: pxa: Use - instead of @ for DT OPP entries
ARM: sun8i: Use - instead of @ for DT OPP entries
ARM: uniphier: Use - instead of @ for DT OPP entries
ARM: ZTE: Use - instead of @ for DT OPP entries
.../devicetree/bindings/cpufreq/ti-cpufreq.txt | 20 +++---- .../devicetree/bindings/devfreq/exynos-bus.txt | 46 +++++++-------- Documentation/devicetree/bindings/opp/opp.txt | 38 ++++++------- arch/arm/boot/dts/am4372.dtsi | 10 ++-- arch/arm/boot/dts/exynos3250.dtsi | 46 +++++++-------- arch/arm/boot/dts/exynos4210.dtsi | 32 +++++------ arch/arm/boot/dts/exynos4412-prime.dtsi | 4 +- arch/arm/boot/dts/exynos4412.dtsi | 66 +++++++++++----------- arch/arm/boot/dts/exynos5420.dtsi | 40 ++++++------- arch/arm/boot/dts/exynos5800.dtsi | 56 +++++++++--------- arch/arm/boot/dts/pxa25x.dtsi | 8 +-- arch/arm/boot/dts/pxa27x.dtsi | 14 ++--- arch/arm/boot/dts/sun8i-a33.dtsi | 6 +- arch/arm/boot/dts/uniphier-pro5.dtsi | 32 +++++------ arch/arm/boot/dts/uniphier-pxs2.dtsi | 16 +++--- arch/arm64/boot/dts/exynos/exynos5433-bus.dtsi | 48 ++++++++-------- arch/arm64/boot/dts/exynos/exynos5433.dtsi | 50 ++++++++-------- arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi | 14 ++--- arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi | 32 +++++------ arch/arm64/boot/dts/zte/zx296718.dtsi | 10 ++-- 20 files changed, 294 insertions(+), 294 deletions(-)
Signature · 1 line
2.12.0.432.g71c3a4f4ba37
Viresh Kumar
maintainerPATCH v4 1/7 PM / OPP: Use - instead of @ for DT entries
Compiling the DT file with W=1, DTC warns like follows:
Warning (unit_address_vs_reg): Node /opp_table0/opp at 1000000000 has a unit name, but no reg property
Fix this by replacing '@' with '-' as the OPP nodes will never have a "reg" property.
--- Documentation/devicetree/bindings/opp/opp.txt | 38 +++++++++++++-------------- 1 file changed, 19 insertions(+), 19 deletions(-)
Documentation/devicetree/bindings/opp/opp.txt +19 -19
@@ -186,20 +186,20 @@ Example 1: Single cluster Dual-core ARM cortex A9, switch DVFS states together. compatible = "operating-points-v2"; opp-shared; - opp at 1000000000 { + opp-1000000000 { opp-hz = /bits/ 64 <1000000000>; opp-microvolt = <975000 970000 985000>; opp-microamp = <70000>; clock-latency-ns = <300000>; opp-suspend; }; - opp at 1100000000 { + opp-1100000000 { opp-hz = /bits/ 64 <1100000000>; opp-microvolt = <1000000 980000 1010000>; opp-microamp = <80000>; clock-latency-ns = <310000>; }; - opp at 1200000000 { + opp-1200000000 { opp-hz = /bits/ 64 <1200000000>; opp-microvolt = <1025000>; clock-latency-ns = <290000>;
@@ -265,20 +265,20 @@ independently. * independently. */ - opp at 1000000000 { + opp-1000000000 { opp-hz = /bits/ 64 <1000000000>; opp-microvolt = <975000 970000 985000>; opp-microamp = <70000>; clock-latency-ns = <300000>; opp-suspend; }; - opp at 1100000000 { + opp-1100000000 { opp-hz = /bits/ 64 <1100000000>; opp-microvolt = <1000000 980000 1010000>; opp-microamp = <80000>; clock-latency-ns = <310000>; }; - opp at 1200000000 { + opp-1200000000 { opp-hz = /bits/ 64 <1200000000>; opp-microvolt = <1025000>; opp-microamp = <90000;
@@ -341,20 +341,20 @@ DVFS state together. compatible = "operating-points-v2"; opp-shared; - opp@1000000000 { + opp-1000000000 { opp-hz = /bits/ 64 <1000000000>; opp-microvolt = <975000 970000 985000>; opp-microamp = <70000>; clock-latency-ns = <300000>; opp-suspend; }; - opp at 1100000000 { + opp-1100000000 { opp-hz = /bits/ 64 <1100000000>; opp-microvolt = <1000000 980000 1010000>; opp-microamp = <80000>; clock-latency-ns = <310000>; }; - opp at 1200000000 { + opp-1200000000 { opp-hz = /bits/ 64 <1200000000>; opp-microvolt = <1025000>; opp-microamp = <90000>;
@@ -367,20 +367,20 @@ DVFS state together. compatible = "operating-points-v2"; opp-shared; - opp at 1300000000 { + opp-1300000000 { opp-hz = /bits/ 64 <1300000000>; opp-microvolt = <1050000 1045000 1055000>; opp-microamp = <95000>; clock-latency-ns = <400000>; opp-suspend; }; - opp at 1400000000 { + opp-1400000000 { opp-hz = /bits/ 64 <1400000000>; opp-microvolt = <1075000>; opp-microamp = <100000>; clock-latency-ns = <400000>; }; - opp at 1500000000 { + opp-1500000000 { opp-hz = /bits/ 64 <1500000000>; opp-microvolt = <1100000 1010000 1110000>; opp-microamp = <95000>;
@@ -409,7 +409,7 @@ Example 4: Handling multiple regulators compatible = "operating-points-v2"; opp-shared; - opp at 1000000000 { + opp-1000000000 { opp-hz = /bits/ 64 <1000000000>; opp-microvolt = <970000>, /* Supply 0 */ <960000>, /* Supply 1 */
@@ -422,7 +422,7 @@ Example 4: Handling multiple regulators /* OR */ - opp at 1000000000 { + opp-1000000000 { opp-hz = /bits/ 64 <1000000000>; opp-microvolt = <975000 970000 985000>, /* Supply 0 */ <965000 960000 975000>, /* Supply 1 */
@@ -435,7 +435,7 @@ Example 4: Handling multiple regulators /* OR */ - opp at 1000000000 { + opp-1000000000 { opp-hz = /bits/ 64 <1000000000>; opp-microvolt = <975000 970000 985000>, /* Supply 0 */ <965000 960000 975000>, /* Supply 1 */
@@ -467,7 +467,7 @@ Example 5: opp-supported-hw status = "okay"; opp-shared; - opp at 600000000 { + opp-600000000 { /* * Supports all substrate and process versions for 0xF * cuts, i.e. only first four cuts.
@@ -478,7 +478,7 @@ Example 5: opp-supported-hw ... }; - opp at 800000000 { + opp-800000000 { /* * Supports: * - cuts: only one, 6th cut (represented by 6th bit).
@@ -510,7 +510,7 @@ Example 5: opp-supported-hw compatible = "operating-points-v2"; opp-shared; - opp at 1000000000 { + opp-1000000000 { opp-hz = /bits/ 64 <1000000000>; opp-microvolt-slow = <915000 900000 925000>; opp-microvolt-fast = <975000 970000 985000>;
@@ -518,7 +518,7 @@ Example 5: opp-supported-hw opp-microamp-fast = <71000>; }; - opp at 1200000000 { + opp-1200000000 { opp-hz = /bits/ 64 <1200000000>; opp-microvolt-slow = <915000 900000 925000>, /* Supply vcc0 */ <925000 910000 935000>; /* Supply vcc1 */
Signature · 1 line
2.12.0.432.g71c3a4f4ba37
Viresh Kumar
maintainerPATCH v4 2/7 ARM: TI: Use - instead of @ for DT OPP entries
In reply to Viresh KumarCompiling the DT file with W=1, DTC warns like follows:
Warning (unit_address_vs_reg): Node /opp_table0/opp at 1000000000 has a unit name, but no reg property
Fix this by replacing '@' with '-' as the OPP nodes will never have a "reg" property.
--- .../devicetree/bindings/cpufreq/ti-cpufreq.txt | 20 ++++++++++---------- arch/arm/boot/dts/am4372.dtsi | 10 +++++----- 2 files changed, 15 insertions(+), 15 deletions(-)
Documentation/devicetree/bindings/cpufreq/ti-cpufreq.txt +10 -10
@@ -63,64 +63,64 @@ cpu0_opp_table: opp-table { * because they can not be enabled simultaneously on a * single SoC. */ - opp50 at 300000000 { + opp50-300000000 { opp-hz = /bits/ 64 <300000000>; opp-microvolt = <950000 931000 969000>; opp-supported-hw = <0x06 0x0010>; opp-suspend; }; - opp100 at 275000000 { + opp100-275000000 { opp-hz = /bits/ 64 <275000000>; opp-microvolt = <1100000 1078000 1122000>; opp-supported-hw = <0x01 0x00FF>; opp-suspend; }; - opp100 at 300000000 { + opp100-300000000 { opp-hz = /bits/ 64 <300000000>; opp-microvolt = <1100000 1078000 1122000>; opp-supported-hw = <0x06 0x0020>; opp-suspend; }; - opp100 at 500000000 { + opp100-500000000 { opp-hz = /bits/ 64 <500000000>; opp-microvolt = <1100000 1078000 1122000>; opp-supported-hw = <0x01 0xFFFF>; }; - opp100 at 600000000 { + opp100-600000000 { opp-hz = /bits/ 64 <600000000>; opp-microvolt = <1100000 1078000 1122000>; opp-supported-hw = <0x06 0x0040>; }; - opp120 at 600000000 { + opp120-600000000 { opp-hz = /bits/ 64 <600000000>; opp-microvolt = <1200000 1176000 1224000>; opp-supported-hw = <0x01 0xFFFF>; }; - opp120 at 720000000 { + opp120-720000000 { opp-hz = /bits/ 64 <720000000>; opp-microvolt = <1200000 1176000 1224000>; opp-supported-hw = <0x06 0x0080>; }; - oppturbo at 720000000 { + oppturbo-720000000 { opp-hz = /bits/ 64 <720000000>; opp-microvolt = <1260000 1234800 1285200>; opp-supported-hw = <0x01 0xFFFF>; }; - oppturbo at 800000000 { + oppturbo-800000000 { opp-hz = /bits/ 64 <800000000>; opp-microvolt = <1260000 1234800 1285200>; opp-supported-hw = <0x06 0x0100>; }; - oppnitro at 1000000000 { + oppnitro-1000000000 { opp-hz = /bits/ 64 <1000000000>; opp-microvolt = <1325000 1298500 1351500>; opp-supported-hw = <0x04 0x0200>;
arch/arm/boot/dts/am4372.dtsi +5 -5
@@ -60,32 +60,32 @@ cpu0_opp_table: opp_table0 { compatible = "operating-points-v2"; - opp50 at 300000000 { + opp50-300000000 { opp-hz = /bits/ 64 <300000000>; opp-microvolt = <950000 931000 969000>; opp-supported-hw = <0xFF 0x01>; opp-suspend; }; - opp100 at 600000000 { + opp100-600000000 { opp-hz = /bits/ 64 <600000000>; opp-microvolt = <1100000 1078000 1122000>; opp-supported-hw = <0xFF 0x04>; }; - opp120 at 720000000 { + opp120-720000000 { opp-hz = /bits/ 64 <720000000>; opp-microvolt = <1200000 1176000 1224000>; opp-supported-hw = <0xFF 0x08>; }; - oppturbo at 800000000 { + oppturbo-800000000 { opp-hz = /bits/ 64 <800000000>; opp-microvolt = <1260000 1234800 1285200>; opp-supported-hw = <0xFF 0x10>; }; - oppnitro at 1000000000 { + oppnitro-1000000000 { opp-hz = /bits/ 64 <1000000000>; opp-microvolt = <1325000 1298500 1351500>; opp-supported-hw = <0xFF 0x20>;
Signature · 1 line
2.12.0.432.g71c3a4f4ba37
Viresh Kumar
maintainerPATCH v4 3/7 ARM: exynos: Use - instead of @ for DT OPP entries
In reply to Viresh KumarCompiling the DT file with W=1, DTC warns like follows:
Warning (unit_address_vs_reg): Node /opp_table0/opp at 1000000000 has a unit name, but no reg property
Fix this by replacing '@' with '-' as the OPP nodes will never have a "reg" property.
--- .../devicetree/bindings/devfreq/exynos-bus.txt | 46 +++++++-------- arch/arm/boot/dts/exynos3250.dtsi | 46 +++++++-------- arch/arm/boot/dts/exynos4210.dtsi | 32 +++++------ arch/arm/boot/dts/exynos4412-prime.dtsi | 4 +- arch/arm/boot/dts/exynos4412.dtsi | 66 +++++++++++----------- arch/arm/boot/dts/exynos5420.dtsi | 40 ++++++------- arch/arm/boot/dts/exynos5800.dtsi | 56 +++++++++--------- arch/arm64/boot/dts/exynos/exynos5433-bus.dtsi | 48 ++++++++-------- arch/arm64/boot/dts/exynos/exynos5433.dtsi | 50 ++++++++-------- 9 files changed, 194 insertions(+), 194 deletions(-)
Documentation/devicetree/bindings/devfreq/exynos-bus.txt +23 -23
@@ -202,23 +202,23 @@ is able to support the bus frequency for all Exynos SoCs. compatible = "operating-points-v2"; opp-shared; - opp at 50000000 { + opp-50000000 { opp-hz = /bits/ 64 <50000000>; opp-microvolt = <800000>; }; - opp at 100000000 { + opp-100000000 { opp-hz = /bits/ 64 <100000000>; opp-microvolt = <800000>; }; - opp at 134000000 { + opp-134000000 { opp-hz = /bits/ 64 <134000000>; opp-microvolt = <800000>; }; - opp at 200000000 { + opp-200000000 { opp-hz = /bits/ 64 <200000000>; opp-microvolt = <825000>; }; - opp at 400000000 { + opp-400000000 { opp-hz = /bits/ 64 <400000000>; opp-microvolt = <875000>; };
@@ -292,23 +292,23 @@ is able to support the bus frequency for all Exynos SoCs. compatible = "operating-points-v2"; opp-shared; - opp at 50000000 { + opp-50000000 { opp-hz = /bits/ 64 <50000000>; opp-microvolt = <900000>; }; - opp at 80000000 { + opp-80000000 { opp-hz = /bits/ 64 <80000000>; opp-microvolt = <900000>; }; - opp at 100000000 { + opp-100000000 { opp-hz = /bits/ 64 <100000000>; opp-microvolt = <1000000>; }; - opp at 134000000 { + opp-134000000 { opp-hz = /bits/ 64 <134000000>; opp-microvolt = <1000000>; }; - opp at 200000000 { + opp-200000000 { opp-hz = /bits/ 64 <200000000>; opp-microvolt = <1000000>; };
@@ -318,19 +318,19 @@ is able to support the bus frequency for all Exynos SoCs. compatible = "operating-points-v2"; opp-shared; - opp at 50000000 { + opp-50000000 { opp-hz = /bits/ 64 <50000000>; }; - opp at 80000000 { + opp-80000000 { opp-hz = /bits/ 64 <80000000>; }; - opp at 100000000 { + opp-100000000 { opp-hz = /bits/ 64 <100000000>; }; - opp at 200000000 { + opp-200000000 { opp-hz = /bits/ 64 <200000000>; }; - opp at 400000000 { + opp-400000000 { opp-hz = /bits/ 64 <400000000>; }; };
@@ -339,19 +339,19 @@ is able to support the bus frequency for all Exynos SoCs. compatible = "operating-points-v2"; opp-shared; - opp at 50000000 { + opp-50000000 { opp-hz = /bits/ 64 <50000000>; }; - opp at 80000000 { + opp-80000000 { opp-hz = /bits/ 64 <80000000>; }; - opp at 100000000 { + opp-100000000 { opp-hz = /bits/ 64 <100000000>; }; - opp at 200000000 { + opp-200000000 { opp-hz = /bits/ 64 <200000000>; }; - opp at 300000000 { + opp-300000000 { opp-hz = /bits/ 64 <300000000>; }; };
@@ -360,13 +360,13 @@ is able to support the bus frequency for all Exynos SoCs. compatible = "operating-points-v2"; opp-shared; - opp at 50000000 { + opp-50000000 { opp-hz = /bits/ 64 <50000000>; }; - opp at 80000000 { + opp-80000000 { opp-hz = /bits/ 64 <80000000>; }; - opp at 100000000 { + opp-100000000 { opp-hz = /bits/ 64 <100000000>; }; };
arch/arm/boot/dts/exynos3250.dtsi +23 -23
120 lines not on this page · raw message
arch/arm/boot/dts/exynos4210.dtsi +16 -16
@@ -335,15 +335,15 @@ compatible = "operating-points-v2"; opp-shared; - opp at 134000000 { + opp-134000000 { opp-hz = /bits/ 64 <134000000>; opp-microvolt = <1025000>; }; - opp at 267000000 { + opp-267000000 { opp-hz = /bits/ 64 <267000000>; opp-microvolt = <1050000>; }; - opp at 400000000 { + opp-400000000 { opp-hz = /bits/ 64 <400000000>; opp-microvolt = <1150000>; };
@@ -353,13 +353,13 @@ compatible = "operating-points-v2"; opp-shared; - opp at 134000000 { + opp-134000000 { opp-hz = /bits/ 64 <134000000>; }; - opp at 160000000 { + opp-160000000 { opp-hz = /bits/ 64 <160000000>; }; - opp at 200000000 { + opp-200000000 { opp-hz = /bits/ 64 <200000000>; }; };
@@ -368,10 +368,10 @@ compatible = "operating-points-v2"; opp-shared; - opp at 5000000 { + opp-5000000 { opp-hz = /bits/ 64 <5000000>; }; - opp at 100000000 { + opp-100000000 { opp-hz = /bits/ 64 <100000000>; }; };
@@ -380,10 +380,10 @@ compatible = "operating-points-v2"; opp-shared; - opp at 10000000 { + opp-10000000 { opp-hz = /bits/ 64 <10000000>; }; - opp at 134000000 { + opp-134000000 { opp-hz = /bits/ 64 <134000000>; }; };
@@ -392,13 +392,13 @@ compatible = "operating-points-v2"; opp-shared; - opp at 100000000 { + opp-100000000 { opp-hz = /bits/ 64 <100000000>; }; - opp at 134000000 { + opp-134000000 { opp-hz = /bits/ 64 <134000000>; }; - opp at 160000000 { + opp-160000000 { opp-hz = /bits/ 64 <160000000>; }; };
@@ -407,13 +407,13 @@ compatible = "operating-points-v2"; opp-shared; - opp at 100000000 { + opp-100000000 { opp-hz = /bits/ 64 <100000000>; }; - opp at 160000000 { + opp-160000000 { opp-hz = /bits/ 64 <160000000>; }; - opp at 200000000 { + opp-200000000 { opp-hz = /bits/ 64 <200000000>; }; };
arch/arm/boot/dts/exynos4412-prime.dtsi +2 -2
@@ -20,12 +20,12 @@ }; &cpu0_opp_table { - opp at 1600000000 { + opp-1600000000 { opp-hz = /bits/ 64 <1600000000>; opp-microvolt = <1350000>; clock-latency-ns = <200000>; }; - opp at 1704000000 { + opp-1704000000 { opp-hz = /bits/ 64 <1704000000>; opp-microvolt = <1350000>; clock-latency-ns = <200000>;
arch/arm/boot/dts/exynos4412.dtsi +33 -33
194 lines not on this page · raw message
arch/arm/boot/dts/exynos5420.dtsi +20 -20
@@ -49,62 +49,62 @@ cluster_a15_opp_table: opp_table0 { compatible = "operating-points-v2"; opp-shared; - opp at 1800000000 { + opp-1800000000 { opp-hz = /bits/ 64 <1800000000>; opp-microvolt = <1250000>; clock-latency-ns = <140000>; }; - opp at 1700000000 { + opp-1700000000 { opp-hz = /bits/ 64 <1700000000>; opp-microvolt = <1212500>; clock-latency-ns = <140000>; }; - opp at 1600000000 { + opp-1600000000 { opp-hz = /bits/ 64 <1600000000>; opp-microvolt = <1175000>; clock-latency-ns = <140000>; }; - opp at 1500000000 { + opp-1500000000 { opp-hz = /bits/ 64 <1500000000>; opp-microvolt = <1137500>; clock-latency-ns = <140000>; }; - opp at 1400000000 { + opp-1400000000 { opp-hz = /bits/ 64 <1400000000>; opp-microvolt = <1112500>; clock-latency-ns = <140000>; }; - opp at 1300000000 { + opp-1300000000 { opp-hz = /bits/ 64 <1300000000>; opp-microvolt = <1062500>; clock-latency-ns = <140000>; }; - opp at 1200000000 { + opp-1200000000 { opp-hz = /bits/ 64 <1200000000>; opp-microvolt = <1037500>; clock-latency-ns = <140000>; }; - opp at 1100000000 { + opp-1100000000 { opp-hz = /bits/ 64 <1100000000>; opp-microvolt = <1012500>; clock-latency-ns = <140000>; }; - opp at 1000000000 { + opp-1000000000 { opp-hz = /bits/ 64 <1000000000>; opp-microvolt = < 987500>; clock-latency-ns = <140000>; }; - opp at 900000000 { + opp-900000000 { opp-hz = /bits/ 64 <900000000>; opp-microvolt = < 962500>; clock-latency-ns = <140000>; }; - opp at 800000000 { + opp-800000000 { opp-hz = /bits/ 64 <800000000>; opp-microvolt = < 937500>; clock-latency-ns = <140000>; }; - opp at 700000000 { + opp-700000000 { opp-hz = /bits/ 64 <700000000>; opp-microvolt = < 912500>; clock-latency-ns = <140000>;
@@ -114,42 +114,42 @@ cluster_a7_opp_table: opp_table1 { compatible = "operating-points-v2"; opp-shared; - opp at 1300000000 { + opp-1300000000 { opp-hz = /bits/ 64 <1300000000>; opp-microvolt = <1275000>; clock-latency-ns = <140000>; }; - opp at 1200000000 { + opp-1200000000 { opp-hz = /bits/ 64 <1200000000>; opp-microvolt = <1212500>; clock-latency-ns = <140000>; }; - opp at 1100000000 { + opp-1100000000 { opp-hz = /bits/ 64 <1100000000>; opp-microvolt = <1162500>; clock-latency-ns = <140000>; }; - opp at 1000000000 { + opp-1000000000 { opp-hz = /bits/ 64 <1000000000>; opp-microvolt = <1112500>; clock-latency-ns = <140000>; }; - opp at 900000000 { + opp-900000000 { opp-hz = /bits/ 64 <900000000>; opp-microvolt = <1062500>; clock-latency-ns = <140000>; }; - opp at 800000000 { + opp-800000000 { opp-hz = /bits/ 64 <800000000>; opp-microvolt = <1025000>; clock-latency-ns = <140000>; }; - opp at 700000000 { + opp-700000000 { opp-hz = /bits/ 64 <700000000>; opp-microvolt = <975000>; clock-latency-ns = <140000>; }; - opp at 600000000 { + opp-600000000 { opp-hz = /bits/ 64 <600000000>; opp-microvolt = <937500>; clock-latency-ns = <140000>;
arch/arm/boot/dts/exynos5800.dtsi +28 -28
134 lines not on this page · raw message
arch/arm64/boot/dts/exynos/exynos5433-bus.dtsi +24 -24
121 lines not on this page · raw message
arch/arm64/boot/dts/exynos/exynos5433.dtsi +25 -25
131 lines not on this page · raw message
Signature · 1 line
2.12.0.432.g71c3a4f4ba37
Viresh Kumar
maintainerPATCH v4 4/7 ARM: pxa: Use - instead of @ for DT OPP entries
In reply to Viresh KumarCompiling the DT file with W=1, DTC warns like follows:
Warning (unit_address_vs_reg): Node /opp_table0/opp at 1000000000 has a unit name, but no reg property
Fix this by replacing '@' with '-' as the OPP nodes will never have a "reg" property.
--- arch/arm/boot/dts/pxa25x.dtsi | 8 ++++---- arch/arm/boot/dts/pxa27x.dtsi | 14 +++++++------- 2 files changed, 11 insertions(+), 11 deletions(-)
arch/arm/boot/dts/pxa25x.dtsi +4 -4
@@ -93,22 +93,22 @@ pxa250_opp_table: opp_table0 { compatible = "operating-points-v2"; - opp at 99532800 { + opp-99532800 { opp-hz = /bits/ 64 <99532800>; opp-microvolt = <1000000 950000 1650000>; clock-latency-ns = <20>; }; - opp at 199065600 { + opp-199065600 { opp-hz = /bits/ 64 <199065600>; opp-microvolt = <1000000 950000 1650000>; clock-latency-ns = <20>; }; - opp at 298598400 { + opp-298598400 { opp-hz = /bits/ 64 <298598400>; opp-microvolt = <1100000 1045000 1650000>; clock-latency-ns = <20>; }; - opp at 398131200 { + opp-398131200 { opp-hz = /bits/ 64 <398131200>; opp-microvolt = <1300000 1235000 1650000>; clock-latency-ns = <20>;
arch/arm/boot/dts/pxa27x.dtsi +7 -7
@@ -141,37 +141,37 @@ pxa270_opp_table: opp_table0 { compatible = "operating-points-v2"; - opp at 104000000 { + opp-104000000 { opp-hz = /bits/ 64 <104000000>; opp-microvolt = <900000 900000 1705000>; clock-latency-ns = <20>; }; - opp at 156000000 { + opp-156000000 { opp-hz = /bits/ 64 <156000000>; opp-microvolt = <1000000 1000000 1705000>; clock-latency-ns = <20>; }; - opp at 208000000 { + opp-208000000 { opp-hz = /bits/ 64 <208000000>; opp-microvolt = <1180000 1180000 1705000>; clock-latency-ns = <20>; }; - opp at 312000000 { + opp-312000000 { opp-hz = /bits/ 64 <312000000>; opp-microvolt = <1250000 1250000 1705000>; clock-latency-ns = <20>; }; - opp at 416000000 { + opp-416000000 { opp-hz = /bits/ 64 <416000000>; opp-microvolt = <1350000 1350000 1705000>; clock-latency-ns = <20>; }; - opp at 520000000 { + opp-520000000 { opp-hz = /bits/ 64 <520000000>; opp-microvolt = <1450000 1450000 1705000>; clock-latency-ns = <20>; }; - opp at 624000000 { + opp-624000000 { opp-hz = /bits/ 64 <624000000>; opp-microvolt = <1550000 1550000 1705000>; clock-latency-ns = <20>;
Signature · 1 line
2.12.0.432.g71c3a4f4ba37
Viresh Kumar
maintainerPATCH v4 5/7 ARM: sun8i: Use - instead of @ for DT OPP entries
In reply to Viresh KumarCompiling the DT file with W=1, DTC warns like follows:
Warning (unit_address_vs_reg): Node /opp_table0/opp at 1000000000 has a unit name, but no reg property
Fix this by replacing '@' with '-' as the OPP nodes will never have a "reg" property.
--- arch/arm/boot/dts/sun8i-a33.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm/boot/dts/sun8i-a33.dtsi +3 -3
@@ -49,19 +49,19 @@ compatible = "operating-points-v2"; opp-shared; - opp at 648000000 { + opp-648000000 { opp-hz = /bits/ 64 <648000000>; opp-microvolt = <1040000>; clock-latency-ns = <244144>; /* 8 32k periods */ }; - opp at 816000000 { + opp-816000000 { opp-hz = /bits/ 64 <816000000>; opp-microvolt = <1100000>; clock-latency-ns = <244144>; /* 8 32k periods */ }; - opp at 1008000000 { + opp-1008000000 { opp-hz = /bits/ 64 <1008000000>; opp-microvolt = <1200000>; clock-latency-ns = <244144>; /* 8 32k periods */
Signature · 1 line
2.12.0.432.g71c3a4f4ba37
Viresh Kumar
maintainerPATCH v4 6/7 ARM: uniphier: Use - instead of @ for DT OPP entries
In reply to Viresh KumarCompiling the DT file with W=1, DTC warns like follows:
Warning (unit_address_vs_reg): Node /opp_table0/opp at 1000000000 has a unit name, but no reg property
Fix this by replacing '@' with '-' as the OPP nodes will never have a "reg" property.
--- arch/arm/boot/dts/uniphier-pro5.dtsi | 32 ++++++++++++------------ arch/arm/boot/dts/uniphier-pxs2.dtsi | 16 ++++++------ arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi | 14 +++++------ arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi | 32 ++++++++++++------------ 4 files changed, 47 insertions(+), 47 deletions(-)
arch/arm/boot/dts/uniphier-pro5.dtsi +16 -16
@@ -77,67 +77,67 @@ compatible = "operating-points-v2"; opp-shared; - opp at 100000000 { + opp-100000000 { opp-hz = /bits/ 64 <100000000>; clock-latency-ns = <300>; }; - opp at 116667000 { + opp-116667000 { opp-hz = /bits/ 64 <116667000>; clock-latency-ns = <300>; }; - opp at 150000000 { + opp-150000000 { opp-hz = /bits/ 64 <150000000>; clock-latency-ns = <300>; }; - opp at 175000000 { + opp-175000000 { opp-hz = /bits/ 64 <175000000>; clock-latency-ns = <300>; }; - opp at 200000000 { + opp-200000000 { opp-hz = /bits/ 64 <200000000>; clock-latency-ns = <300>; }; - opp at 233334000 { + opp-233334000 { opp-hz = /bits/ 64 <233334000>; clock-latency-ns = <300>; }; - opp at 300000000 { + opp-300000000 { opp-hz = /bits/ 64 <300000000>; clock-latency-ns = <300>; }; - opp at 350000000 { + opp-350000000 { opp-hz = /bits/ 64 <350000000>; clock-latency-ns = <300>; }; - opp at 400000000 { + opp-400000000 { opp-hz = /bits/ 64 <400000000>; clock-latency-ns = <300>; }; - opp at 466667000 { + opp-466667000 { opp-hz = /bits/ 64 <466667000>; clock-latency-ns = <300>; }; - opp at 600000000 { + opp-600000000 { opp-hz = /bits/ 64 <600000000>; clock-latency-ns = <300>; }; - opp at 700000000 { + opp-700000000 { opp-hz = /bits/ 64 <700000000>; clock-latency-ns = <300>; }; - opp at 800000000 { + opp-800000000 { opp-hz = /bits/ 64 <800000000>; clock-latency-ns = <300>; }; - opp at 933334000 { + opp-933334000 { opp-hz = /bits/ 64 <933334000>; clock-latency-ns = <300>; }; - opp at 1200000000 { + opp-1200000000 { opp-hz = /bits/ 64 <1200000000>; clock-latency-ns = <300>; }; - opp at 1400000000 { + opp-1400000000 { opp-hz = /bits/ 64 <1400000000>; clock-latency-ns = <300>; };
arch/arm/boot/dts/uniphier-pxs2.dtsi +8 -8
@@ -97,35 +97,35 @@ compatible = "operating-points-v2"; opp-shared; - opp at 100000000 { + opp-100000000 { opp-hz = /bits/ 64 <100000000>; clock-latency-ns = <300>; }; - opp at 150000000 { + opp-150000000 { opp-hz = /bits/ 64 <150000000>; clock-latency-ns = <300>; }; - opp at 200000000 { + opp-200000000 { opp-hz = /bits/ 64 <200000000>; clock-latency-ns = <300>; }; - opp at 300000000 { + opp-300000000 { opp-hz = /bits/ 64 <300000000>; clock-latency-ns = <300>; }; - opp at 400000000 { + opp-400000000 { opp-hz = /bits/ 64 <400000000>; clock-latency-ns = <300>; }; - opp at 600000000 { + opp-600000000 { opp-hz = /bits/ 64 <600000000>; clock-latency-ns = <300>; }; - opp at 800000000 { + opp-800000000 { opp-hz = /bits/ 64 <800000000>; clock-latency-ns = <300>; }; - opp at 1200000000 { + opp-1200000000 { opp-hz = /bits/ 64 <1200000000>; clock-latency-ns = <300>; };
arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi +7 -7
@@ -89,31 +89,31 @@ compatible = "operating-points-v2"; opp-shared; - opp at 245000000 { + opp-245000000 { opp-hz = /bits/ 64 <245000000>; clock-latency-ns = <300>; }; - opp at 250000000 { + opp-250000000 { opp-hz = /bits/ 64 <250000000>; clock-latency-ns = <300>; }; - opp at 490000000 { + opp-490000000 { opp-hz = /bits/ 64 <490000000>; clock-latency-ns = <300>; }; - opp at 500000000 { + opp-500000000 { opp-hz = /bits/ 64 <500000000>; clock-latency-ns = <300>; }; - opp at 653334000 { + opp-653334000 { opp-hz = /bits/ 64 <653334000>; clock-latency-ns = <300>; }; - opp at 666667000 { + opp-666667000 { opp-hz = /bits/ 64 <666667000>; clock-latency-ns = <300>; }; - opp at 980000000 { + opp-980000000 { opp-hz = /bits/ 64 <980000000>; clock-latency-ns = <300>; };
arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi +16 -16
@@ -116,35 +116,35 @@ compatible = "operating-points-v2"; opp-shared; - opp at 250000000 { + opp-250000000 { opp-hz = /bits/ 64 <250000000>; clock-latency-ns = <300>; }; - opp at 275000000 { + opp-275000000 { opp-hz = /bits/ 64 <275000000>; clock-latency-ns = <300>; }; - opp at 500000000 { + opp-500000000 { opp-hz = /bits/ 64 <500000000>; clock-latency-ns = <300>; }; - opp at 550000000 { + opp-550000000 { opp-hz = /bits/ 64 <550000000>; clock-latency-ns = <300>; }; - opp at 666667000 { + opp-666667000 { opp-hz = /bits/ 64 <666667000>; clock-latency-ns = <300>; }; - opp at 733334000 { + opp-733334000 { opp-hz = /bits/ 64 <733334000>; clock-latency-ns = <300>; }; - opp at 1000000000 { + opp-1000000000 { opp-hz = /bits/ 64 <1000000000>; clock-latency-ns = <300>; }; - opp at 1100000000 { + opp-1100000000 { opp-hz = /bits/ 64 <1100000000>; clock-latency-ns = <300>; };
@@ -154,35 +154,35 @@ compatible = "operating-points-v2"; opp-shared; - opp at 250000000 { + opp-250000000 { opp-hz = /bits/ 64 <250000000>; clock-latency-ns = <300>; }; - opp at 275000000 { + opp-275000000 { opp-hz = /bits/ 64 <275000000>; clock-latency-ns = <300>; }; - opp at 500000000 { + opp-500000000 { opp-hz = /bits/ 64 <500000000>; clock-latency-ns = <300>; }; - opp at 550000000 { + opp-550000000 { opp-hz = /bits/ 64 <550000000>; clock-latency-ns = <300>; }; - opp at 666667000 { + opp-666667000 { opp-hz = /bits/ 64 <666667000>; clock-latency-ns = <300>; }; - opp at 733334000 { + opp-733334000 { opp-hz = /bits/ 64 <733334000>; clock-latency-ns = <300>; }; - opp at 1000000000 { + opp-1000000000 { opp-hz = /bits/ 64 <1000000000>; clock-latency-ns = <300>; }; - opp at 1100000000 { + opp-1100000000 { opp-hz = /bits/ 64 <1100000000>; clock-latency-ns = <300>; };
Signature · 1 line
2.12.0.432.g71c3a4f4ba37
Viresh Kumar
maintainerPATCH v4 7/7 ARM: ZTE: Use - instead of @ for DT OPP entries
In reply to Viresh KumarCompiling the DT file with W=1, DTC warns like follows:
Warning (unit_address_vs_reg): Node /opp_table0/opp at 1000000000 has a unit name, but no reg property
Fix this by replacing '@' with '-' as the OPP nodes will never have a "reg" property.
--- arch/arm64/boot/dts/zte/zx296718.dtsi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
arch/arm64/boot/dts/zte/zx296718.dtsi +5 -5
@@ -118,27 +118,27 @@ compatible = "operating-points-v2"; opp-shared; - opp at 500000000 { + opp-500000000 { opp-hz = /bits/ 64 <500000000>; clock-latency-ns = <500000>; }; - opp at 648000000 { + opp-648000000 { opp-hz = /bits/ 64 <648000000>; clock-latency-ns = <500000>; }; - opp at 800000000 { + opp-800000000 { opp-hz = /bits/ 64 <800000000>; clock-latency-ns = <500000>; }; - opp at 1000000000 { + opp-1000000000 { opp-hz = /bits/ 64 <1000000000>; clock-latency-ns = <500000>; }; - opp at 1188000000 { + opp-1188000000 { opp-hz = /bits/ 64 <1188000000>; clock-latency-ns = <500000>; };
Signature · 1 line
2.12.0.432.g71c3a4f4ba37
Re: [PATCH V4 5/7] ARM: sun8i: Use - instead of @ for DT OPP entries
In reply to Viresh KumarHi,
Quoted 8 lines · Viresh Kumar
Compiling the DT file with W=1, DTC warns like follows:
Warning (
unit_address_vs_reg): Node /opp_table0/opp at 1000000000 has a unit name, but no reg propertyFix this by replacing '@' with '-' as the OPP nodes will never have a "reg" property.
Quoted 6 lines
Reported-by Krzysztof Kozlowski <[email protected]>Reported-by Masahiro Yamada <[email protected]>Suggested-by Mark Rutland <[email protected]>Signed-off-by Viresh Kumar <[email protected]>Acked-by Maxime Ripard <[email protected]>Acked-by Rob Herring <[email protected]>
This patch doesn't apply, please make sure to base them on linux-next
Maxime
Signature · 10 lines
Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 801 bytes Desc: not available URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170420/e9981076/attachment.sig>
Viresh Kumar
maintainerRe: [PATCH V4 5/7] ARM: sun8i: Use - instead of @ for DT OPP entries
Quoted 11 lines · Maxime Ripard
Hi,
Quoted 8 lines · Viresh Kumar
Compiling the DT file with W=1, DTC warns like follows:
Warning (
unit_address_vs_reg): Node /opp_table0/opp at 1000000000 has a unit name, but no reg propertyFix this by replacing '@' with '-' as the OPP nodes will never have a "reg" property.
Quoted 8 lines
Quoted 6 lines
Reported-by Krzysztof Kozlowski <[email protected]>Reported-by Masahiro Yamada <[email protected]>Suggested-by Mark Rutland <[email protected]>Signed-off-by Viresh Kumar <[email protected]>Acked-by Maxime Ripard <[email protected]>Acked-by Rob Herring <[email protected]>This patch doesn't apply, please make sure to base them on linux-next
I can do that tomorrow once linux-next includes the new PM tree as the old PM tree had my patch from V3.
Signature · 1 line
viresh
Viresh Kumar
maintainerv4 cover PM / OPP: Use - instead of @ for DT entries
In reply to Viresh KumarQuoted 5 lines · Viresh Kumar
Compiling the DT file with W=1, DTC warns like follows:
Warning (
unit_address_vs_reg): Node /opp_table0/opp at 1000000000 has a unit name, but no reg property
Quoted 7 lines
Fix this by replacing '@' with '-' as the OPP nodes will never have a "reg" property.
This has been sent separately as a single patch earlier, and Olof suggested to split it per-platform and get it merged via platform specific trees. Please get these applied to your trees guys and the rest can go via arm-soc.
This is based over 4.11-rc7 and there are no conflicts apart from sun8i. All the other maintainers can apply their platform specific patches from this series only.
Thanks.
Signature · 1 line
viresh