summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Collins <collinsd@codeaurora.org>2016-12-07 12:02:22 -0800
committerDavid Collins <collinsd@codeaurora.org>2016-12-09 15:58:42 -0800
commite25600294bca6da11df1a2a7551f4c5b11f7ce60 (patch)
tree2e712be4cc69fbbac136f17b9e111f37029d187e
parentb3ce4f602675607f616b3617e54f2dbfd9b25786 (diff)
ARM: dts: msm: disable VDD_APC0/1 CPR aging adjustments on MSM8998v2
Disable VDD_APC0 and VDD_APC1 CPR aging measurement and adjustments for all local CPR fusing revisions. It is unknown which future revision will have the initial aging sensor difference fuse blown. Software must not attempt to perform an aging measurement unless this fuse is blown. Therefore, disable aging measurements on all future revisions. Modify the open-loop and closed-loop voltage adjustments accordingly so that the maximum 15 mV aging margin is present for all CPR revisions. Change-Id: I4546a7994fc0442bf82d36ca0a404a57be8c7dd3 CRs-Fixed: 1097587 Signed-off-by: David Collins <collinsd@codeaurora.org>
-rw-r--r--arch/arm/boot/dts/qcom/msm8998-v2.dtsi144
1 files changed, 68 insertions, 76 deletions
diff --git a/arch/arm/boot/dts/qcom/msm8998-v2.dtsi b/arch/arm/boot/dts/qcom/msm8998-v2.dtsi
index b3c7d02c60b8..3ebcf3fe8c46 100644
--- a/arch/arm/boot/dts/qcom/msm8998-v2.dtsi
+++ b/arch/arm/boot/dts/qcom/msm8998-v2.dtsi
@@ -515,37 +515,37 @@
<40000 24000 12000 30000>,
<40000 24000 12000 30000>,
<40000 24000 12000 30000>,
- <25000 9000 (-3000) 15000>,
- <25000 9000 (-3000) 15000>,
- <25000 9000 (-3000) 15000>,
- <25000 9000 (-3000) 15000>,
+ <40000 24000 12000 30000>,
+ <40000 24000 12000 30000>,
+ <40000 24000 12000 30000>,
+ <40000 24000 12000 30000>,
/* Speed bin 1 */
<40000 24000 12000 30000>,
<40000 24000 12000 30000>,
<40000 24000 12000 30000>,
<40000 24000 12000 30000>,
- <25000 9000 (-3000) 15000>,
- <25000 9000 (-3000) 15000>,
- <25000 9000 (-3000) 15000>,
- <25000 9000 (-3000) 15000>,
+ <40000 24000 12000 30000>,
+ <40000 24000 12000 30000>,
+ <40000 24000 12000 30000>,
+ <40000 24000 12000 30000>,
/* Speed bin 2 */
<40000 24000 12000 30000>,
<40000 24000 12000 30000>,
<40000 24000 12000 30000>,
<40000 24000 12000 30000>,
- <25000 9000 (-3000) 15000>,
- <25000 9000 (-3000) 15000>,
- <25000 9000 (-3000) 15000>,
- <25000 9000 (-3000) 15000>,
+ <40000 24000 12000 30000>,
+ <40000 24000 12000 30000>,
+ <40000 24000 12000 30000>,
+ <40000 24000 12000 30000>,
/* Speed bin 3 */
<40000 24000 12000 30000>,
<40000 24000 12000 30000>,
<40000 24000 12000 30000>,
<40000 24000 12000 30000>,
- <25000 9000 (-3000) 15000>,
- <25000 9000 (-3000) 15000>,
- <25000 9000 (-3000) 15000>,
- <25000 9000 (-3000) 15000>;
+ <40000 24000 12000 30000>,
+ <40000 24000 12000 30000>,
+ <40000 24000 12000 30000>,
+ <40000 24000 12000 30000>;
qcom,cpr-closed-loop-voltage-fuse-adjustment =
/* Speed bin 0 */
@@ -553,37 +553,37 @@
<20000 26000 12000 30000>,
<20000 26000 12000 30000>,
<20000 26000 12000 30000>,
- < 5000 11000 (-3000) 15000>,
- < 5000 11000 (-3000) 15000>,
- < 5000 11000 (-3000) 15000>,
- < 5000 11000 (-3000) 15000>,
+ <20000 26000 12000 30000>,
+ <20000 26000 12000 30000>,
+ <20000 26000 12000 30000>,
+ <20000 26000 12000 30000>,
/* Speed bin 1 */
<20000 26000 12000 30000>,
<20000 26000 12000 30000>,
<20000 26000 12000 30000>,
<20000 26000 12000 30000>,
- < 5000 11000 (-3000) 15000>,
- < 5000 11000 (-3000) 15000>,
- < 5000 11000 (-3000) 15000>,
- < 5000 11000 (-3000) 15000>,
+ <20000 26000 12000 30000>,
+ <20000 26000 12000 30000>,
+ <20000 26000 12000 30000>,
+ <20000 26000 12000 30000>,
/* Speed bin 2 */
<20000 26000 12000 30000>,
<20000 26000 12000 30000>,
<20000 26000 12000 30000>,
<20000 26000 12000 30000>,
- < 5000 11000 (-3000) 15000>,
- < 5000 11000 (-3000) 15000>,
- < 5000 11000 (-3000) 15000>,
- < 5000 11000 (-3000) 15000>,
+ <20000 26000 12000 30000>,
+ <20000 26000 12000 30000>,
+ <20000 26000 12000 30000>,
+ <20000 26000 12000 30000>,
/* Speed bin 3 */
<20000 26000 12000 30000>,
<20000 26000 12000 30000>,
<20000 26000 12000 30000>,
<20000 26000 12000 30000>,
- < 5000 11000 (-3000) 15000>,
- < 5000 11000 (-3000) 15000>,
- < 5000 11000 (-3000) 15000>,
- < 5000 11000 (-3000) 15000>;
+ <20000 26000 12000 30000>,
+ <20000 26000 12000 30000>,
+ <20000 26000 12000 30000>,
+ <20000 26000 12000 30000>;
qcom,allow-voltage-interpolation;
qcom,allow-quotient-interpolation;
@@ -591,11 +591,7 @@
qcom,cpr-aging-ref-corner = <22>;
qcom,cpr-aging-ro-scaling-factor = <1620>;
- qcom,allow-aging-voltage-adjustment =
- <0 0 0 0 1 1 1 1>,
- <0 0 0 0 1 1 1 1>,
- <0 0 0 0 1 1 1 1>,
- <0 0 0 0 1 1 1 1>;
+ qcom,allow-aging-voltage-adjustment = <0>;
};
&apc1_cpr {
@@ -802,37 +798,37 @@
< 8000 0 12000 52000>,
< 8000 0 12000 52000>,
< 8000 0 12000 52000>,
- <(-7000) (-15000) (-3000) 37000>,
- <(-7000) (-15000) (-3000) 37000>,
- <(-7000) (-15000) (-3000) 37000>,
- <(-7000) (-15000) (-3000) 37000>,
+ < 8000 0 12000 52000>,
+ < 8000 0 12000 52000>,
+ < 8000 0 12000 52000>,
+ < 8000 0 12000 52000>,
/* Speed bin 1 */
< 8000 0 12000 52000>,
< 8000 0 12000 52000>,
< 8000 0 12000 52000>,
< 8000 0 12000 52000>,
- <(-7000) (-15000) (-3000) 37000>,
- <(-7000) (-15000) (-3000) 37000>,
- <(-7000) (-15000) (-3000) 37000>,
- <(-7000) (-15000) (-3000) 37000>,
+ < 8000 0 12000 52000>,
+ < 8000 0 12000 52000>,
+ < 8000 0 12000 52000>,
+ < 8000 0 12000 52000>,
/* Speed bin 2 */
< 8000 0 12000 52000>,
< 8000 0 12000 52000>,
< 8000 0 12000 52000>,
< 8000 0 12000 52000>,
- <(-7000) (-15000) (-3000) 37000>,
- <(-7000) (-15000) (-3000) 37000>,
- <(-7000) (-15000) (-3000) 37000>,
- <(-7000) (-15000) (-3000) 37000>,
+ < 8000 0 12000 52000>,
+ < 8000 0 12000 52000>,
+ < 8000 0 12000 52000>,
+ < 8000 0 12000 52000>,
/* Speed bin 3 */
< 8000 0 12000 52000>,
< 8000 0 12000 52000>,
< 8000 0 12000 52000>,
< 8000 0 12000 52000>,
- <(-7000) (-15000) (-3000) 37000>,
- <(-7000) (-15000) (-3000) 37000>,
- <(-7000) (-15000) (-3000) 37000>,
- <(-7000) (-15000) (-3000) 37000>;
+ < 8000 0 12000 52000>,
+ < 8000 0 12000 52000>,
+ < 8000 0 12000 52000>,
+ < 8000 0 12000 52000>;
qcom,cpr-closed-loop-voltage-fuse-adjustment =
/* Speed bin 0 */
@@ -840,37 +836,37 @@
< 0 0 12000 50000>,
< 0 0 12000 50000>,
< 0 0 12000 50000>,
- <(-15000) (-15000) (-3000) 35000>,
- <(-15000) (-15000) (-3000) 35000>,
- <(-15000) (-15000) (-3000) 35000>,
- <(-15000) (-15000) (-3000) 35000>,
+ < 0 0 12000 50000>,
+ < 0 0 12000 50000>,
+ < 0 0 12000 50000>,
+ < 0 0 12000 50000>,
/* Speed bin 1 */
< 0 0 12000 50000>,
< 0 0 12000 50000>,
< 0 0 12000 50000>,
< 0 0 12000 50000>,
- <(-15000) (-15000) (-3000) 35000>,
- <(-15000) (-15000) (-3000) 35000>,
- <(-15000) (-15000) (-3000) 35000>,
- <(-15000) (-15000) (-3000) 35000>,
- /* Speed bin 0 */
< 0 0 12000 50000>,
< 0 0 12000 50000>,
< 0 0 12000 50000>,
< 0 0 12000 50000>,
- <(-15000) (-15000) (-3000) 35000>,
- <(-15000) (-15000) (-3000) 35000>,
- <(-15000) (-15000) (-3000) 35000>,
- <(-15000) (-15000) (-3000) 35000>,
- /* Speed bin 1 */
+ /* Speed bin 2 */
+ < 0 0 12000 50000>,
+ < 0 0 12000 50000>,
+ < 0 0 12000 50000>,
+ < 0 0 12000 50000>,
+ < 0 0 12000 50000>,
+ < 0 0 12000 50000>,
+ < 0 0 12000 50000>,
+ < 0 0 12000 50000>,
+ /* Speed bin 3 */
< 0 0 12000 50000>,
< 0 0 12000 50000>,
< 0 0 12000 50000>,
< 0 0 12000 50000>,
- <(-15000) (-15000) (-3000) 35000>,
- <(-15000) (-15000) (-3000) 35000>,
- <(-15000) (-15000) (-3000) 35000>,
- <(-15000) (-15000) (-3000) 35000>;
+ < 0 0 12000 50000>,
+ < 0 0 12000 50000>,
+ < 0 0 12000 50000>,
+ < 0 0 12000 50000>;
qcom,allow-voltage-interpolation;
qcom,allow-quotient-interpolation;
@@ -878,11 +874,7 @@
qcom,cpr-aging-ref-corner = <32 26 30 31>;
qcom,cpr-aging-ro-scaling-factor = <1700>;
- qcom,allow-aging-voltage-adjustment =
- <0 0 0 0 1 1 1 1>,
- <0 0 0 0 1 1 1 1>,
- <0 0 0 0 1 1 1 1>,
- <0 0 0 0 1 1 1 1>;
+ qcom,allow-aging-voltage-adjustment = <0>;
};
&pm8005_s1 {