Commit c9c8179d authored by Bryant Mairs's avatar Bryant Mairs Committed by Bjorn Andersson

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: default avatarBryant Mairs <bryant@mai.rs>
Signed-off-by: default avatarLuca Weiss <luca@z3ntu.xyz>
Acked-by: default avatarKonrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20231203-smbb-pm8941-pm8226-v1-1-9ad75909604b@z3ntu.xyzSigned-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent 6dedbd24
......@@ -82,6 +82,8 @@ smbb: charger@1000 {
"usb-valid",
"dc-valid";
status = "disabled";
chg_otg: otg-vbus { };
};
......
......@@ -99,6 +99,8 @@ smbb: charger@1000 {
usb-otg-in-supply = <&pm8941_5vs1>;
status = "disabled";
chg_otg: otg-vbus { };
};
......
......@@ -253,6 +253,8 @@ &smbb {
qcom,fast-charge-high-threshold-voltage = <4400000>;
qcom,auto-recharge-threshold-voltage = <4300000>;
qcom,minimum-input-voltage = <4400000>;
status = "okay";
};
&tlmm {
......
......@@ -335,6 +335,8 @@ &smbb {
qcom,fast-charge-current-limit = <300000>;
qcom,fast-charge-safe-current = <600000>;
qcom,auto-recharge-threshold-voltage = <4240000>;
status = "okay";
};
&tlmm {
......
......@@ -292,6 +292,8 @@ &smbb {
qcom,fast-charge-high-threshold-voltage = <4350000>;
qcom,auto-recharge-threshold-voltage = <4240000>;
qcom,minimum-input-voltage = <4450000>;
status = "okay";
};
&tlmm {
......
......@@ -430,6 +430,10 @@ &sdhc_2 {
pinctrl-1 = <&sdc2_off>;
};
&smbb {
status = "okay";
};
&tlmm {
sdc1_on: sdc1-on-state {
clk-pins {
......
......@@ -355,6 +355,8 @@ &smbb {
qcom,fast-charge-high-threshold-voltage = <4350000>;
qcom,auto-recharge-threshold-voltage = <4300000>;
qcom,minimum-input-voltage = <4300000>;
status = "okay";
};
&usb {
......
......@@ -452,6 +452,8 @@ &smbb {
qcom,fast-charge-low-threshold-voltage = <3400000>;
qcom,auto-recharge-threshold-voltage = <4200000>;
qcom,minimum-input-voltage = <4300000>;
status = "okay";
};
&tlmm {
......
......@@ -408,6 +408,8 @@ &smbb {
qcom,fast-charge-high-threshold-voltage = <4350000>;
qcom,auto-recharge-threshold-voltage = <4240000>;
qcom,minimum-input-voltage = <4450000>;
status = "okay";
};
&tlmm {
......
......@@ -460,6 +460,10 @@ &sdhc_1 {
status = "okay";
};
&smbb {
status = "okay";
};
&tlmm {
gpio_hall_sensor_default: gpio-hall-sensor-default-state {
pins = "gpio68";
......
......@@ -585,6 +585,8 @@ &smbb {
qcom,fast-charge-low-threshold-voltage = <3400000>;
qcom,auto-recharge-threshold-voltage = <4200000>;
qcom,minimum-input-voltage = <4300000>;
status = "okay";
};
&tlmm {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment