Devicetree
 help / color / mirror / Atom feed
* [PATCH v2] arm64: dts: qcom: x1e78100-lenovo-thinkpad-t14s: Fix touchscreen power on
@ 2026-11-18 16:23 Hans de Goede
  2026-11-26 15:04 ` Konrad Dybcio
  0 siblings, 1 reply; 2+ messages in thread
From: Hans de Goede @ 2026-11-18 16:23 UTC (permalink / raw)
  To: Bjorn Andersson, Krzysztof Kozlowski, Konrad Dybcio, Abel Vesa
  Cc: Hans de Goede, linux-arm-msm, devicetree

When the i2c-hid driver is builtin the touchscreen on the ThinkPad T14s
fails to probe at boot. When the driver is builtin the touchscreen gets
probed immediately after being taken out of reset. At this point
the touchscreen is not ready to talk on the I2C bus yet, causing
the probe to fail.

The touchscreen on this laptop needs a delay of 200ms (taken from ACPI
power-sequences) before it will accept I2C transfers.

Add a post-power-on-delay-ms = 200 property to the touchscreen DT node
to fix this.

Fixes: 7d1cbe2f4985 ("arm64: dts: qcom: Add X1E78100 ThinkPad T14s Gen 6")
Signed-off-by: Hans de Goede <johannes.goede@oss.qualcomm.com>
---
Changes v2:
- s/touchpad/touchscreen/ in commit msg
- Add fixes tag
---
 arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi b/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi
index 7c9424248120..16b25e596f0d 100644
--- a/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi
+++ b/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi
@@ -1349,6 +1349,7 @@ touchscreen@10 {
 		reg = <0x10>;
 
 		hid-descr-addr = <0x1>;
+		post-power-on-delay-ms = <200>;
 		interrupts-extended = <&tlmm 51 IRQ_TYPE_LEVEL_LOW>;
 
 		vdd-supply = <&vreg_misc_3p3>;
-- 
2.56.0


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

* Re: [PATCH v2] arm64: dts: qcom: x1e78100-lenovo-thinkpad-t14s: Fix touchscreen power on
  2026-11-18 16:23 [PATCH v2] arm64: dts: qcom: x1e78100-lenovo-thinkpad-t14s: Fix touchscreen power on Hans de Goede
@ 2026-11-26 15:04 ` Konrad Dybcio
  0 siblings, 0 replies; 2+ messages in thread
From: Konrad Dybcio @ 2026-11-26 15:04 UTC (permalink / raw)
  To: Hans de Goede, Bjorn Andersson, Krzysztof Kozlowski,
	Konrad Dybcio, Abel Vesa
  Cc: linux-arm-msm, devicetree

On 11/18/26 5:23 PM, Hans de Goede wrote:
> When the i2c-hid driver is builtin the touchscreen on the ThinkPad T14s
> fails to probe at boot. When the driver is builtin the touchscreen gets
> probed immediately after being taken out of reset. At this point
> the touchscreen is not ready to talk on the I2C bus yet, causing
> the probe to fail.
> 
> The touchscreen on this laptop needs a delay of 200ms (taken from ACPI
> power-sequences) before it will accept I2C transfers.
> 
> Add a post-power-on-delay-ms = 200 property to the touchscreen DT node
> to fix this.
> 
> Fixes: 7d1cbe2f4985 ("arm64: dts: qcom: Add X1E78100 ThinkPad T14s Gen 6")
> Signed-off-by: Hans de Goede <johannes.goede@oss.qualcomm.com>
> ---
> Changes v2:
> - s/touchpad/touchscreen/ in commit msg
> - Add fixes tag
> ---

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>

Konrad

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

end of thread, other threads:[~2026-11-26 15:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-18 16:23 [PATCH v2] arm64: dts: qcom: x1e78100-lenovo-thinkpad-t14s: Fix touchscreen power on Hans de Goede
2026-11-26 15:04 ` Konrad Dybcio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox