All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: dts: qcom: msm8974-castor: Fix touchscreen init
@ 2022-11-21 21:30 Luca Weiss
  2022-11-21 21:30 ` [PATCH 2/2] ARM: dts: qcom: msm8974-castor: Enable charging over USB Luca Weiss
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Luca Weiss @ 2022-11-21 21:30 UTC (permalink / raw
  To: linux-arm-msm
  Cc: ~postmarketos/upstreaming, phone-devel, Luca Weiss, Andy Gross,
	Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	devicetree, linux-kernel

On some devices a higher delay is needed, otherwise touchscreen probe
fails.

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
---
Two simple patches that have been sitting around in msm8974-mainline
tree for a while.

 .../arm/boot/dts/qcom-msm8974pro-sony-xperia-shinano-castor.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 36044130a739..2725bd343f3a 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
@@ -122,7 +122,7 @@ synaptics@2c {
 		pinctrl-names = "default";
 		pinctrl-0 = <&ts_int_pin>;
 
-		syna,startup-delay-ms = <10>;
+		syna,startup-delay-ms = <100>;
 
 		rmi-f01@1 {
 			reg = <0x1>;
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 2/2] ARM: dts: qcom: msm8974-castor: Enable charging over USB
  2022-11-21 21:30 [PATCH 1/2] ARM: dts: qcom: msm8974-castor: Fix touchscreen init Luca Weiss
@ 2022-11-21 21:30 ` Luca Weiss
  2022-11-22 12:09   ` Konrad Dybcio
  2022-11-22 12:09 ` [PATCH 1/2] ARM: dts: qcom: msm8974-castor: Fix touchscreen init Konrad Dybcio
  2022-12-28  4:36 ` (subset) " Bjorn Andersson
  2 siblings, 1 reply; 5+ messages in thread
From: Luca Weiss @ 2022-11-21 21:30 UTC (permalink / raw
  To: linux-arm-msm
  Cc: ~postmarketos/upstreaming, phone-devel, Julian Weigt, Luca Weiss,
	Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, devicetree, linux-kernel

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(+)

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


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/2] ARM: dts: qcom: msm8974-castor: Fix touchscreen init
  2022-11-21 21:30 [PATCH 1/2] ARM: dts: qcom: msm8974-castor: Fix touchscreen init Luca Weiss
  2022-11-21 21:30 ` [PATCH 2/2] ARM: dts: qcom: msm8974-castor: Enable charging over USB Luca Weiss
@ 2022-11-22 12:09 ` Konrad Dybcio
  2022-12-28  4:36 ` (subset) " Bjorn Andersson
  2 siblings, 0 replies; 5+ messages in thread
From: Konrad Dybcio @ 2022-11-22 12:09 UTC (permalink / raw
  To: Luca Weiss, linux-arm-msm
  Cc: ~postmarketos/upstreaming, phone-devel, Andy Gross,
	Bjorn Andersson, Rob Herring, Krzysztof Kozlowski, devicetree,
	linux-kernel



On 21.11.2022 22:30, Luca Weiss wrote:
> On some devices a higher delay is needed, otherwise touchscreen probe
> fails.
> 
> Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>

Konrad
> Two simple patches that have been sitting around in msm8974-mainline
> tree for a while.
> 
>  .../arm/boot/dts/qcom-msm8974pro-sony-xperia-shinano-castor.dts | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> 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 36044130a739..2725bd343f3a 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
> @@ -122,7 +122,7 @@ synaptics@2c {
>  		pinctrl-names = "default";
>  		pinctrl-0 = <&ts_int_pin>;
>  
> -		syna,startup-delay-ms = <10>;
> +		syna,startup-delay-ms = <100>;
>  
>  		rmi-f01@1 {
>  			reg = <0x1>;

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 2/2] ARM: dts: qcom: msm8974-castor: Enable charging over USB
  2022-11-21 21:30 ` [PATCH 2/2] ARM: dts: qcom: msm8974-castor: Enable charging over USB Luca Weiss
@ 2022-11-22 12:09   ` Konrad Dybcio
  0 siblings, 0 replies; 5+ messages in thread
From: Konrad Dybcio @ 2022-11-22 12:09 UTC (permalink / raw
  To: Luca Weiss, linux-arm-msm
  Cc: ~postmarketos/upstreaming, phone-devel, Julian Weigt, Andy Gross,
	Bjorn Andersson, Rob Herring, Krzysztof Kozlowski, devicetree,
	linux-kernel



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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: (subset) [PATCH 1/2] ARM: dts: qcom: msm8974-castor: Fix touchscreen init
  2022-11-21 21:30 [PATCH 1/2] ARM: dts: qcom: msm8974-castor: Fix touchscreen init Luca Weiss
  2022-11-21 21:30 ` [PATCH 2/2] ARM: dts: qcom: msm8974-castor: Enable charging over USB Luca Weiss
  2022-11-22 12:09 ` [PATCH 1/2] ARM: dts: qcom: msm8974-castor: Fix touchscreen init Konrad Dybcio
@ 2022-12-28  4:36 ` Bjorn Andersson
  2 siblings, 0 replies; 5+ messages in thread
From: Bjorn Andersson @ 2022-12-28  4:36 UTC (permalink / raw
  To: luca, linux-arm-msm
  Cc: konrad.dybcio, ~postmarketos/upstreaming, krzysztof.kozlowski+dt,
	linux-kernel, robh+dt, devicetree, agross, phone-devel

On Mon, 21 Nov 2022 22:30:19 +0100, Luca Weiss wrote:
> On some devices a higher delay is needed, otherwise touchscreen probe
> fails.
> 
> 

Applied, thanks!

[1/2] ARM: dts: qcom: msm8974-castor: Fix touchscreen init
      commit: 73bf63a6300b2fec48b54fe41d1c6d964fb2f33b
[2/2] ARM: dts: qcom: msm8974-castor: Enable charging over USB
      commit: a28146b51a299897090f071ea26071a5ab39d233

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-12-28  4:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-21 21:30 [PATCH 1/2] ARM: dts: qcom: msm8974-castor: Fix touchscreen init Luca Weiss
2022-11-21 21:30 ` [PATCH 2/2] ARM: dts: qcom: msm8974-castor: Enable charging over USB Luca Weiss
2022-11-22 12:09   ` Konrad Dybcio
2022-11-22 12:09 ` [PATCH 1/2] ARM: dts: qcom: msm8974-castor: Fix touchscreen init Konrad Dybcio
2022-12-28  4:36 ` (subset) " Bjorn Andersson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.