arm64: dts: rockchip: synchronize rk3399 opps with vendor kernel
authorHeiko Stuebner <heiko.stuebner@theobroma-systems.com>
Thu, 25 Feb 2021 13:33:20 +0000 (14:33 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 21 Mar 2021 20:06:30 +0000 (21:06 +0100)
The vendor-kernel did increase the minimum voltage for some low frequency
opps to 825mV citing stability reasons. So do that in mainline as well
and also use the ranged notation the vendor-kernel switched to, to give
a bit more flexibility for different regulator setups.

Signed-off-by: Heiko Stuebner <heiko.stuebner@theobroma-systems.com>
Link: https://lore.kernel.org/r/20210225133322.3420724-1-heiko@sntech.de
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399-opp.dtsi

index d6f1095..20b0d60 100644 (file)
 
                opp00 {
                        opp-hz = /bits/ 64 <408000000>;
-                       opp-microvolt = <800000>;
+                       opp-microvolt = <825000 825000 1250000>;
                        clock-latency-ns = <40000>;
                };
                opp01 {
                        opp-hz = /bits/ 64 <600000000>;
-                       opp-microvolt = <800000>;
+                       opp-microvolt = <825000 825000 1250000>;
                };
                opp02 {
                        opp-hz = /bits/ 64 <816000000>;
-                       opp-microvolt = <850000>;
+                       opp-microvolt = <850000 850000 1250000>;
                };
                opp03 {
                        opp-hz = /bits/ 64 <1008000000>;
-                       opp-microvolt = <925000>;
+                       opp-microvolt = <925000 925000 1250000>;
                };
                opp04 {
                        opp-hz = /bits/ 64 <1200000000>;
-                       opp-microvolt = <1000000>;
+                       opp-microvolt = <1000000 1000000 1250000>;
                };
                opp05 {
                        opp-hz = /bits/ 64 <1416000000>;
-                       opp-microvolt = <1125000>;
+                       opp-microvolt = <1125000 1125000 1250000>;
                };
        };
 
 
                opp00 {
                        opp-hz = /bits/ 64 <408000000>;
-                       opp-microvolt = <800000>;
+                       opp-microvolt = <825000 825000 1250000>;
                        clock-latency-ns = <40000>;
                };
                opp01 {
                        opp-hz = /bits/ 64 <600000000>;
-                       opp-microvolt = <800000>;
+                       opp-microvolt = <825000 825000 1250000>;
                };
                opp02 {
                        opp-hz = /bits/ 64 <816000000>;
-                       opp-microvolt = <825000>;
+                       opp-microvolt = <825000 825000 1250000>;
                };
                opp03 {
                        opp-hz = /bits/ 64 <1008000000>;
-                       opp-microvolt = <875000>;
+                       opp-microvolt = <875000 875000 1250000>;
                };
                opp04 {
                        opp-hz = /bits/ 64 <1200000000>;
-                       opp-microvolt = <950000>;
+                       opp-microvolt = <950000 950000 1250000>;
                };
                opp05 {
                        opp-hz = /bits/ 64 <1416000000>;
-                       opp-microvolt = <1025000>;
+                       opp-microvolt = <1025000 1025000 1250000>;
                };
                opp06 {
                        opp-hz = /bits/ 64 <1608000000>;
-                       opp-microvolt = <1100000>;
+                       opp-microvolt = <1100000 1100000 1250000>;
                };
                opp07 {
                        opp-hz = /bits/ 64 <1800000000>;
-                       opp-microvolt = <1200000>;
+                       opp-microvolt = <1200000 1200000 1250000>;
                };
        };
 
 
                opp00 {
                        opp-hz = /bits/ 64 <200000000>;
-                       opp-microvolt = <800000>;
+                       opp-microvolt = <825000>;
                };
                opp01 {
                        opp-hz = /bits/ 64 <297000000>;
-                       opp-microvolt = <800000>;
+                       opp-microvolt = <825000>;
                };
                opp02 {
                        opp-hz = /bits/ 64 <400000000>;