* [PATCH] gpiolib: acpi: Add quirk for Lenovo IdeaPad Slim 3 15ABR8
@ 2026-09-20 17:39 Mateo Borda
2026-09-21 6:21 ` Mika Westerberg
0 siblings, 1 reply; 2+ messages in thread
From: Mateo Borda @ 2026-09-20 17:39 UTC (permalink / raw)
To: Mika Westerberg, Andy Shevchenko, Linus Walleij, Bartosz Golaszewski
Cc: linux-gpio, linux-acpi, linux-kernel, Mateo Borda
On the Lenovo IdeaPad Slim 3 15ABR8 (82XM), the touchscreen
(GTCH7503:00) GPIO interrupt on pin 10 is armed as a wake source. As
soon as the system enters s2idle suspend the interrupt fires, causing
an immediate spurious resume, so suspend is unusable.
Disabling wakeup for the device via sysfs or booting with
gpiolib_acpi.ignore_wake=GTCH7503:00@10 avoids the problem, so add
a DMI quirk that ignores wakeup on that pin.
Signed-off-by: Mateo Borda <mateob226@gmail.com>
---
drivers/gpio/gpiolib-acpi-quirks.c | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/drivers/gpio/gpiolib-acpi-quirks.c b/drivers/gpio/gpiolib-acpi-quirks.c
index a0116f004..22c5fb149 100644
--- a/drivers/gpio/gpiolib-acpi-quirks.c
+++ b/drivers/gpio/gpiolib-acpi-quirks.c
@@ -392,6 +392,19 @@ static const struct dmi_system_id gpiolib_acpi_quirks[] __initconst = {
.ignore_wake = "VEN_0488:00@355",
},
},
+ {
+ /*
+ * Lenovo IdeaPad Slim 3 15ABR8: the touchscreen wake IRQ fires as soon
+ * as the system enters suspend, causing an immediate spurious resume.
+ */
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "82XM"),
+ },
+ .driver_data = &(struct acpi_gpiolib_dmi_quirk) {
+ .ignore_wake = "GTCH7503:00@10",
+ },
+ },
{} /* Terminating entry */
};
--
2.55.0
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] gpiolib: acpi: Add quirk for Lenovo IdeaPad Slim 3 15ABR8
2026-09-20 17:39 [PATCH] gpiolib: acpi: Add quirk for Lenovo IdeaPad Slim 3 15ABR8 Mateo Borda
@ 2026-09-21 6:21 ` Mika Westerberg
0 siblings, 0 replies; 2+ messages in thread
From: Mika Westerberg @ 2026-09-21 6:21 UTC (permalink / raw)
To: Mateo Borda
Cc: Mika Westerberg, Andy Shevchenko, Linus Walleij,
Bartosz Golaszewski, linux-gpio, linux-acpi, linux-kernel
On Sun, Sep 20, 2026 at 02:39:04PM -0300, Mateo Borda wrote:
> On the Lenovo IdeaPad Slim 3 15ABR8 (82XM), the touchscreen
> (GTCH7503:00) GPIO interrupt on pin 10 is armed as a wake source. As
> soon as the system enters s2idle suspend the interrupt fires, causing
> an immediate spurious resume, so suspend is unusable.
>
> Disabling wakeup for the device via sysfs or booting with
> gpiolib_acpi.ignore_wake=GTCH7503:00@10 avoids the problem, so add
> a DMI quirk that ignores wakeup on that pin.
>
> Signed-off-by: Mateo Borda <mateob226@gmail.com>
Acked-by: Mika Westerberg <westeri@kernel.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-09-21 6:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-20 17:39 [PATCH] gpiolib: acpi: Add quirk for Lenovo IdeaPad Slim 3 15ABR8 Mateo Borda
2026-09-21 6:21 ` Mika Westerberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®