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

Commit 78f8763c authored by David Collins's avatar David Collins
Browse files

ARM: dts: msm: add PMCOBALT S10 and S13 regulators for MSMCOBALT



Add qpnp-regulator devices for PMCOBALT S10 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: I34758ed558cde85b5255010a83cc2fcfa0e1a3a0
CRs-Fixed: 1048890
Signed-off-by: default avatarDavid Collins <collinsd@codeaurora.org>
parent 3c7400dc
Loading
Loading
Loading
Loading
+22 −0
Original line number Diff line number Diff line
@@ -537,6 +537,28 @@
			qcom,enable-time = <500>;
		};
	};

	qcom,pmcobalt@1 {
		pmcobalt_s10: regulator@2f00 {
			compatible = "qcom,qpnp-regulator";
			reg = <0x2f00 0x100>;
			regulator-name = "pmcobalt_s10";
			regulator-min-microvolt = <572000>;
			regulator-max-microvolt = <1112000>;
			qcom,enable-time = <500>;
			regulator-always-on;
		};

		pmcobalt_s13: regulator@3800 {
			compatible = "qcom,qpnp-regulator";
			reg = <0x3800 0x100>;
			regulator-name = "pmcobalt_s13";
			regulator-min-microvolt = <572000>;
			regulator-max-microvolt = <1112000>;
			qcom,enable-time = <500>;
			regulator-always-on;
		};
	};
};

/* Stub regulators */
+10 −0
Original line number Diff line number Diff line
@@ -227,6 +227,16 @@
	qcom,max-bandwidth-per-pipe-kbps = <4700000>;
};

&pmcobalt_s10 {
	regulator-min-microvolt = <568000>;
	regulator-max-microvolt = <1056000>;
};

&pmcobalt_s13 {
	regulator-min-microvolt = <568000>;
	regulator-max-microvolt = <1056000>;
};

&apc0_cpr {
	compatible = "qcom,cprh-msmcobalt-v2-kbss-regulator";
	qcom,cpr-corner-switch-delay-time = <1042>;