Skip to content

Commit fe820db

Browse files
jwrdegoederafaeljw
authored andcommitted
ACPI: x86: Add skip i2c clients quirk for Lenovo Yoga Tab 3 Pro (YT3-X90F)
The Lenovo Yoga Tab 3 Pro (YT3-X90F) is a x86 (Cherry Trail) 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 Tab 3 Pro'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 Tab 3 Pro to the acpi_quirk_skip_dmi_ids table to woraround this. ACPI_QUIRK_SKIP_I2C_CLIENTS handling uses i2c_acpi_known_good_ids[], so that PMICs and Audio codecs will still be enumerated properly. The Lenovo Yoga Tab 3 Pro uses a Whiskey Cove PMIC, add the INT34D3 HID for this PMIC to the i2c_acpi_known_good_ids[] list. Signed-off-by: Hans de Goede <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 2124bec commit fe820db

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

drivers/acpi/x86/utils.c

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ static const struct dmi_system_id acpi_quirk_skip_dmi_ids[] = {
308308
ACPI_QUIRK_SKIP_ACPI_AC_AND_BATTERY),
309309
},
310310
{
311-
/* Lenovo Yoga Tablet 1050F/L */
311+
/* Lenovo Yoga Tablet 2 1050F/L */
312312
.matches = {
313313
DMI_MATCH(DMI_SYS_VENDOR, "Intel Corp."),
314314
DMI_MATCH(DMI_PRODUCT_NAME, "VALLEYVIEW C0 PLATFORM"),
@@ -319,6 +319,16 @@ static const struct dmi_system_id acpi_quirk_skip_dmi_ids[] = {
319319
.driver_data = (void *)(ACPI_QUIRK_SKIP_I2C_CLIENTS |
320320
ACPI_QUIRK_SKIP_ACPI_AC_AND_BATTERY),
321321
},
322+
{
323+
/* Lenovo Yoga Tab 3 Pro X90F */
324+
.matches = {
325+
DMI_MATCH(DMI_SYS_VENDOR, "Intel Corporation"),
326+
DMI_MATCH(DMI_PRODUCT_NAME, "CHERRYVIEW D1 PLATFORM"),
327+
DMI_MATCH(DMI_PRODUCT_VERSION, "Blade3-10A-001"),
328+
},
329+
.driver_data = (void *)(ACPI_QUIRK_SKIP_I2C_CLIENTS |
330+
ACPI_QUIRK_SKIP_ACPI_AC_AND_BATTERY),
331+
},
322332
{
323333
/* Nextbook Ares 8 */
324334
.matches = {
@@ -348,6 +358,7 @@ static const struct acpi_device_id i2c_acpi_known_good_ids[] = {
348358
{ "10EC5640", 0 }, /* RealTek ALC5640 audio codec */
349359
{ "INT33F4", 0 }, /* X-Powers AXP288 PMIC */
350360
{ "INT33FD", 0 }, /* Intel Crystal Cove PMIC */
361+
{ "INT34D3", 0 }, /* Intel Whiskey Cove PMIC */
351362
{ "NPCE69A", 0 }, /* Asus Transformer keyboard dock */
352363
{}
353364
};

0 commit comments

Comments
 (0)