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

Commit 630fc200 authored by Anirudh Ghayal's avatar Anirudh Ghayal Committed by Ashay Jaiswal
Browse files

ARM: dts: msm: Add the DT node for MSMTITANIUM GFX LDO



The GPU core is powered by an LDO/BHS regulator.
Add the device tree properties for this regulator.

Also add the mem-acc regulator node.

Change-Id: I42192943136df9e5f13bc3a1c406a57520a3dc6b
Signed-off-by: default avatarAnirudh Ghayal <aghayal@codeaurora.org>
parent 358d91e6
Loading
Loading
Loading
Loading
+39 −4
Original line number Diff line number Diff line
@@ -410,11 +410,46 @@
		};
	};

	/* GFX Supply */
	gfx_vreg_corner: regulator-gfx-corner {
		compatible = "qcom,stub-regulator";
		regulator-name = "gfx_corner";
	gfx_mem_acc: regulator@0194415c {
		compatible = "qcom,mem-acc-regulator";
		reg = <0x0194415c 0x4>;
		reg-names = "acc-sel-l1";
		regulator-name = "gfx_mem_acc_corner";
		regulator-min-microvolt = <1>;
		regulator-max-microvolt = <2>;

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

	gfx_vreg_corner: ldo@0185f000 {
		compatible = "qcom,msmtitanium-gfx-ldo";
		reg = <0x0185f000 0x30>, <0xa4000 0x1000>;
		reg-names = "ldo_addr", "efuse_addr";

		regulator-name = "msm_gfx_ldo";
		regulator-min-microvolt = <1>;
		regulator-max-microvolt = <7>;

		qcom,ldo-voltage-ceiling = <580000 650000 720000>;
		qcom,ldo-voltage-floor =   <500000 500000 590000>;

		qcom,num-corners = <7>;
		qcom,num-ldo-corners = <3>;
		qcom,ldo-enable-corner-map = <0 0 0 0 0 0 0>;
		qcom,init-corner = <4>;

		vdd-cx-supply = <&pmtitanium_s2_level>;
		qcom,vdd-cx-corner-map = <RPM_SMD_REGULATOR_LEVEL_LOW_SVS>,
					<RPM_SMD_REGULATOR_LEVEL_LOW_SVS>,
					<RPM_SMD_REGULATOR_LEVEL_SVS>,
					<RPM_SMD_REGULATOR_LEVEL_SVS_PLUS>,
					<RPM_SMD_REGULATOR_LEVEL_NOM>,
					<RPM_SMD_REGULATOR_LEVEL_NOM_PLUS>,
					<RPM_SMD_REGULATOR_LEVEL_TURBO>;

		mem-acc-supply = <&gfx_mem_acc>;
		qcom,mem-acc-corner-map = <1 1 1 2 2 2 2>;
	};
};