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

Commit 4b7f898f authored by Tirupathi Reddy's avatar Tirupathi Reddy
Browse files

ARM: dts: msm: Add mem-acc-regulator device for 8909



The memory accelerator controls delays while accessing memories, the
delays should be changed according to CPR corner switching.

Add a mem-acc-regulator device node and assign it to mem-acc-supply
property in CPR device node. This make sure that the memory accelerator
can be controlled while changing corners.

Change-Id: I24d8733010a8facd07251fbbdcf03b90e9608e31
Signed-off-by: default avatarTirupathi Reddy <tirupath@codeaurora.org>
parent 88ada96a
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -20,6 +20,18 @@
	/delete-node/ regulator@1946000;
	/delete-node/ regulator@b018000;

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

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

	apc_vreg_corner: regulator@b018000 {
		compatible = "qcom,cpr-regulator";
		reg = <0xb018000 0x1000>, <0xb011064 4>, <0x58000 0x1000>;
@@ -38,6 +50,9 @@
		qcom,vdd-mx-vmin-method = <4>;
		vdd-mx-supply = <&pm8916_l3_corner_ao>;
		qcom,vdd-mx-vmax = <7>;

		mem-acc-supply = <&mem_acc_vreg_corner>;

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