ARM: dts: qcom: msm8974-FP2: Configure charger
authorLuca Weiss <luca@z3ntu.xyz>
Thu, 21 Apr 2022 21:42:42 +0000 (23:42 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 3 May 2022 19:17:05 +0000 (14:17 -0500)
Set the relevant properties on the smbb charger to allow the device to
charge properly.

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220421214243.352469-2-luca@z3ntu.xyz
arch/arm/boot/dts/qcom-msm8974pro-fairphone-fp2.dts

index d0ae19a9874ebaf73f07e20757d55d110aee4c2d..a52ffae62edfa217bb836fbb350d71001a55bf36 100644 (file)
        pinctrl-1 = <&sdc2_off>;
 };
 
+&smbb {
+       usb-charge-current-limit = <1500000>;
+       qcom,fast-charge-safe-current = <1500000>;
+       qcom,fast-charge-current-limit = <1500000>;
+       qcom,fast-charge-safe-voltage = <4380000>;
+       qcom,fast-charge-high-threshold-voltage = <4350000>;
+       qcom,auto-recharge-threshold-voltage = <4240000>;
+       qcom,minimum-input-voltage = <4450000>;
+};
+
 &tlmm {
        sdc1_on: sdc1-on {
                clk {