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
This commit is contained in:
Jishnu Prakash
2020-07-27 18:15:58 +05:30
parent b5b0839072
commit d32eef47f4
2 changed files with 9 additions and 1 deletions

View File

@@ -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";
};
};

View File

@@ -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";