Skip to content

Commit d9ca30b

Browse files
jwrdegoedeandy-shev
authored andcommitted
platform/x86: silead_dmi: Add touchscreen info for GP-electronic T701
Add touchscreen info for the GP-electronic T701 tablet. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
1 parent f0ee1a6 commit d9ca30b

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

drivers/platform/x86/silead_dmi.c

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,19 @@ static const struct silead_ts_dmi_data surftab_wintron70_st70416_6_data = {
8080
.properties = surftab_wintron70_st70416_6_props,
8181
};
8282

83+
static const struct property_entry gp_electronic_t701_props[] = {
84+
PROPERTY_ENTRY_U32("touchscreen-size-x", 960),
85+
PROPERTY_ENTRY_U32("touchscreen-size-y", 640),
86+
PROPERTY_ENTRY_STRING("firmware-name",
87+
"gsl1680-gp-electronic-t701.fw"),
88+
{ }
89+
};
90+
91+
static const struct silead_ts_dmi_data gp_electronic_t701_data = {
92+
.acpi_name = "MSSL1680:00",
93+
.properties = gp_electronic_t701_props,
94+
};
95+
8396
static const struct dmi_system_id silead_ts_dmi_table[] = {
8497
{
8598
/* CUBE iwork8 Air */
@@ -117,6 +130,15 @@ static const struct dmi_system_id silead_ts_dmi_table[] = {
117130
DMI_MATCH(DMI_BIOS_VERSION, "TREK.G.WI71C.JGBMRBA04"),
118131
},
119132
},
133+
{
134+
/* GP-electronic T701 */
135+
.driver_data = (void *)&gp_electronic_t701_data,
136+
.matches = {
137+
DMI_MATCH(DMI_SYS_VENDOR, "Insyde"),
138+
DMI_MATCH(DMI_PRODUCT_NAME, "T701"),
139+
DMI_MATCH(DMI_BIOS_VERSION, "BYT70A.YNCHENG.WIN.007"),
140+
},
141+
},
120142
{ },
121143
};
122144

0 commit comments

Comments
 (0)