From 36015d8392eaea996c4c5b4184367ceafdeb26a4 Mon Sep 17 00:00:00 2001 From: Osvaldo Banuelos Date: Wed, 11 May 2016 17:24:17 -0700 Subject: [PATCH] ARM: dts: msm: restrict VDD_APC voltages to NOM for CPR rev 0 on msmcobalt Raise the VDD_APC0 and VDD_APC1 CPR floor voltages to be equal to the Nominal ceiling voltage on CPR revision 0 parts. Also, increase the number of supported fuse combos to 8, to support up to 8 CPR revisions using a single speed bin. This ensures stable operation on some msmcobalt CPR revision 0 parts that cannot operate reliably with SVS2/SVS voltages and has no impact to CPR rev 1 and greater parts. Change-Id: I6913a168596b34f527f689360f93fdf15b7d2f10 CRs-Fixed: 1014782 Signed-off-by: Osvaldo Banuelos --- arch/arm/boot/dts/qcom/msmcobalt-regulator.dtsi | 106 +++++++++++++++++++++--- 1 file changed, 94 insertions(+), 12 deletions(-) diff --git a/arch/arm/boot/dts/qcom/msmcobalt-regulator.dtsi b/arch/arm/boot/dts/qcom/msmcobalt-regulator.dtsi index ba9f51706e44..933ba61b891e 100644 --- a/arch/arm/boot/dts/qcom/msmcobalt-regulator.dtsi +++ b/arch/arm/boot/dts/qcom/msmcobalt-regulator.dtsi @@ -627,25 +627,58 @@ regulator-max-microvolt = <23>; qcom,cpr-fuse-corners = <4>; - qcom,cpr-fuse-combos = <1>; + qcom,cpr-fuse-combos = <8>; qcom,cpr-corners = <22>; qcom,cpr-corner-fmax-map = <7 10 17 22>; qcom,cpr-voltage-ceiling = - <896000 896000 896000 896000 - 896000 896000 896000 896000 - 896000 896000 896000 896000 - 896000 896000 896000 896000 - 896000 1032000 1032000 1032000 + <896000 896000 896000 896000 896000 + 896000 896000 896000 896000 896000 + 896000 896000 896000 896000 896000 + 896000 896000 1032000 1032000 1032000 1112000 1112000>; qcom,cpr-voltage-floor = - <572000 572000 572000 572000 - 572000 572000 572000 572000 - 572000 572000 664000 664000 - 664000 664000 664000 664000 - 664000 752000 752000 752000 + <896000 896000 896000 896000 896000 + 896000 896000 896000 896000 896000 + 896000 896000 896000 896000 896000 + 896000 896000 896000 896000 896000 + 896000 896000>, + <572000 572000 572000 572000 572000 + 572000 572000 572000 572000 572000 + 664000 664000 664000 664000 664000 + 664000 664000 752000 752000 752000 + 752000 752000>, + <572000 572000 572000 572000 572000 + 572000 572000 572000 572000 572000 + 664000 664000 664000 664000 664000 + 664000 664000 752000 752000 752000 + 752000 752000>, + <572000 572000 572000 572000 572000 + 572000 572000 572000 572000 572000 + 664000 664000 664000 664000 664000 + 664000 664000 752000 752000 752000 + 752000 752000>, + <572000 572000 572000 572000 572000 + 572000 572000 572000 572000 572000 + 664000 664000 664000 664000 664000 + 664000 664000 752000 752000 752000 + 752000 752000>, + <572000 572000 572000 572000 572000 + 572000 572000 572000 572000 572000 + 664000 664000 664000 664000 664000 + 664000 664000 752000 752000 752000 + 752000 752000>, + <572000 572000 572000 572000 572000 + 572000 572000 572000 572000 572000 + 664000 664000 664000 664000 664000 + 664000 664000 752000 752000 752000 + 752000 752000>, + <572000 572000 572000 572000 572000 + 572000 572000 572000 572000 572000 + 664000 664000 664000 664000 664000 + 664000 664000 752000 752000 752000 752000 752000>; qcom,cpr-floor-to-ceiling-max-range = @@ -716,7 +749,7 @@ regulator-max-microvolt = <26>; qcom,cpr-fuse-corners = <4>; - qcom,cpr-fuse-combos = <1>; + qcom,cpr-fuse-combos = <8>; qcom,cpr-corners = <25>; qcom,cpr-corner-fmax-map = <8 12 18 25>; @@ -731,6 +764,55 @@ 1112000>; qcom,cpr-voltage-floor = + <896000 896000 896000 896000 + 896000 896000 896000 896000 + 896000 896000 896000 896000 + 896000 896000 896000 896000 + 896000 896000 896000 896000 + 896000 896000 896000 896000 + 896000>, + <572000 572000 572000 572000 + 572000 572000 572000 572000 + 572000 572000 572000 572000 + 664000 664000 664000 664000 + 664000 664000 752000 752000 + 752000 752000 752000 752000 + 752000>, + <572000 572000 572000 572000 + 572000 572000 572000 572000 + 572000 572000 572000 572000 + 664000 664000 664000 664000 + 664000 664000 752000 752000 + 752000 752000 752000 752000 + 752000>, + <572000 572000 572000 572000 + 572000 572000 572000 572000 + 572000 572000 572000 572000 + 664000 664000 664000 664000 + 664000 664000 752000 752000 + 752000 752000 752000 752000 + 752000>, + <572000 572000 572000 572000 + 572000 572000 572000 572000 + 572000 572000 572000 572000 + 664000 664000 664000 664000 + 664000 664000 752000 752000 + 752000 752000 752000 752000 + 752000>, + <572000 572000 572000 572000 + 572000 572000 572000 572000 + 572000 572000 572000 572000 + 664000 664000 664000 664000 + 664000 664000 752000 752000 + 752000 752000 752000 752000 + 752000>, + <572000 572000 572000 572000 + 572000 572000 572000 572000 + 572000 572000 572000 572000 + 664000 664000 664000 664000 + 664000 664000 752000 752000 + 752000 752000 752000 752000 + 752000>, <572000 572000 572000 572000 572000 572000 572000 572000 572000 572000 572000 572000 -- 2.11.0