diff mbox series

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

Message ID 20221121213019.324558-2-luca@z3ntu.xyz (mailing list archive)
State Accepted
Commit a28146b51a299897090f071ea26071a5ab39d233
Headers show
Series [1/2] ARM: dts: qcom: msm8974-castor: Fix touchscreen init | expand

Commit Message

Luca Weiss Nov. 21, 2022, 9:30 p.m. UTC
From: Julian Weigt <juw@posteo.de>

Set usb-charge-current-limit to higher value so that the device can be
charged over USB.

Signed-off-by: Julian Weigt <juw@posteo.de>
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
---
 arch/arm/boot/dts/qcom-msm8974pro-sony-xperia-shinano-castor.dts | 1 +
 1 file changed, 1 insertion(+)

Comments

Konrad Dybcio Nov. 22, 2022, 12:09 p.m. UTC | #1
On 21.11.2022 22:30, Luca Weiss wrote:
> From: Julian Weigt <juw@posteo.de>
> 
> Set usb-charge-current-limit to higher value so that the device can be
> charged over USB.
> 
> Signed-off-by: Julian Weigt <juw@posteo.de>
> Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>

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>;
diff mbox series

Patch

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>;