[PATCH V4 7/7] ARM: ZTE: Use - instead of @ for DT OPP entries
Compiling the DT file with W=1, DTC warns like follows: Warning (unit_address_vs_reg): Node /opp_table0/opp@10 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 KozlowskiReported-by: Masahiro Yamada Suggested-by: Mark Rutland Signed-off-by: Viresh Kumar Acked-by: Rob Herring --- arch/arm64/boot/dts/zte/zx296718.dtsi | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/zte/zx296718.dtsi b/arch/arm64/boot/dts/zte/zx296718.dtsi index b850b2cd0adc..2c7dc69987df 100644 --- a/arch/arm64/boot/dts/zte/zx296718.dtsi +++ b/arch/arm64/boot/dts/zte/zx296718.dtsi @@ -118,27 +118,27 @@ compatible = "operating-points-v2"; opp-shared; - opp@5 { + opp-5 { opp-hz = /bits/ 64 <5>; clock-latency-ns = <50>; }; - opp@64800 { + opp-64800 { opp-hz = /bits/ 64 <64800>; clock-latency-ns = <50>; }; - opp@8 { + opp-8 { opp-hz = /bits/ 64 <8>; clock-latency-ns = <50>; }; - opp@10 { + opp-10 { opp-hz = /bits/ 64 <10>; clock-latency-ns = <50>; }; - opp@118800 { + opp-118800 { opp-hz = /bits/ 64 <118800>; clock-latency-ns = <50>; }; -- 2.12.0.432.g71c3a4f4ba37
[PATCH V4 7/7] ARM: ZTE: Use - instead of @ for DT OPP entries
Compiling the DT file with W=1, DTC warns like follows: Warning (unit_address_vs_reg): Node /opp_table0/opp@10 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 Reported-by: Masahiro Yamada Suggested-by: Mark Rutland Signed-off-by: Viresh Kumar Acked-by: Rob Herring --- arch/arm64/boot/dts/zte/zx296718.dtsi | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/zte/zx296718.dtsi b/arch/arm64/boot/dts/zte/zx296718.dtsi index b850b2cd0adc..2c7dc69987df 100644 --- a/arch/arm64/boot/dts/zte/zx296718.dtsi +++ b/arch/arm64/boot/dts/zte/zx296718.dtsi @@ -118,27 +118,27 @@ compatible = "operating-points-v2"; opp-shared; - opp@5 { + opp-5 { opp-hz = /bits/ 64 <5>; clock-latency-ns = <50>; }; - opp@64800 { + opp-64800 { opp-hz = /bits/ 64 <64800>; clock-latency-ns = <50>; }; - opp@8 { + opp-8 { opp-hz = /bits/ 64 <8>; clock-latency-ns = <50>; }; - opp@10 { + opp-10 { opp-hz = /bits/ 64 <10>; clock-latency-ns = <50>; }; - opp@118800 { + opp-118800 { opp-hz = /bits/ 64 <118800>; clock-latency-ns = <50>; }; -- 2.12.0.432.g71c3a4f4ba37