Commit f4c12d4d authored by Bernhard Übelacker's avatar Bernhard Übelacker Committed by Andy Shevchenko

platform/x86: silead_dmi: Add touchscreen info for SurfTab twin 10.1

Add touchscreen info for the Trekstor SurfTab twin 10.1 ST10432-8
tablet. Resolution based on output of evemu-record.
Signed-off-by: default avatarBernhard Übelacker <bernhardu@mailbox.org>
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
parent c454a99d
...@@ -67,6 +67,21 @@ static const struct silead_ts_dmi_data dexp_ursus_7w_data = { ...@@ -67,6 +67,21 @@ static const struct silead_ts_dmi_data dexp_ursus_7w_data = {
.properties = dexp_ursus_7w_props, .properties = dexp_ursus_7w_props,
}; };
static const struct property_entry surftab_twin_10_1_st10432_8_props[] = {
PROPERTY_ENTRY_U32("touchscreen-size-x", 1900),
PROPERTY_ENTRY_U32("touchscreen-size-y", 1280),
PROPERTY_ENTRY_U32("touchscreen-inverted-y", 1),
PROPERTY_ENTRY_STRING("firmware-name",
"gsl3670-surftab-twin-10-1-st10432-8.fw"),
PROPERTY_ENTRY_U32("silead,max-fingers", 10),
{ }
};
static const struct silead_ts_dmi_data surftab_twin_10_1_st10432_8_data = {
.acpi_name = "MSSL1680:00",
.properties = surftab_twin_10_1_st10432_8_props,
};
static const struct property_entry surftab_wintron70_st70416_6_props[] = { static const struct property_entry surftab_wintron70_st70416_6_props[] = {
PROPERTY_ENTRY_U32("touchscreen-size-x", 884), PROPERTY_ENTRY_U32("touchscreen-size-x", 884),
PROPERTY_ENTRY_U32("touchscreen-size-y", 632), PROPERTY_ENTRY_U32("touchscreen-size-y", 632),
...@@ -198,6 +213,14 @@ static const struct dmi_system_id silead_ts_dmi_table[] = { ...@@ -198,6 +213,14 @@ static const struct dmi_system_id silead_ts_dmi_table[] = {
DMI_MATCH(DMI_PRODUCT_NAME, "7W"), DMI_MATCH(DMI_PRODUCT_NAME, "7W"),
}, },
}, },
{
/* TrekStor SurfTab twin 10.1 ST10432-8 */
.driver_data = (void *)&surftab_twin_10_1_st10432_8_data,
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "TrekStor"),
DMI_MATCH(DMI_PRODUCT_NAME, "SurfTab twin 10.1"),
},
},
{ {
/* Trekstor Surftab Wintron 7.0 ST70416-6 */ /* Trekstor Surftab Wintron 7.0 ST70416-6 */
.driver_data = (void *)&surftab_wintron70_st70416_6_data, .driver_data = (void *)&surftab_wintron70_st70416_6_data,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment