Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

gpiolib: acpi: Add quirk for Dell Precision 7780

Dell Precision 7780 often wakes up on its own from suspend. Sometimes
wake up happens immediately (i. e. within 7 seconds), sometimes it happens
after, say, 30 minutes.

Fixes: 1796f808e4bb ("HID: i2c-hid: acpi: Stop setting wakeup_capable")
Link: https://lore.kernel.org/linux-i2c/197ae95ffd8.dc819e60457077.7692120488609091556@zohomail.com/
Cc: stable@vger.kernel.org
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Askar Safin <safinaskar@gmail.com>
Link: https://lore.kernel.org/r/20251206180414.3183334-2-safinaskar@gmail.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>

authored by

Askar Safin and committed by
Bartosz Golaszewski
2d967310 dd44d4d0

+22
+22
drivers/gpio/gpiolib-acpi-quirks.c
··· 370 370 .ignore_wake = "ASCP1A00:00@8", 371 371 }, 372 372 }, 373 + { 374 + /* 375 + * Spurious wakeups, likely from touchpad controller 376 + * Dell Precision 7780 377 + * Found in BIOS 1.24.1 378 + * 379 + * Found in touchpad firmware, installed by Dell Touchpad Firmware Update Utility version 1160.4196.9, A01 380 + * ( Dell-Touchpad-Firmware-Update-Utility_VYGNN_WIN64_1160.4196.9_A00.EXE ), 381 + * released on 11 Jul 2024 382 + * 383 + * https://lore.kernel.org/linux-i2c/197ae95ffd8.dc819e60457077.7692120488609091556@zohomail.com/ 384 + */ 385 + .matches = { 386 + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), 387 + DMI_MATCH(DMI_PRODUCT_FAMILY, "Precision"), 388 + DMI_MATCH(DMI_PRODUCT_NAME, "Precision 7780"), 389 + DMI_MATCH(DMI_BOARD_NAME, "0C6JVW"), 390 + }, 391 + .driver_data = &(struct acpi_gpiolib_dmi_quirk) { 392 + .ignore_wake = "VEN_0488:00@355", 393 + }, 394 + }, 373 395 {} /* Terminating entry */ 374 396 }; 375 397