]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
platform/x86: silead_dmi: Add entry for Ployer Momo7w tablet touchscreen
authorHans de Goede <hdegoede@redhat.com>
Wed, 12 Jul 2017 11:15:11 +0000 (13:15 +0200)
committerDarren Hart (VMware) <dvhart@infradead.org>
Wed, 12 Jul 2017 20:57:42 +0000 (13:57 -0700)
This Ployer Momo7w revision has the same hardware as the Trekstor
ST70416-6, so we re-use the surftab_wintron70_st70416_6_data.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
drivers/platform/x86/silead_dmi.c

index f9e840aa5592d80c7a323f9787ceef2cd70b459a..1157a7b646d66c17682e985eb22d81e6bea7ab45 100644 (file)
@@ -173,6 +173,16 @@ static const struct dmi_system_id silead_ts_dmi_table[] = {
                        DMI_MATCH(DMI_BIOS_VERSION, "TREK.G.WI71C.JGBMRBA04"),
                },
        },
+       {
+               /* Ployer Momo7w (same hardware as the Trekstor ST70416-6) */
+               .driver_data = (void *)&surftab_wintron70_st70416_6_data,
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Shenzhen PLOYER"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "MOMO7W"),
+                       /* Exact match, different versions need different fw */
+                       DMI_MATCH(DMI_BIOS_VERSION, "MOMO.G.WI71C.MABMRBA02"),
+               },
+       },
        {
                /* GP-electronic T701 */
                .driver_data = (void *)&gp_electronic_t701_data,