[source] ipq806x: fix pvs1_bin voltage in ipq8065 DT

LEDE Commits lede-commits at lists.infradead.org
Tue Jan 10 00:45:00 PST 2017


blogic pushed a commit to source.git, branch master:
https://git.lede-project.org/6ebb46a40a246f986f4ed6f1de43beb4268f8167

commit 6ebb46a40a246f986f4ed6f1de43beb4268f8167
Author: Pavel Kubelun <be.dissent at gmail.com>
AuthorDate: Thu Dec 22 12:17:25 2016 +0300

    ipq806x: fix pvs1_bin voltage in ipq8065 DT
    
    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 at gmail.com>
---
 .../ipq806x/files/arch/arm/boot/dts/qcom-ipq8065.dtsi      | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065.dtsi b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065.dtsi
index 614610c..d4fbbe2 100644
--- a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065.dtsi
+++ b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065.dtsi
@@ -222,11 +222,11 @@
 			 < 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 >,
@@ -340,13 +340,13 @@
 				};
 
 				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>;
 				};



More information about the lede-commits mailing list