Skip to content

Commit 69d6b37

Browse files
jwrdegoederafaeljw
authored andcommitted
ACPI: x86: Add skip i2c clients quirk for Nextbook Ares 8A
The Nextbook Ares 8A is a x86 ACPI tablet which ships with Android x86 as factory OS. Its DSDT contains a bunch of I2C devices which are not actually there (the Android x86 kernel fork ignores I2C devices described in the DSDT). On this specific model this just not cause resource conflicts, one of the probe() calls for the non existing i2c_clients actually ends up toggling a GPIO or executing a _PS3 after a failed probe which turns the tablet off. Add a ACPI_QUIRK_SKIP_I2C_CLIENTS for the Nextbook Ares 8 to the acpi_quirk_skip_dmi_ids table to avoid the bogus i2c_clients and to fix the tablet turning off during boot because of this. Also add the "10EC5651" HID for the RealTek ALC5651 codec used in this tablet to the list of HIDs for which not to skipi2c_client instantiation, since the Intel SST sound driver relies on the codec being instantiated through ACPI. Signed-off-by: Hans de Goede <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent f1fcbaa commit 69d6b37

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
@@ -365,7 +365,7 @@ static const struct dmi_system_id acpi_quirk_skip_dmi_ids[] = {
365365
ACPI_QUIRK_SKIP_ACPI_AC_AND_BATTERY),
366366
},
367367
{
368-
/* Nextbook Ares 8 */
368+
/* Nextbook Ares 8 (BYT version)*/
369369
.matches = {
370370
DMI_MATCH(DMI_SYS_VENDOR, "Insyde"),
371371
DMI_MATCH(DMI_PRODUCT_NAME, "M890BAP"),
@@ -374,6 +374,16 @@ static const struct dmi_system_id acpi_quirk_skip_dmi_ids[] = {
374374
ACPI_QUIRK_SKIP_ACPI_AC_AND_BATTERY |
375375
ACPI_QUIRK_SKIP_GPIO_EVENT_HANDLERS),
376376
},
377+
{
378+
/* Nextbook Ares 8A (CHT version)*/
379+
.matches = {
380+
DMI_MATCH(DMI_SYS_VENDOR, "Insyde"),
381+
DMI_MATCH(DMI_PRODUCT_NAME, "CherryTrail"),
382+
DMI_MATCH(DMI_BIOS_VERSION, "M882"),
383+
},
384+
.driver_data = (void *)(ACPI_QUIRK_SKIP_I2C_CLIENTS |
385+
ACPI_QUIRK_SKIP_ACPI_AC_AND_BATTERY),
386+
},
377387
{
378388
/* Whitelabel (sold as various brands) TM800A550L */
379389
.matches = {
@@ -392,6 +402,7 @@ static const struct dmi_system_id acpi_quirk_skip_dmi_ids[] = {
392402
#if IS_ENABLED(CONFIG_X86_ANDROID_TABLETS)
393403
static const struct acpi_device_id i2c_acpi_known_good_ids[] = {
394404
{ "10EC5640", 0 }, /* RealTek ALC5640 audio codec */
405+
{ "10EC5651", 0 }, /* RealTek ALC5651 audio codec */
395406
{ "INT33F4", 0 }, /* X-Powers AXP288 PMIC */
396407
{ "INT33FD", 0 }, /* Intel Crystal Cove PMIC */
397408
{ "INT34D3", 0 }, /* Intel Whiskey Cove PMIC */

0 commit comments

Comments
 (0)