Re: [PATCH 2/2] ARM: dts: qcom: msm8974-castor: Enable charging over USB

From: Konrad Dybcio
Date: Tue Nov 22 2022 - 07:09:48 EST




On 21.11.2022 22:30, Luca Weiss wrote:
> From: Julian Weigt <juw@xxxxxxxxx>
>
> Set usb-charge-current-limit to higher value so that the device can be
> charged over USB.
>
> Signed-off-by: Julian Weigt <juw@xxxxxxxxx>
> Signed-off-by: Luca Weiss <luca@xxxxxxxxx>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx>

Konrad
> arch/arm/boot/dts/qcom-msm8974pro-sony-xperia-shinano-castor.dts | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/boot/dts/qcom-msm8974pro-sony-xperia-shinano-castor.dts b/arch/arm/boot/dts/qcom-msm8974pro-sony-xperia-shinano-castor.dts
> index 2725bd343f3a..0f2154a57a59 100644
> --- a/arch/arm/boot/dts/qcom-msm8974pro-sony-xperia-shinano-castor.dts
> +++ b/arch/arm/boot/dts/qcom-msm8974pro-sony-xperia-shinano-castor.dts
> @@ -575,6 +575,7 @@ &smbb {
> qcom,fast-charge-safe-current = <1500000>;
> qcom,fast-charge-current-limit = <1500000>;
> qcom,dc-current-limit = <1800000>;
> + usb-charge-current-limit = <1800000>;
> qcom,fast-charge-safe-voltage = <4400000>;
> qcom,fast-charge-high-threshold-voltage = <4350000>;
> qcom,fast-charge-low-threshold-voltage = <3400000>;