mirror of
https://github.com/Evolution-X-Devices/kernel_xiaomi_sm8450-devicetrees
synced 2026-01-27 20:28:49 +00:00
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:
@@ -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";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user