Linux GPIO subsystem development
 help / color / mirror / Atom feed
From: Jacob via Bugspray Bot <bugbot@kernel.org>
To: linux-gpio@vger.kernel.org
Subject: Re: [pinctrl-amd] FocalTech I2C touchscreen lost arbitration on Lenovo Yoga 7a
Date: Thu, 03 Dec 2026 16:41:04 +0000	[thread overview]
Message-ID: <20261203-b221454c2-f28c3d6ed4e6@bugzilla.kernel.org> (raw)
In-Reply-To: <20261203-b221454c1-e3f9040ef400@bugzilla.kernel.org>

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)


      reply	other threads:[~2026-12-03 16:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261203-b221454c2-f28c3d6ed4e6@bugzilla.kernel.org \
    --to=bugbot@kernel.org \
    --cc=linux-gpio@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox