platform/x86: silead_dmi: Add entry for the Yours Y8W81 tablet
authorHans de Goede <hdegoede@redhat.com>
Fri, 9 Mar 2018 14:03:58 +0000 (15:03 +0100)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 2 Apr 2018 14:31:50 +0000 (17:31 +0300)
Add an entry with touchscreen info for the Yours Y8W81 8" tablet.

This tablet has the same case and mostly the same internals as the Chuwi
Vi8. Both seem to be from an ODM called inet-tek. Both are labelled:
"INET-I86M-REVxx" on the PCB, with the Chuwi Vi8 being REV03 (and having
an ALC5640 audio codec) and the Yours Y8W81 being REV21 (and having an
ALC5651 audio codec). The wifi, accelerometer and touchscreen are
identical on both.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/silead_dmi.c

index 1091539fa2301433105d2310bdafd9ba401c6437..452aacabaa8efc71115bd4c107e485f490fe138d 100644 (file)
@@ -455,6 +455,14 @@ static const struct dmi_system_id silead_ts_dmi_table[] = {
                        DMI_MATCH(DMI_BIOS_VERSION, "itWORKS.G.WI71C.JGBMRB"),
                },
        },
+       {
+               /* Yours Y8W81, same case and touchscreen as Chuwi Vi8 */
+               .driver_data = (void *)&chuwi_vi8_data,
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "YOURS"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "Y8W81"),
+               },
+       },
        { },
 };