diff mbox

platform/x86: silead_dmi: Add entry for Ployer Momo7w tablet touchscreen

Message ID 20170712111511.18758-1-hdegoede@redhat.com (mailing list archive)
State Accepted, archived
Delegated to: Darren Hart
Headers show

Commit Message

Hans de Goede July 12, 2017, 11:15 a.m. UTC
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>
---
 drivers/platform/x86/silead_dmi.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

Comments

Darren Hart July 12, 2017, 8:58 p.m. UTC | #1
On Wed, Jul 12, 2017 at 01:15:11PM +0200, Hans de Goede wrote:
> 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>

Thanks Hans, queued to testing.
diff mbox

Patch

diff --git a/drivers/platform/x86/silead_dmi.c b/drivers/platform/x86/silead_dmi.c
index f9e840aa5592..1157a7b646d6 100644
--- a/drivers/platform/x86/silead_dmi.c
+++ b/drivers/platform/x86/silead_dmi.c
@@ -174,6 +174,16 @@  static const struct dmi_system_id silead_ts_dmi_table[] = {
 		},
 	},
 	{
+		/* 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,
 		.matches = {