]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
pinctrl-amd: enable IRQ for WACF2200 touchscreen on Lenovo Yoga 7 14AGP11
authorHardik Prakash <hardikprakash.official@gmail.com>
Tue, 12 May 2026 07:31:38 +0000 (13:01 +0530)
committerLinus Walleij <linusw@kernel.org>
Wed, 13 May 2026 07:34:55 +0000 (09:34 +0200)
commit3812a9e84265a5cdd90d29fe8d97a023e91fb945
tree6efdaa067e83e0a5d925eb77c6d09935c59f9ca2
parent63d2059cd665c4e5e4ca6cfbc58c6f171e7939b1
pinctrl-amd: enable IRQ for WACF2200 touchscreen on Lenovo Yoga 7 14AGP11

On Lenovo Yoga 7 14AGP11 (83TD), the WACF2200 touchscreen controller
is wired via I2C2 (AMDI0010:02) with its interrupt on GPIO pin 157
(confirmed via ACPI _CRS GpioInt decode). After amd_gpio_irq_init()
clears all GPIO interrupts at boot, pin 157 is never re-enabled,
preventing the touchscreen from signalling the driver.

Windows keeps GPIO 157 INTERRUPT_ENABLE (bit 11) and INTERRUPT_MASK
(bit 12) set after initialisation. Add a DMI quirk to restore these
bits after amd_gpio_irq_init() on this hardware.

Assisted-by: Claude:claude-sonnet-4-6
Assisted-by: GPT-Codex:gpt-5.2-codex
Signed-off-by: Hardik Prakash <hardikprakash.official@gmail.com>
Acked-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Linus Walleij <linusw@kernel.org>
drivers/pinctrl/pinctrl-amd.c