Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9c1d38d2 authored by Tirupathi Reddy's avatar Tirupathi Reddy Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: Update 8952 CPR device node as per voltage plan



Apply static voltage and quotient adjustments as per voltage plan.
Also, enable CPR Open-loop voltage scaling to derive the scaled
initial voltages for intermediate frequencies.

CRs-Fixed: 849156
Change-Id: I3b7d939d8c601c876ff02fa5a86728e2aa0043f8
Signed-off-by: default avatarTirupathi Reddy <tirupath@codeaurora.org>
parent fe991647
Loading
Loading
Loading
Loading
+19 −5
Original line number Diff line number Diff line
@@ -404,11 +404,25 @@
		qcom,cpr-fuse-revision = <30 61 3 0>;
		qcom,cpr-fuse-version-map =
		/* <Speed_bits PVS_version CPR_Rev - - -> */
			<0xffffffff 0xffffffff 1 0xffffffff 0xffffffff
			<0          0xffffffff          1 0xffffffff 0xffffffff
								0xffffffff>,
			<1          0xffffffff          2 0xffffffff 0xffffffff
								0xffffffff>,
			<0xffffffff 0xffffffff 0xffffffff 0xffffffff 0xffffffff
								0xffffffff>;
		qcom,cpr-quotient-adjustment =
			<0 (-66) (-66)>; /* NOM - 40mv, TURBO - 40mv */
		qcom,cpr-init-voltage-as-ceiling;
		qcom,cpr-virtual-corner-quotient-adjustment =
			<0 (-124) (-124) (-124) (-132) (-58) (-132) (-132)>,
			<0    0      0      0      0     0      17    17>,
			<0    0      0      0      0     0       0     0>;
		qcom,cpr-floor-to-ceiling-max-range =
			<(-1) (-1) (-1) (-1) (-1) (-1) 50000 50000>,
			<(-1) (-1) (-1) (-1) (-1) (-1) 50000 50000>,
			<(-1) (-1) (-1) (-1) (-1) (-1) 50000 50000>;
		qcom,cpr-scaled-init-voltage-as-ceiling;
		qcom,cpr-voltage-scaling-factor-max = <0 2000 2000>;
		qcom,cpr-voltage-floor-override =
			<0xffffffff 0xffffffff 1050000 1050000 1050000
			1050000 1050000 1130000 1155000 1155000>;
		qcom,cpr-enable;
	};
};