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

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

ARM: dts: msm: make VDD_CX dependent upon VDD_MX for sdm845



Specify the active + sleep and active-only VDD_MX regulators as
the parents of the corresponding VDD_CX regulators.  Also specify
a minimum dropout voltage level of -1.  This will ensure that
VDD_CX requests automatically generate equivalent VDD_MX requests
since voltage levels are sparsely defined and get rounded up.

This is used to enforce a requirement that exists for various
hardware blocks that VDD_MX voltage level >= VDD_CX voltage level
for a given operating frequency.

Change-Id: I8406908c1c0c9ce650824126aa44e96fddf2d20a
Signed-off-by: default avatarDavid Collins <collinsd@codeaurora.org>
parent d86a172f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -142,11 +142,14 @@
		compatible = "qcom,rpmh-arc-regulator";
		mboxes = <&apps_rsc 0>;
		qcom,resource-name = "cx.lvl";
		pm8998_s9_level-parent-supply = <&pm8998_s6_level>;
		pm8998_s9_level_ao-parent-supply = <&pm8998_s6_level_ao>;
		pm8998_s9_level: regulator-s9-level {
			regulator-name = "pm8998_s9_level";
			qcom,set = <RPMH_REGULATOR_SET_ALL>;
			regulator-min-microvolt = <RPMH_REGULATOR_LEVEL_OFF>;
			regulator-max-microvolt = <RPMH_REGULATOR_LEVEL_MAX>;
			qcom,min-dropout-voltage-level = <(-1)>;
		};

		pm8998_s9_level_ao: regulator-s9-level-ao {
@@ -154,6 +157,7 @@
			qcom,set = <RPMH_REGULATOR_SET_ACTIVE>;
			regulator-min-microvolt = <RPMH_REGULATOR_LEVEL_OFF>;
			regulator-max-microvolt = <RPMH_REGULATOR_LEVEL_MAX>;
			qcom,min-dropout-voltage-level = <(-1)>;
		};
	};