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

Commit 72904c45 authored by David Collins's avatar David Collins
Browse files

ARM: dts: msm: add proxy consumers for L2B and L1C regulators on Lahaina

Add proxy consumer configurations for PM8350 LDO 2 and PM8350C LDO 1
which ensure that these regulators are kept enabled in high power
mode until all consumers have a chance to make their own requests.

This is needed to ensure that EUD remains operational until USB
software receives notification from ADSP charger firmware that a
USB cable is connected or not.

Change-Id: Iec24f13ddb96b2023ca71cf16456bbf189b89387
parent 92076541
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -179,6 +179,7 @@
			<RPMH_REGULATOR_MODE_LPM
			 RPMH_REGULATOR_MODE_HPM>;
		qcom,mode-threshold-currents = <0 10000>;
		proxy-supply = <&pm8350_l2>;
		L2B: pm8350_l2: regulator-pm8350-l2 {
			regulator-name = "pm8350_l2";
			qcom,set = <RPMH_REGULATOR_SET_ALL>;
@@ -186,6 +187,8 @@
			regulator-max-microvolt = <3072000>;
			qcom,init-voltage = <3072000>;
			qcom,init-mode = <RPMH_REGULATOR_MODE_HPM>;
			qcom,proxy-consumer-enable;
			qcom,proxy-consumer-current = <100000>;
		};
	};

@@ -513,6 +516,7 @@
			<RPMH_REGULATOR_MODE_LPM
			 RPMH_REGULATOR_MODE_HPM>;
		qcom,mode-threshold-currents = <0 10000>;
		proxy-supply = <&pm8350c_l1>;
		L1C: pm8350c_l1: regulator-pm8350c-l1 {
			regulator-name = "pm8350c_l1";
			qcom,set = <RPMH_REGULATOR_SET_ALL>;
@@ -520,6 +524,8 @@
			regulator-max-microvolt = <1800000>;
			qcom,init-voltage = <1800000>;
			qcom,init-mode = <RPMH_REGULATOR_MODE_HPM>;
			qcom,proxy-consumer-enable;
			qcom,proxy-consumer-current = <100000>;
		};

		L1C_AO: pm8350c_l1_ao: regulator-pm8350c-l1-ao {