Linux GPIO subsystem development
 help / color / mirror / Atom feed
* [pinctrl-amd] FocalTech I2C touchscreen lost arbitration on Lenovo Yoga 7a
@ 2026-12-03 16:41 Jacob via Bugspray Bot
  2026-12-03 16:41 ` Hardik via Bugspray Bot
  0 siblings, 1 reply; 3+ messages in thread
From: Jacob via Bugspray Bot @ 2026-12-03 16:41 UTC (permalink / raw)
  To: linux-gpio

Jacob added an attachment on Kernel.org Bugzilla:

Created attachment 310016
Archive containing raw diagnostic files (clean dmesg, untouched acpidump, dmidecode, and kernel version) for the Lenovo Yoga 7a.

Hardware: Lenovo Yoga 7a (14-inch)
CPU: AMD Ryzen AI 7 445 w/ Radeon 840M
OS: Arch Linux
Kernel: 7.0.3-arch1-1

The FocalTech internal touchscreen digitizer (ACPI ID: FTCS0038) is completely dead on arrival. The kernel fails to initialize the I2C bus, repeatedly throwing lost arbitration errors. The hardware is functional, as the touchscreen works perfectly in the Lenovo UEFI/BIOS and in Windows.

[    2.130287] i2c_designware AMDI0010:02: i2c_dw_handle_tx_abort: lost arbitration

Debugging & Analysis Performed:
1) ACPI Power State Ghosting: Dumped the DSDT and found the _STA method for Device (TPD1) requires proprietary Windows OS strings (TPOS and TOPD). On Linux, _STA evaluates to Return (Zero)

2)DSDT Override: I compiled a custom DSDT overriding the _STA method to unconditionally Return (0x0F). The kernel successfully applied the table upgrade, successfully bypassing the BIOS power lock

3) I2C/GPIO Pin Mapping Failure: Even with the DSDT forcing the device into an active state, the lost arbitration error persists.

4) Physical Bus Probe: I ran i2cdetect across all DesignWare I2C adapters (i2c-0 through i2c-3). All buses returned completely blank grids.

Because the I2C bus cannot successfully complete a hardware ping even when the ACPI power state is forced active, it appears the pinctrl_amd driver lacks the correct GPIO pin routing for the touchscreen controller on this specific Lenovo Yoga 7a motherboard design.

File: yoga7a_i2c_logs.tar.gz (application/gzip)
Size: 657.00 KiB
Link: https://bugzilla.kernel.org/attachment.cgi?id=310016
---
Archive containing raw diagnostic files (clean dmesg, untouched acpidump, dmidecode, and kernel version) for the Lenovo Yoga 7a.

You can reply to this message to join the discussion.
-- 
Deet-doot-dot, I am a bot.
Kernel.org Bugzilla (bugspray 0.1-dev)


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

* Re: [pinctrl-amd] FocalTech I2C touchscreen lost arbitration on Lenovo Yoga 7a
  2026-12-03 16:41 [pinctrl-amd] FocalTech I2C touchscreen lost arbitration on Lenovo Yoga 7a Jacob via Bugspray Bot
@ 2026-12-03 16:41 ` Hardik via Bugspray Bot
  2026-12-03 16:41   ` Jacob via Bugspray Bot
  0 siblings, 1 reply; 3+ messages in thread
From: Hardik via Bugspray Bot @ 2026-12-03 16:41 UTC (permalink / raw)
  To: linux-gpio

Hardik writes via Kernel.org Bugzilla:

Hi Jacob —

I filed a related report for the Lenovo Yoga 7 14AGP11 (Bug 221494) with identical AMDI0010:02 lost arbitration symptoms, but using a Wacom WACF2200 controller instead of FocalTech.

I have identified two root causes and confirmed a working fix. The primary issue on my hardware is GPIO pin 157 (WACF2200 GpioInt per ACPI _CRS) having INTERRUPT_ENABLE and INTERRUPT_MASK cleared by amd_gpio_irq_init() and never restored. A secondary issue is a broken probe ordering deferral in i2c-designware-platdrv.c that already existed for Lenovo 83TD, but used gpio_dev->driver instead of device_is_bound().

Your FocalTech device may have a different GPIO pin number, but the same two underlying issues may apply. The patch series is here:

https://github.com/hardikprakash/yoga7-14agp11-linux/tree/main/issues/touchscreen/patches

If you can test patch 1 on your machine (changing pin 157 to whatever pin your ACPI _CRS GpioInt specifies for FTCS0038), that would help confirm whether this is the same root cause across both devices.

View: https://bugzilla.kernel.org/show_bug.cgi?id=221454#c1
You can reply to this message to join the discussion.
-- 
Deet-doot-dot, I am a bot.
Kernel.org Bugzilla (bugspray 0.1-dev)


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

* Re: [pinctrl-amd] FocalTech I2C touchscreen lost arbitration on Lenovo Yoga 7a
  2026-12-03 16:41 ` Hardik via Bugspray Bot
@ 2026-12-03 16:41   ` Jacob via Bugspray Bot
  0 siblings, 0 replies; 3+ messages in thread
From: Jacob via Bugspray Bot @ 2026-12-03 16:41 UTC (permalink / raw)
  To: linux-gpio

Jacob writes via Kernel.org Bugzilla:

(In reply to Hardik from comment #1)
> Hi Jacob —
> 
> I filed a related report for the Lenovo Yoga 7 14AGP11 (Bug 221494) with
> identical AMDI0010:02 lost arbitration symptoms, but using a Wacom WACF2200
> controller instead of FocalTech.
> 
> I have identified two root causes and confirmed a working fix. The primary
> issue on my hardware is GPIO pin 157 (WACF2200 GpioInt per ACPI _CRS) having
> INTERRUPT_ENABLE and INTERRUPT_MASK cleared by amd_gpio_irq_init() and never
> restored. A secondary issue is a broken probe ordering deferral in
> i2c-designware-platdrv.c that already existed for Lenovo 83TD, but used
> gpio_dev->driver instead of device_is_bound().
> 
> Your FocalTech device may have a different GPIO pin number, but the same two
> underlying issues may apply. The patch series is here:
> 
> https://github.com/hardikprakash/yoga7-14agp11-linux/tree/main/issues/
> touchscreen/patches
> 
> If you can test patch 1 on your machine (changing pin 157 to whatever pin
> your ACPI _CRS GpioInt specifies for FTCS0038), that would help confirm
> whether this is the same root cause across both devices.

Hi Hardik,

I modified Patch 1 to target pin = 9 (matching the FTCS0038 _CRS GpioInt) and completely bypassed the DMI check to force it to run on my machine.

I compiled and booted the custom kernel (uname -r confirms it is running), but unfortunately, the AMDI0010:02: i2c_dw_handle_tx_abort: lost arbitration errors persist immediately on boot.

It appears that for the FocalTech variant, while the IRQ mask might also be an issue, the underlying I2C SDA/SCL pin mapping or power sequencing is still failing.

View: https://bugzilla.kernel.org/show_bug.cgi?id=221454#c2
You can reply to this message to join the discussion.
-- 
Deet-doot-dot, I am a bot.
Kernel.org Bugzilla (bugspray 0.1-dev)


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

end of thread, other threads:[~2026-12-03 16:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-03 16:41 [pinctrl-amd] FocalTech I2C touchscreen lost arbitration on Lenovo Yoga 7a Jacob via Bugspray Bot
2026-12-03 16:41 ` Hardik via Bugspray Bot
2026-12-03 16:41   ` Jacob via Bugspray Bot

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