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

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

ARM: dts: msm: add PM8998 S12 and S13 regulators for sdm845



Add qpnp-regulator devices for PM8998 S12 and S13 regulators.
This will allow VDD_APC0 and VDD_APC1 CPR devices to directly
modify the voltage at the PMIC before CPRh and OSM are enabled.

Change-Id: I5fc8e69c0139a8ce65b6ec5c61d42e0c15721ccd
Signed-off-by: default avatarDavid Collins <collinsd@codeaurora.org>
parent 4f0a4e23
Loading
Loading
Loading
Loading
+26 −0
Original line number Diff line number Diff line
@@ -28,6 +28,32 @@
	};
};

&spmi_bus {
	qcom,pm8998@1 {
		/* PM8998 S12 + S11 + S10 = VDD_APC1 supply */
		pm8998_s12: regulator@3500 {
			compatible = "qcom,qpnp-regulator";
			reg = <0x3500 0x100>;
			regulator-name = "pm8998_s12";
			regulator-min-microvolt = <568000>;
			regulator-max-microvolt = <1056000>;
			qcom,enable-time = <500>;
			regulator-always-on;
		};

		/* PM8998 S13 = VDD_APC0 supply */
		pm8998_s13: regulator@3800 {
			compatible = "qcom,qpnp-regulator";
			reg = <0x3800 0x100>;
			regulator-name = "pm8998_s13";
			regulator-min-microvolt = <568000>;
			regulator-max-microvolt = <928000>;
			qcom,enable-time = <500>;
			regulator-always-on;
		};
	};
};

&soc {
	/* CPR controller regulators */
	apc0_cpr: cprh-ctrl@17dc0000 {