]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ARM: dts: sun8i: a23/a33: Fix OPP DTC warnings
authorMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 21 Nov 2018 08:51:04 +0000 (09:51 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Dec 2019 07:52:06 +0000 (08:52 +0100)
[ Upstream commit a858f569b80a69076c521532a289097af905cf1e ]

DTC will emit a warning on our OPPs nodes for the common DTSI between the
A23 and A33 since those nodes use the frequency as unit addresses, but
don't have a matching reg property.

Fix this by moving the frequency to the node name instead.

Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/sun8i-h3.dtsi
arch/arm/boot/dts/sun8i-r16-bananapi-m2m.dts

index f0096074a46786cf36c6a824aa6a7ce8bba824ac..97de6ad133dc2813e6830e54f44b2a4b5bd8d76f 100644 (file)
                compatible = "operating-points-v2";
                opp-shared;
 
-               opp@648000000 {
+               opp-648000000 {
                        opp-hz = /bits/ 64 <648000000>;
                        opp-microvolt = <1040000 1040000 1300000>;
                        clock-latency-ns = <244144>; /* 8 32k periods */
                };
 
-               opp@816000000 {
+               opp-816000000 {
                        opp-hz = /bits/ 64 <816000000>;
                        opp-microvolt = <1100000 1100000 1300000>;
                        clock-latency-ns = <244144>; /* 8 32k periods */
                };
 
-               opp@1008000000 {
+               opp-1008000000 {
                        opp-hz = /bits/ 64 <1008000000>;
                        opp-microvolt = <1200000 1200000 1300000>;
                        clock-latency-ns = <244144>; /* 8 32k periods */
index 0dbdb29a8fff9b1132b7011f725adc3e35b0a93b..ee7ce3752581b59160e0c6f62315cfbd27ebdb41 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 */