platform/x86: x86-android-tablets: Add Lenovo Yoga Tablet 2 830 / 1050 data
authorHans de Goede <hdegoede@redhat.com>
Wed, 23 Feb 2022 13:31:51 +0000 (14:31 +0100)
committerHans de Goede <hdegoede@redhat.com>
Wed, 2 Mar 2022 10:43:45 +0000 (11:43 +0100)
commit67dfc2b441b4b724acb74361e9e2e23506721e4f
tree4f793083f9f7cee04b709bd1c2f279696de64881
parent7fa7dfafe40a75e93a5f59bcb4e382d0af436ace
platform/x86: x86-android-tablets: Add Lenovo Yoga Tablet 2 830 / 1050 data

The Lenovo Yoga Tablet 2 series comes in 4 versions: 830F, 830L, 1050F and
1050L. The F postfix indicates a wifi only version and the L postfix
indicates a LTE version. The 830 models are 8" and the 1050 models are 10".

Despite there being 8" and 10" versions all models use the same mainboard,
with an identical BIOS and thus identical DMI strings, so support for all
4 models is added through a single DMI table entry.

As all devices dealt with in the x86-android-tablets modules, these are
x86 ACPI tablets which ships with Android x86 as factory OS.
The mainboard's DSDT contain 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 devices which are
actually present on this tablet by adding the necessary device info to
the x86-android-tablets module.

This has been tested on a 830F and a 1050L tablet.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20220223133153.730337-4-hdegoede@redhat.com
drivers/platform/x86/x86-android-tablets.c