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

Commit 0f8bbc87 authored by David Collins's avatar David Collins Committed by Tirupathi Reddy
Browse files

ARM: dts: msm: specify a PWM mode threshold for PMI8998 BoB on MSM8998



Specify a 2 A PWM vs AUTO mode load current threshold for the
PMI8998 BoB regulator.  Also specify the initial mode as AUTO.
Consumer that require the BoB to be in PWM mode should request
2000000 uA or more.

CRs-Fixed: 2054771
Change-Id: Icb6ff634359c8ae12c36dcda127bffa247c6eb71
Signed-off-by: default avatarDavid Collins <collinsd@codeaurora.org>
parent 4544adae
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -502,6 +502,8 @@
		pmi8998_bob: regulator-bob {
			regulator-min-microvolt = <3312000>;
			regulator-max-microvolt = <3600000>;
			qcom,pwm-threshold-current = <2000000>;
			qcom,init-bob-mode = <2>;
			status = "okay";
		};
		pmi8998_bob_pin1: regulator-bob-pin1 {
@@ -510,6 +512,8 @@
			qcom,set = <3>;
			regulator-min-microvolt = <3312000>;
			regulator-max-microvolt = <3600000>;
			qcom,pwm-threshold-current = <2000000>;
			qcom,init-bob-mode = <2>;
			qcom,use-pin-ctrl-voltage1;
		};
		pmi8998_bob_pin2: regulator-bob-pin2 {
@@ -518,6 +522,8 @@
			qcom,set = <3>;
			regulator-min-microvolt = <3312000>;
			regulator-max-microvolt = <3600000>;
			qcom,pwm-threshold-current = <2000000>;
			qcom,init-bob-mode = <2>;
			qcom,use-pin-ctrl-voltage2;
		};
		pmi8998_bob_pin3: regulator-bob-pin3 {
@@ -526,6 +532,8 @@
			qcom,set = <3>;
			regulator-min-microvolt = <3312000>;
			regulator-max-microvolt = <3600000>;
			qcom,pwm-threshold-current = <2000000>;
			qcom,init-bob-mode = <2>;
			qcom,use-pin-ctrl-voltage3;
		};
	};