summaryrefslogtreecommitdiff
path: root/drivers/platform/x86/x86-android-tablets/dmi.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2023-04-01 17:07:37 +0200
committerHans de Goede <hdegoede@redhat.com>2023-04-06 13:01:33 +0200
commitc69fec50ec2e3aeea46b13235b72d9d5a1bf095a (patch)
treeb448a4de3ba4ec3e54d48ca9402015306c584935 /drivers/platform/x86/x86-android-tablets/dmi.c
parentec5a4565fd6e15ccbe5710a326a2f283c0507389 (diff)
platform/x86: x86-android-tablets: Add Lenovo Yoga Book X90F/L data
The Lenovo Yoga Book X90F/L 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. Enumeration of these is skipped through the acpi_quirk_skip_i2c_client_enumeration(). Add support for manually instantiating the I2C + other devices which are actually present on this tablet by adding the necessary device info to the x86-android-tablets module. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Link: https://lore.kernel.org/r/20230401150737.597417-3-hdegoede@redhat.com
Diffstat (limited to 'drivers/platform/x86/x86-android-tablets/dmi.c')
-rw-r--r--drivers/platform/x86/x86-android-tablets/dmi.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/platform/x86/x86-android-tablets/dmi.c b/drivers/platform/x86/x86-android-tablets/dmi.c
index 6ea47af1b480..23e640b7003d 100644
--- a/drivers/platform/x86/x86-android-tablets/dmi.c
+++ b/drivers/platform/x86/x86-android-tablets/dmi.c
@@ -77,6 +77,15 @@ const struct dmi_system_id x86_android_tablet_ids[] __initconst = {
.driver_data = (void *)&czc_p10t,
},
{
+ /* Lenovo Yoga Book X90F / X90L */
+ .matches = {
+ DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Intel Corporation"),
+ DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "CHERRYVIEW D1 PLATFORM"),
+ DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "YETI-11"),
+ },
+ .driver_data = (void *)&lenovo_yogabook_x90_info,
+ },
+ {
/* Lenovo Yoga Book X91F / X91L */
.matches = {
/* Non exact match to match F + L versions */