ipq806x: fix pvs1_bin voltage in ipq8065 DT
authorPavel Kubelun <be.dissent@gmail.com>
Thu, 22 Dec 2016 09:17:25 +0000 (12:17 +0300)
committerJohn Crispin <john@phrozen.org>
Tue, 10 Jan 2017 07:11:14 +0000 (08:11 +0100)
Fixing pvs1 bin voltage as found in GPL tarball and Qualcomm SDK.

Also adjusting smb208_s2a/b minimum voltage to reflect lowest value in pvs table.

Current ipq8065 devices in LEDE choose (based on eFuse data) pvs bin n4, that has
correct values in DT, but in future a new device may choose n1 or n6.

Without this change n1 is semi-correct and n6 is not available, because OPP driver
disregards bins with voltage values that regulator cannot supply.

Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065.dtsi

index 614610c0168d5d39c86302a5053dc6303f60ed63..d4fbbe29f19ba63a35577885dc621b22e0d44634 100644 (file)
                         < 600000000 1000000 >,
                         < 384000000 975000 >;
                qcom,speed0-pvs1-bin-v0 =
-                       < 1725000000 1262500 >,
-                       < 1400000000 1175000 >,
-                       < 1000000000 1100000 >,
-                        < 800000000 1050000 >,
-                        < 600000000 1000000 >,
+                       < 1725000000 1225000 >,
+                       < 1400000000 1150000 >,
+                       < 1000000000 1075000 >,
+                        < 800000000 1025000 >,
+                        < 600000000 975000 >,
                         < 384000000 950000 >;
                qcom,speed0-pvs2-bin-v0 =
                        < 1725000000 1200000 >,
                                };
 
                                smb208_s2a: s2a {
-                                       regulator-min-microvolt = < 800000>;
+                                       regulator-min-microvolt = <775000>;
                                        regulator-max-microvolt = <1275000>;
                                        qcom,switch-mode-frequency = <1200000>;
                                };
 
                                smb208_s2b: s2b {
-                                       regulator-min-microvolt = < 800000>;
+                                       regulator-min-microvolt = <775000>;
                                        regulator-max-microvolt = <1275000>;
                                        qcom,switch-mode-frequency = <1200000>;
                                };