Skip to content

Commit 9284b70

Browse files
jwrdegoedegregkh
authored andcommitted
gpiolib: acpi: Add quirk to ignore EC wakeups on Dell Venue 10 Pro 5055
[ Upstream commit da91ece ] Like some other Bay and Cherry Trail SoC based devices the Dell Venue 10 Pro 5055 has an embedded-controller which uses ACPI GPIO events to report events instead of using the standard ACPI EC interface for this. The EC interrupt is only used to report battery-level changes and it keeps doing this while the system is suspended, causing the system to not stay suspended. Add an ignore-wake quirk for the GPIO pin used by the EC to fix the spurious wakeups from suspend. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 1ce34fb commit 9284b70

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

drivers/gpio/gpiolib-acpi.c

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1407,6 +1407,20 @@ static const struct dmi_system_id gpiolib_acpi_quirks[] __initconst = {
14071407
.no_edge_events_on_boot = true,
14081408
},
14091409
},
1410+
{
1411+
/*
1412+
* The Dell Venue 10 Pro 5055, with Bay Trail SoC + TI PMIC uses an
1413+
* external embedded-controller connected via I2C + an ACPI GPIO
1414+
* event handler on INT33FFC:02 pin 12, causing spurious wakeups.
1415+
*/
1416+
.matches = {
1417+
DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
1418+
DMI_MATCH(DMI_PRODUCT_NAME, "Venue 10 Pro 5055"),
1419+
},
1420+
.driver_data = &(struct acpi_gpiolib_dmi_quirk) {
1421+
.ignore_wake = "INT33FC:02@12",
1422+
},
1423+
},
14101424
{
14111425
/*
14121426
* HP X2 10 models with Cherry Trail SoC + TI PMIC use an

0 commit comments

Comments
 (0)