Skip to content

Commit 23800ad

Browse files
superm1Linus Walleij
authored andcommitted
gpiolib: acpi: Add quirk for ASUS ProArt PX13
The ASUS ProArt PX13 has a spurious wakeup event from the touchpad a few moments after entering hardware sleep. This can be avoided by preventing the touchpad from being a wake source. Add to the wakeup ignore list. Reported-by: Amit Chaudhari <[email protected]> Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4482 Tested-by: Amit Chaudhari <[email protected]> Signed-off-by: Mario Limonciello (AMD) <[email protected]> Reviewed-by: Mika Westerberg <[email protected]> Link: https://lore.kernel.org/[email protected] Signed-off-by: Linus Walleij <[email protected]>
1 parent bd7c231 commit 23800ad

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

drivers/gpio/gpiolib-acpi-quirks.c

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,20 @@ static const struct dmi_system_id gpiolib_acpi_quirks[] __initconst = {
344344
.ignore_interrupt = "AMDI0030:00@8",
345345
},
346346
},
347+
{
348+
/*
349+
* Spurious wakeups from TP_ATTN# pin
350+
* Found in BIOS 5.35
351+
* https://gitlab.freedesktop.org/drm/amd/-/issues/4482
352+
*/
353+
.matches = {
354+
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
355+
DMI_MATCH(DMI_PRODUCT_FAMILY, "ProArt PX13"),
356+
},
357+
.driver_data = &(struct acpi_gpiolib_dmi_quirk) {
358+
.ignore_wake = "ASCP1A00:00@8",
359+
},
360+
},
347361
{} /* Terminating entry */
348362
};
349363

0 commit comments

Comments
 (0)