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

Commit b7d8a0a0 authored by David Collins's avatar David Collins
Browse files

ARM: dts: msm: update APC0 speed bin 1 CPRh regulator config for SDM845 v2



Increase the highest frequency supported by the VDD_APC0 L3 CPRh
regulator on SDM845v2 parts with SPEED_BIN=1 from 1478.4 MHz to
1593.6 MHz.  This ensures that performance improvements based
upon characterization results can be realized.

Also increase the VDD_APC0 CPR Turbo ceiling voltage to 1000 mV
for both the L3 and power cluster CPRh regulators.  This ensures
proper operation on all chips.

Change-Id: I9a7e0d2f67e5006b967bcd9b2a75776821991865
Signed-off-by: default avatarDavid Collins <collinsd@codeaurora.org>
parent 8e0e97e8
Loading
Loading
Loading
Loading
+41 −9
Original line number Original line Diff line number Diff line
@@ -95,7 +95,7 @@
					<828000  828000  828000  828000  828000
					<828000  828000  828000  828000  828000
					 828000  828000  828000  828000  828000
					 828000  828000  828000  828000  828000
					 828000  828000  828000  828000  828000
					 828000  828000  828000  828000  828000
					 884000  952000  952000>;
					 884000 1000000 1000000>;


				qcom,cpr-voltage-floor =
				qcom,cpr-voltage-floor =
					<568000  568000  568000  568000  568000
					<568000  568000  568000  568000  568000
@@ -164,37 +164,69 @@
			apc0_l3_vreg: regulator {
			apc0_l3_vreg: regulator {
				regulator-name = "apc0_l3_corner";
				regulator-name = "apc0_l3_corner";
				regulator-min-microvolt = <1>;
				regulator-min-microvolt = <1>;
				regulator-max-microvolt = <14>;
				regulator-max-microvolt = <15>;


				qcom,cpr-fuse-corners = <4>;
				qcom,cpr-fuse-corners = <4>;
				qcom,cpr-fuse-combos = <16>;
				qcom,cpr-fuse-combos = <16>;
				qcom,cpr-speed-bins = <2>;
				qcom,cpr-speed-bins = <2>;
				qcom,cpr-speed-bin-corners = <14 14>;
				qcom,cpr-speed-bin-corners = <14 15>;
				qcom,cpr-corners = <14>;
				qcom,cpr-corners =
					/* Speed bin 0 */
					<14 14 14 14 14 14 14 14>,
					/* Speed bin 1 */
					<15 15 15 15 15 15 15 15>;


				qcom,cpr-corner-fmax-map = <4 8 11 14>;
				qcom,cpr-corner-fmax-map =
					/* Speed bin 0 */
					<4 8 11 14>,
					/* Speed bin 1 */
					<4 8 11 15>;


				qcom,cpr-voltage-ceiling =
				qcom,cpr-voltage-ceiling =
					/* Speed bin 0 */
					<828000  828000  828000  828000  828000
					<828000  828000  828000  828000  828000
					 828000  828000  828000  828000  828000
					 828000  828000  828000  828000  828000
					 828000  884000  884000  952000>;
					 828000  884000  884000 1000000>,
					/* Speed bin 1 */
					<828000  828000  828000  828000  828000
					 828000  828000  828000  828000  828000
					 828000  884000  884000 1000000
					1000000>;


				qcom,cpr-voltage-floor =
				qcom,cpr-voltage-floor =
					/* Speed bin 0 */
					<568000  568000  568000  568000  568000
					<568000  568000  568000  568000  568000
					 568000  568000  568000  568000  568000
					 568000  568000  568000  568000  568000
					 568000  568000  568000  568000>;
					 568000  568000  568000  568000>,
					/* Speed bin 1 */
					<568000  568000  568000  568000  568000
					 568000  568000  568000  568000  568000
					 568000  568000  568000  568000
					 568000>;


				qcom,cpr-floor-to-ceiling-max-range =
				qcom,cpr-floor-to-ceiling-max-range =
					/* Speed bin 0 */
					<32000  32000  32000  32000  32000
					 32000  32000  32000  32000  32000
					 32000  32000  32000  40000>,
					/* Speed bin 1 */
					<32000  32000  32000  32000  32000
					<32000  32000  32000  32000  32000
					 32000  32000  32000  32000  32000
					 32000  32000  32000  32000  32000
					 32000  32000  32000  40000>;
					 32000  32000  32000  40000  40000>;


				qcom,corner-frequencies =
				qcom,corner-frequencies =
					/* Speed bin 0 */
					<300000000  403200000  480000000
					 576000000  652800000  748800000
					 844800000  940800000 1036800000
					1132800000 1209600000 1305600000
					1401600000 1478400000>,
					/* Speed bin 1 */
					<300000000  403200000  480000000
					<300000000  403200000  480000000
					 576000000  652800000  748800000
					 576000000  652800000  748800000
					 844800000  940800000 1036800000
					 844800000  940800000 1036800000
					1132800000 1209600000 1305600000
					1132800000 1209600000 1305600000
					1401600000 1478400000>;
					1401600000 1497600000 1593600000>;


				qcom,cpr-ro-scaling-factor =
				qcom,cpr-ro-scaling-factor =
					<2857 3056 2828 2952 2699 2796 2447
					<2857 3056 2828 2952 2699 2796 2447