ARM: dts: qcom: Disable pm8941 & pm8226 smbb charger by default

Some platforms don't use the built-in charging hardware (e.g. milletwifi).
As this is an optional peripheral, default it to off.

Keep it enabled for all other boards that use smbb.

Signed-off-by: Bryant Mairs <bryant@mai.rs>
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Acked-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20231203-smbb-pm8941-pm8226-v1-1-9ad75909604b@z3ntu.xyz
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
Bryant Mairs 2023-12-03 15:19:18 +01:00 committed by Bjorn Andersson
parent 6dedbd246c
commit c9c8179d0c
11 changed files with 26 additions and 0 deletions

View File

@ -82,6 +82,8 @@
"usb-valid",
"dc-valid";
status = "disabled";
chg_otg: otg-vbus { };
};

View File

@ -99,6 +99,8 @@
usb-otg-in-supply = <&pm8941_5vs1>;
status = "disabled";
chg_otg: otg-vbus { };
};

View File

@ -253,6 +253,8 @@
qcom,fast-charge-high-threshold-voltage = <4400000>;
qcom,auto-recharge-threshold-voltage = <4300000>;
qcom,minimum-input-voltage = <4400000>;
status = "okay";
};
&tlmm {

View File

@ -335,6 +335,8 @@
qcom,fast-charge-current-limit = <300000>;
qcom,fast-charge-safe-current = <600000>;
qcom,auto-recharge-threshold-voltage = <4240000>;
status = "okay";
};
&tlmm {

View File

@ -292,6 +292,8 @@
qcom,fast-charge-high-threshold-voltage = <4350000>;
qcom,auto-recharge-threshold-voltage = <4240000>;
qcom,minimum-input-voltage = <4450000>;
status = "okay";
};
&tlmm {

View File

@ -430,6 +430,10 @@
pinctrl-1 = <&sdc2_off>;
};
&smbb {
status = "okay";
};
&tlmm {
sdc1_on: sdc1-on-state {
clk-pins {

View File

@ -355,6 +355,8 @@
qcom,fast-charge-high-threshold-voltage = <4350000>;
qcom,auto-recharge-threshold-voltage = <4300000>;
qcom,minimum-input-voltage = <4300000>;
status = "okay";
};
&usb {

View File

@ -452,6 +452,8 @@
qcom,fast-charge-low-threshold-voltage = <3400000>;
qcom,auto-recharge-threshold-voltage = <4200000>;
qcom,minimum-input-voltage = <4300000>;
status = "okay";
};
&tlmm {

View File

@ -408,6 +408,8 @@
qcom,fast-charge-high-threshold-voltage = <4350000>;
qcom,auto-recharge-threshold-voltage = <4240000>;
qcom,minimum-input-voltage = <4450000>;
status = "okay";
};
&tlmm {

View File

@ -460,6 +460,10 @@
status = "okay";
};
&smbb {
status = "okay";
};
&tlmm {
gpio_hall_sensor_default: gpio-hall-sensor-default-state {
pins = "gpio68";

View File

@ -585,6 +585,8 @@
qcom,fast-charge-low-threshold-voltage = <3400000>;
qcom,auto-recharge-threshold-voltage = <4200000>;
qcom,minimum-input-voltage = <4300000>;
status = "okay";
};
&tlmm {