ACPI: x86: Add skip i2c clients quirk for Nextbook Ares 8A
authorHans de Goede <hdegoede@redhat.com>
Sat, 29 Apr 2023 10:38:40 +0000 (12:38 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 17 May 2023 18:26:43 +0000 (20:26 +0200)
commit69d6b37695c1f2320cfa330e1e1636d50dd5040a
tree938c12a105a9ea170cc9d35761681e4886b784b5
parentf1fcbaa18b28dec10281551dfe6ed3a3ed80e3d6
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 <hdegoede@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/x86/utils.c