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

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

ARM: dts: msm: set APC0/1 CPR QUOT and init-volt adjustments for msm8994v2



Specify conditional CPR target quotient and initial voltage
adjustment values for VDD_APC0 and VDD_APC1 cpr-regulator devices
on MSM8994 v2 boards.  These adjustments remove excess voltage
margin from the target values used by the APC0 and APC1 CPR
controllers.  This in turn reduces system power consumption.

Change-Id: I406f2436f63d6bbbac2eaa9311c2612562116e5d
Signed-off-by: default avatarDavid Collins <collinsd@codeaurora.org>
parent ad474167
Loading
Loading
Loading
Loading
+34 −0
Original line number Diff line number Diff line
@@ -635,6 +635,7 @@
					<138  0 6 0>,
					<138  6 6 0>,
					<138 12 6 0>;
		qcom,cpr-fuse-revision = <62 48 3 0>;

		qcom,fuse-remap-base-row = <1000>;
		qcom,fuse-remap-source =
@@ -663,6 +664,19 @@
					      790000 815000 835000 900000
					      935000 940000 965000 990000>;

		qcom,cpr-fuse-version-map =
				<0xffffffff 0xffffffff 1 0 0 0 0>,
				<0xffffffff 0xffffffff 2 0 0 0 0>,
				<0xffffffff 0xffffffff 3 0 0 0 0>;
		qcom,cpr-quotient-adjustment =
				<0 0 0 (-140)>,
				<0 0 0 (-140)>,
				<0 0 0 (-50)>;
		qcom,cpr-init-voltage-adjustment =
				<0 0 0 (-70000)>,
				<0 0 0 (-70000)>,
				<0 0 0 (-25000)>;

		qcom,cpr-scaled-init-voltage-as-ceiling;
		qcom,cpr-voltage-scaling-factor-max = <0 0 2000 2000>;
		qcom,cpr-quot-adjust-scaling-factor-max = <0 2000 2000 2000>;
@@ -734,6 +748,7 @@
					<138 54 6 0>,
					<138 60 6 0>,
					<139  2 6 0>;
		qcom,cpr-fuse-revision = <62 48 3 0>;

		qcom,fuse-remap-base-row = <1000>;
		qcom,fuse-remap-source =
@@ -764,6 +779,25 @@
					      865000 880000 895000 915000
					      935000 940000 960000 990000>;

		qcom,cpr-fuse-version-map =
				<0xffffffff 0xffffffff 1 6 6 6 6>,
				<0xffffffff 0xffffffff 2 6 6 6 6>,
				<0xffffffff 0xffffffff 2 4 4 4 4>,
				<0xffffffff 0xffffffff 3 4 4 4 4>,
				<0xffffffff 0xffffffff 4 4 4 4 4>;
		qcom,cpr-quotient-adjustment =
				<0 0 0 (-60)>,
				<0 0 0 (-60)>,
				<0 0 0 (-210)>,
				<0 0 0 (-115)>,
				<0 0 0 (-115)>;
		qcom,cpr-init-voltage-adjustment =
				<0 0 0 (-80000)>,
				<0 0 0 (-80000)>,
				<0 0 0 (-80000)>,
				<0 0 0 (-35000)>,
				<0 0 0 (-35000)>;

		qcom,cpr-scaled-init-voltage-as-ceiling;
		qcom,cpr-voltage-scaling-factor-max = <0 0 2000 2000>;
		qcom,cpr-quot-adjust-scaling-factor-max = <0 2000 2000 2000>;
+8 −0
Original line number Diff line number Diff line
@@ -112,6 +112,7 @@
				<138  0 6 0>,
				<138  6 6 0>,
				<138 12 6 0>;
	qcom,cpr-fuse-revision = <62 48 2 0>;

	qcom,fuse-remap-base-row = <1000>;
	qcom,fuse-remap-source =
@@ -135,6 +136,9 @@
			<0xFFFFFFFF 0 725000 800000 840000 860000 860000
				      900000 900000 940000 940000>;

	/delete-property/ qcom,cpr-fuse-version-map;
	/delete-property/ qcom,cpr-init-voltage-adjustment;

	qcom,cpr-voltage-scaling-factor-max = <0 2000 2000>;
	qcom,cpr-quot-adjust-scaling-factor-max = <0 2000 2000>;
	qcom,cpr-corner-frequency-map =
@@ -180,6 +184,7 @@
				<138 54 6 0>,
				<138 60 6 0>,
				<139  2 6 0>;
	qcom,cpr-fuse-revision = <62 48 2 0>;

	qcom,fuse-remap-base-row = <1000>;
	qcom,fuse-remap-source =
@@ -203,6 +208,9 @@
			<0xFFFFFFFF 0 725000 790000 840000 840000 860000
				      890000 920000 940000>;

	/delete-property/ qcom,cpr-fuse-version-map;
	/delete-property/ qcom,cpr-init-voltage-adjustment;

	qcom,cpr-voltage-scaling-factor-max = <0 2000 2000>;
	qcom,cpr-quot-adjust-scaling-factor-max = <0 2000 2000>;
	qcom,cpr-corner-frequency-map =