ACPI: x86: Add skip i2c clients quirk for Lenovo Yoga Book X90
authorHans de Goede <hdegoede@redhat.com>
Wed, 1 Mar 2023 10:04:36 +0000 (11:04 +0100)
committerRafael J. Wysocki <rjw@rjwysocki.net>
Tue, 7 Mar 2023 13:15:10 +0000 (14:15 +0100)
commit1a1e7540cf501dd5c8b57a577a155cdd13c7e202
tree40d25c7640e4c0d1d390f0eb99202532d0987e66
parenta5cb0695c5f0ac2ab0cedf2c1c0d75826cb73448
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 <hdegoede@redhat.com>
Signed-off-by: Rafael J. Wysocki <rjw@rjwysocki.net>
drivers/acpi/x86/utils.c