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

Commit a433ffbc authored by Anirudh Ghayal's avatar Anirudh Ghayal
Browse files

ARM: dts: msm: Add device node for mem-acc-regulator on msm8926-v2



The mem-acc-regulator adds support to select power-mode
for the memory accelerator. Specify the device node properties
for this regulator. Also, pass its handle to the CPR driver.

Change-Id: Ia9789116b2e14a045aa4f9c64e18f2243ef43aa9
Signed-off-by: default avatarAnirudh Ghayal <aghayal@codeaurora.org>
parent a91a0bde
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
@@ -17,6 +17,22 @@
		      <224 0x20000>;
};

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

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

&pm8226_l3 {
	regulator-max-microvolt = <1287500>;
};
@@ -41,6 +57,7 @@
	qcom,vdd-mx-vmax = <1287500>;
	qcom,vdd-mx-vmin-method = <4>;
	qcom,vdd-mx-corner-map = <1050000 1150000 1280000>;
	mem-acc-supply = <&mem_acc_vreg_corner>;
};

&msm_gpu {