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

Commit d32eef47 authored by Jishnu Prakash's avatar Jishnu Prakash
Browse files

ARM: dts: msm: Update PM6150a BOB configuration

Add properties speicfying supported BOB modes and threshold currents
to support clients setting load current on BOB instead of setting
mode directly.
Also set initial BOB mode and correct its hardware type.

Change-Id: I95eb5cedfb854a0beb9c9b33dd8af8207301e242
parent b5b08390
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -356,10 +356,17 @@

	rpm-regulator-bobe {
		status = "okay";
		qcom,supported-modes =
			<RPM_SMD_REGULATOR_MODE_PASS
			RPM_SMD_REGULATOR_MODE_LPM
			RPM_SMD_REGULATOR_MODE_HPM>;
		qcom,mode-threshold-currents = <0 1000000 2000000>;

		BOB: pm6150a_bob: regulator-pm6150a-bob {
			regulator-min-microvolt = <1650000>;
			regulator-max-microvolt = <5500000>;
			qcom,init-voltage = <1650000>;
			qcom,init-bob-mode = <RPM_SMD_REGULATOR_MODE_PASS>;
			status = "okay";
		};

@@ -367,6 +374,7 @@
			regulator-min-microvolt = <1650000>;
			regulator-max-microvolt = <5500000>;
			qcom,init-voltage = <1650000>;
			qcom,init-bob-mode = <RPM_SMD_REGULATOR_MODE_AUTO>;
			status = "okay";
		};
	};
+1 −1
Original line number Diff line number Diff line
@@ -271,7 +271,7 @@
		qcom,resource-name = "bobe";
		qcom,resource-id = <1>;
		qcom,regulator-type = <4>;
		qcom,regulator-hw-type = "pmic5-ldo";
		qcom,regulator-hw-type = "pmic5-bob";
		qcom,send-defaults;
		status = "disabled";