gpiolib: acpi: Add a ignore wakeup quirk for Clevo NL5xNU
[linux-2.6-microblaze.git] / drivers / gpio / gpiolib-acpi.c
index 4d4a2a6..b6321d8 100644 (file)
@@ -1613,6 +1613,19 @@ static const struct dmi_system_id gpiolib_acpi_quirks[] __initconst = {
                        .ignore_interrupt = "AMDI0030:00@18",
                },
        },
+       {
+               /*
+                * Spurious wakeups from TP_ATTN# pin
+                * Found in BIOS 1.7.8
+                * https://gitlab.freedesktop.org/drm/amd/-/issues/1722#note_1720627
+                */
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_NAME, "NL5xNU"),
+               },
+               .driver_data = &(struct acpi_gpiolib_dmi_quirk) {
+                       .ignore_wake = "ELAN0415:00@9",
+               },
+       },
        {
                /*
                 * Spurious wakeups from TP_ATTN# pin