From: Pavel Kubelun Date: Thu, 22 Dec 2016 09:17:25 +0000 (+0300) Subject: ipq806x: fix pvs1_bin voltage in ipq8065 DT X-Git-Tag: v17.01.0-rc1~211 X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=commitdiff_plain;h=6ebb46a40a246f986f4ed6f1de43beb4268f8167 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 --- 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 614610c016..d4fbbe29f1 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>; };