Skip to content

Commit 1a1e754

Browse files
jwrdegoederafaeljw
authored andcommitted
ACPI: x86: Add skip i2c clients quirk for Lenovo Yoga Book X90
The Lenovo Yoga Book X90 is a x86 tablet which ships with Android x86 as factory OS. The Android x86 kernel fork ignores I2C devices described in the DSDT, except for the PMIC and Audio codecs. As usual the Lenovo Yoga Book X90's DSDT contains a bunch of extra I2C devices which are not actually there, causing various resource conflicts. Add an ACPI_QUIRK_SKIP_I2C_CLIENTS quirk for the Lenovo Yoga Book X90 to the acpi_quirk_skip_dmi_ids table to woraround this. The DSDT also contains broken ACPI GPIO event handlers, disable those too. Signed-off-by: Hans de Goede <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent a5cb069 commit 1a1e754

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

drivers/acpi/x86/utils.c

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,17 @@ static const struct dmi_system_id acpi_quirk_skip_dmi_ids[] = {
300300
ACPI_QUIRK_SKIP_ACPI_AC_AND_BATTERY |
301301
ACPI_QUIRK_SKIP_GPIO_EVENT_HANDLERS),
302302
},
303+
{
304+
/* Lenovo Yoga Book X90F/L */
305+
.matches = {
306+
DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Intel Corporation"),
307+
DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "CHERRYVIEW D1 PLATFORM"),
308+
DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "YETI-11"),
309+
},
310+
.driver_data = (void *)(ACPI_QUIRK_SKIP_I2C_CLIENTS |
311+
ACPI_QUIRK_SKIP_ACPI_AC_AND_BATTERY |
312+
ACPI_QUIRK_SKIP_GPIO_EVENT_HANDLERS),
313+
},
303314
{
304315
.matches = {
305316
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),

0 commit comments

Comments
 (0)