|
|
88f3771 |
From d95c127c48ef784214671359a41ac505ac30098a Mon Sep 17 00:00:00 2001
|
|
|
88f3771 |
From: Hans de Goede <hdegoede@redhat.com>
|
|
|
88f3771 |
Date: Sun, 7 May 2017 12:32:11 +0200
|
|
|
88f3771 |
Subject: [PATCH 07/16] platform/x86: silead_dmi: Add touchscreen info for
|
|
|
88f3771 |
GP-electronic T701
|
|
|
88f3771 |
|
|
|
88f3771 |
Add touchscreen info for the GP-electronic T701 tablet.
|
|
|
88f3771 |
|
|
|
88f3771 |
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
|
|
|
88f3771 |
---
|
|
|
88f3771 |
drivers/platform/x86/silead_dmi.c | 22 ++++++++++++++++++++++
|
|
|
88f3771 |
1 file changed, 22 insertions(+)
|
|
|
88f3771 |
|
|
|
88f3771 |
diff --git a/drivers/platform/x86/silead_dmi.c b/drivers/platform/x86/silead_dmi.c
|
|
|
88f3771 |
index a3a57d93cf06..db3a877d2160 100644
|
|
|
88f3771 |
--- a/drivers/platform/x86/silead_dmi.c
|
|
|
88f3771 |
+++ b/drivers/platform/x86/silead_dmi.c
|
|
|
88f3771 |
@@ -80,6 +80,19 @@ static const struct silead_ts_dmi_data surftab_wintron70_st70416_6_data = {
|
|
|
88f3771 |
.properties = surftab_wintron70_st70416_6_props,
|
|
|
88f3771 |
};
|
|
|
88f3771 |
|
|
|
88f3771 |
+static const struct property_entry gp_electronic_t701_props[] = {
|
|
|
88f3771 |
+ PROPERTY_ENTRY_U32("touchscreen-size-x", 960),
|
|
|
88f3771 |
+ PROPERTY_ENTRY_U32("touchscreen-size-y", 640),
|
|
|
88f3771 |
+ PROPERTY_ENTRY_STRING("firmware-name",
|
|
|
88f3771 |
+ "gsl1680-gp-electronic-t701.fw"),
|
|
|
88f3771 |
+ { }
|
|
|
88f3771 |
+};
|
|
|
88f3771 |
+
|
|
|
88f3771 |
+static const struct silead_ts_dmi_data gp_electronic_t701_data = {
|
|
|
88f3771 |
+ .acpi_name = "MSSL1680:00",
|
|
|
88f3771 |
+ .properties = gp_electronic_t701_props,
|
|
|
88f3771 |
+};
|
|
|
88f3771 |
+
|
|
|
88f3771 |
static const struct dmi_system_id silead_ts_dmi_table[] = {
|
|
|
88f3771 |
{
|
|
|
88f3771 |
/* CUBE iwork8 Air */
|
|
|
88f3771 |
@@ -117,6 +130,15 @@ static const struct dmi_system_id silead_ts_dmi_table[] = {
|
|
|
88f3771 |
DMI_MATCH(DMI_BIOS_VERSION, "TREK.G.WI71C.JGBMRBA04"),
|
|
|
88f3771 |
},
|
|
|
88f3771 |
},
|
|
|
88f3771 |
+ {
|
|
|
88f3771 |
+ /* GP-electronic T701 */
|
|
|
88f3771 |
+ .driver_data = (void *)&gp_electronic_t701_data,
|
|
|
88f3771 |
+ .matches = {
|
|
|
88f3771 |
+ DMI_MATCH(DMI_SYS_VENDOR, "Insyde"),
|
|
|
88f3771 |
+ DMI_MATCH(DMI_PRODUCT_NAME, "T701"),
|
|
|
88f3771 |
+ DMI_MATCH(DMI_BIOS_VERSION, "BYT70A.YNCHENG.WIN.007"),
|
|
|
88f3771 |
+ },
|
|
|
88f3771 |
+ },
|
|
|
88f3771 |
{ },
|
|
|
88f3771 |
};
|
|
|
88f3771 |
|
|
|
88f3771 |
--
|
|
|
88f3771 |
2.13.0
|
|
|
88f3771 |
|