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

Commit ef14f687 authored by Anirudh Ghayal's avatar Anirudh Ghayal
Browse files

ARM: dts: msm: Adjust the NOM corner CPR configuration for 8939



Add changes to
- Move 1.036 GHz and 1.113 GHz into NOM corner
- Selectively adjust CPR quotient offset in NOM corner
- Selectively adjust the floor-voltage in NOM corner

This change is to improve the performance by including higher
frequencies into the NOM corner. It also reduces the power
impact by allowing these frequencies to run at lower voltages.

Change-Id: I4277ab94266c7e6400aac086dc10d54da948117b
Signed-off-by: default avatarAnirudh Ghayal <aghayal@codeaurora.org>
parent f38a3fad
Loading
Loading
Loading
Loading
+32 −5
Original line number Diff line number Diff line
@@ -117,7 +117,7 @@
					<27 0 6 0>;
		qcom,cpr-init-voltage-step = <10000>;
		qcom,cpr-init-voltage-as-ceiling;
		qcom,cpr-corner-map = <1 1 1 2 2 2 2 2 2 2 2 2 3 3 3 3 3 3 3 3
		qcom,cpr-corner-map = <1 1 1 2 2 2 2 2 2 2 2 2 2 2 3 3 3 3 3 3
					3 3 3 3 3 3>;
		qcom,cpr-corner-frequency-map =
					<1 200000000>,
@@ -148,11 +148,38 @@
					<26 1708800000>;
		qcom,speed-bin-fuse-sel = <1 34 3 0>;
		qcom,cpr-speed-bin-max-corners =
					<0 0 3 12 17>,
					<2 0 3 12 19>,
					<4 0 3 12 26>,
					<5 0 3 12 24>;
					<0 0 3 14 17>,
					<0 1 3 14 17>,
					<2 0 3 14 19>,
					<2 1 3 14 19>,
					<4 0 3 14 26>,
					<4 1 3 14 26>,
					<5 0 3 14 24>,
					<5 1 3 14 24>;
		qcom,cpr-quot-adjust-scaling-factor-max = <900>;
		qcom,pvs-version-fuse-sel = <0 45 1 0>;
		qcom,cpr-fuse-version-map =
			<0xffffffff 0 0xffffffff 0xffffffff
					0xffffffff 0xffffffff>,
			<0xffffffff 1 0xffffffff 0xffffffff
					0xffffffff 0xffffffff>;
		qcom,cpr-init-voltage-adjustment =
					<0 50000 0>,
					<0 20000 0>;
		qcom,cpr-quotient-adjustment =
					<0 104 0>,
					<0  41 0>;
		qcom,cpr-virtual-corner-quotient-adjustment =
			<0 0 0 (-104) (-104) (-104) (-104) (-104) (-104) (-104)
			 (-104) (-41) (-41) 0 0 0 0 0 0 0 0 0 0 0 0 0>,
			<0 0 0 (-104) (-104) (-104) (-104) (-104) (-104) (-104)
			 (-104) (-41) (-41) 0 0 0 0 0 0 0 0 0 0 0 0 0>;
		qcom,cpr-voltage-floor-override =
			<0xffffffff 0xffffffff 1050000 1050000 1050000
			1050000 1050000 1050000 1050000 1050000 1050000
			1050000 1050000 1050000 1050000 1100000 1137500
			1137500 1137500 1137500 1137500 1137500 1137500
			1137500 1137500 1137500 1137500 1137500>;
		qcom,cpr-enable;
	};
};