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

Commit 0905449a authored by Fenglin Wu's avatar Fenglin Wu Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: enable memory accelerator control in CPR for msm8916



The memory accelerator controls delays while accessing memories. Enable
memory accelerator control in CPR for msm8916, the delays will change
according to the CPR corners scaling.

Change-Id: Ib1ff92442407f1bf929153bd3b680cbc97a46c6f
Signed-off-by: default avatarFenglin Wu <fenglinw@codeaurora.org>
parent fbcf62f4
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -40,6 +40,19 @@
/* CPR controlled regulator */

&soc {
	mem_acc_vreg_corner: regulator@1946000 {
		compatible = "qcom,mem-acc-regulator";
		reg = <0x1946000 0x4>, <0x1946000 0x4>;
		reg-names = "acc-sel-l1", "acc-sel-l2";
		regulator-name = "mem_acc_corner";
		regulator-min-microvolt = <1>;
		regulator-max-microvolt = <3>;

		qcom,acc-sel-l1-bit-pos = <0>;
		qcom,acc-sel-l2-bit-pos = <8>;
		qcom,corner-acc-map = <0 1 1>;
	};

	apc_vreg_corner: regulator@b018000 {
		compatible = "qcom,cpr-regulator";
		reg = <0xb018000 0x1000>, <0xb011064 4>, <0x58000 0x1000>;
@@ -58,6 +71,8 @@
		vdd-mx-supply = <&pm8916_l3>;
		qcom,vdd-mx-vmax = <1287500>;

		mem-acc-supply = <&mem_acc_vreg_corner>;

		qcom,cpr-ref-clk = <19200>;
		qcom,cpr-timer-delay = <5000>;
		qcom,cpr-timer-cons-up = <0>;