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

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

ARM: dts: msm: Enable APC CPR closed loop operation for 8952



Enable the APC CPR controller to control the VDD_APC voltage.
Enable quotient scaling for NOMINAL operating mode.
Use open-loop voltages as ceiling voltage limits.
Update the floor voltage limit for Turbo operating mode.
Apply 40mV static reduction for the parts with CPR revision
bits fused as '1'.

Change-Id: Idd85caec1c856e251fcf5461a9b2bda963a231f0
Signed-off-by: default avatarTirupathi Reddy <tirupath@codeaurora.org>
parent 8c955c31
Loading
Loading
Loading
Loading
+17 −6
Original line number Diff line number Diff line
@@ -330,7 +330,7 @@

		qcom,cpr-fuse-corners = <3>;
		qcom,cpr-voltage-ceiling = <1050000 1225000 1350000>;
		qcom,cpr-voltage-floor = <1050000 1050000 1155000>;
		qcom,cpr-voltage-floor = <1050000 1050000 1130000>;
		vdd-apc-supply = <&pm8950_s5>;

		vdd-mx-supply = <&pm8950_l3_level_ao>;
@@ -362,9 +362,9 @@
		qcom,cpr-timer-cons-up = <0>;
		qcom,cpr-timer-cons-down = <2>;
		qcom,cpr-irq-line = <0>;
		qcom,cpr-step-quotient = <10>;
		qcom,cpr-up-threshold = <0>;
		qcom,cpr-down-threshold = <2>;
		qcom,cpr-step-quotient = <16>;
		qcom,cpr-up-threshold = <2>;
		qcom,cpr-down-threshold = <4>;
		qcom,cpr-idle-clocks = <15>;
		qcom,cpr-gcnt-time = <1>;
		qcom,vdd-apc-step-up-limit = <1>;
@@ -397,8 +397,19 @@
				<8 1651200000>;
		qcom,speed-bin-fuse-sel = <1 34 3 0>;
		qcom,cpr-speed-bin-max-corners =
					<0 0 1 4 7>;
		qcom,cpr-quot-adjust-scaling-factor-max = <1400>;
					<0 0 1 5 7>,
					<1 0 1 5 7>,
					<2 0 1 5 8>;
		qcom,cpr-quot-adjust-scaling-factor-max = <0 1400 1400>;
		qcom,cpr-fuse-revision = <30 61 3 0>;
		qcom,cpr-fuse-version-map =
		/* <Speed_bits PVS_version CPR_Rev - - -> */
			<0xffffffff 0xffffffff 1 0xffffffff 0xffffffff
				0xffffffff>;
		qcom,cpr-quotient-adjustment =
			<0 (-66) (-66)>; /* NOM - 40mv, TURBO - 40mv */
		qcom,cpr-init-voltage-as-ceiling;
		qcom,cpr-enable;
	};
};