ACPI / x86: Add skip i2c clients quirk for Nextbook Ares 8
authorHans de Goede <hdegoede@redhat.com>
Wed, 23 Feb 2022 13:50:31 +0000 (14:50 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 8 Mar 2022 14:41:27 +0000 (15:41 +0100)
The Nextbook Ares 8 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, causing various resource conflicts (the Android x86
kernel fork ignores I2C devices described in the DSDT).

Add a ACPI_QUIRK_SKIP_I2C_CLIENTS for the Nextbook Ares 8 to the
acpi_quirk_skip_dmi_ids table to woraround this.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/x86/utils.c

index ffdeed5334d6f30b5c082f4cbdb3f3b0dea685ee..9b991294f1e55420c1173031c1381c4700fe28a3 100644 (file)
@@ -284,6 +284,15 @@ static const struct dmi_system_id acpi_quirk_skip_dmi_ids[] = {
                .driver_data = (void *)(ACPI_QUIRK_SKIP_I2C_CLIENTS |
                                        ACPI_QUIRK_SKIP_ACPI_AC_AND_BATTERY),
        },
+       {
+               /* Nextbook Ares 8 */
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Insyde"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "M890BAP"),
+               },
+               .driver_data = (void *)(ACPI_QUIRK_SKIP_I2C_CLIENTS |
+                                       ACPI_QUIRK_SKIP_ACPI_AC_AND_BATTERY),
+       },
        {
                /* Whitelabel (sold as various brands) TM800A550L */
                .matches = {