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

Commit 9e688ec9 authored by David Collins's avatar David Collins
Browse files

ARM: dts: msm: update VDD_APC0/1 CPR loop configurations for sdm845



Reduce the consecutive down setting from 2 to 0 for all threads
on both VDD_APC0 and VDD_APC1 CPRh controllers.  This ensures
the that the CPRh controllers settle the supply voltage down to
the closed-loop voltage very quickly after each OSM triggered
corner switch.

Also increase the count repeat setting for both controllers from
1 to 20 in order to avoid oscillating up, down, up, down voltage
stepping due to PFM voltage ripple.

Change-Id: Ie7f832fe36692bfae00cfd1a07d91ea7f49d7d8a
Signed-off-by: default avatarDavid Collins <collinsd@codeaurora.org>
parent b205a1ee
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -74,7 +74,7 @@
		qcom,cpr-step-quot-init-min = <11>;
		qcom,cpr-step-quot-init-max = <12>;
		qcom,cpr-count-mode = <0>;		/* All at once */
		qcom,cpr-count-repeat = <1>;
		qcom,cpr-count-repeat = <20>;
		qcom,cpr-down-error-step-limit = <1>;
		qcom,cpr-up-error-step-limit = <1>;
		qcom,cpr-corner-switch-delay-time = <1042>;
@@ -103,7 +103,7 @@
		thread@1 {
			qcom,cpr-thread-id = <1>;
			qcom,cpr-consecutive-up = <0>;
			qcom,cpr-consecutive-down = <2>;
			qcom,cpr-consecutive-down = <0>;
			qcom,cpr-up-threshold = <2>;
			qcom,cpr-down-threshold = <2>;

@@ -180,7 +180,7 @@
		thread@0 {
			qcom,cpr-thread-id = <0>;
			qcom,cpr-consecutive-up = <0>;
			qcom,cpr-consecutive-down = <2>;
			qcom,cpr-consecutive-down = <0>;
			qcom,cpr-up-threshold = <2>;
			qcom,cpr-down-threshold = <2>;

@@ -264,7 +264,7 @@
		qcom,cpr-step-quot-init-min = <9>;
		qcom,cpr-step-quot-init-max = <14>;
		qcom,cpr-count-mode = <0>;		/* All at once */
		qcom,cpr-count-repeat = <1>;
		qcom,cpr-count-repeat = <20>;
		qcom,cpr-down-error-step-limit = <1>;
		qcom,cpr-up-error-step-limit = <1>;
		qcom,cpr-corner-switch-delay-time = <1042>;
@@ -296,7 +296,7 @@
		thread@0 {
			qcom,cpr-thread-id = <0>;
			qcom,cpr-consecutive-up = <0>;
			qcom,cpr-consecutive-down = <2>;
			qcom,cpr-consecutive-down = <0>;
			qcom,cpr-up-threshold = <2>;
			qcom,cpr-down-threshold = <2>;