Skip to content

Commit c9aa128

Browse files
committed
platform/x86: touchscreen_dmi: Add info for the Irbis TW118 tablet
Add touchscreen info for the Irbis TW118 tablet. Reported-and-tested-by: russianneuromancer <russianneuromancer@ya.ru> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Link: https://lore.kernel.org/r/20201124110454.114286-1-hdegoede@redhat.com
1 parent 0f511ed commit c9aa128

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

drivers/platform/x86/touchscreen_dmi.c

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,21 @@ static const struct ts_dmi_data irbis_tw90_data = {
295295
.properties = irbis_tw90_props,
296296
};
297297

298+
static const struct property_entry irbis_tw118_props[] = {
299+
PROPERTY_ENTRY_U32("touchscreen-min-x", 20),
300+
PROPERTY_ENTRY_U32("touchscreen-min-y", 30),
301+
PROPERTY_ENTRY_U32("touchscreen-size-x", 1960),
302+
PROPERTY_ENTRY_U32("touchscreen-size-y", 1510),
303+
PROPERTY_ENTRY_STRING("firmware-name", "gsl1680-irbis-tw118.fw"),
304+
PROPERTY_ENTRY_U32("silead,max-fingers", 10),
305+
{ }
306+
};
307+
308+
static const struct ts_dmi_data irbis_tw118_data = {
309+
.acpi_name = "MSSL1680:00",
310+
.properties = irbis_tw118_props,
311+
};
312+
298313
static const struct property_entry itworks_tw891_props[] = {
299314
PROPERTY_ENTRY_U32("touchscreen-min-x", 1),
300315
PROPERTY_ENTRY_U32("touchscreen-min-y", 5),
@@ -953,6 +968,14 @@ const struct dmi_system_id touchscreen_dmi_table[] = {
953968
DMI_MATCH(DMI_PRODUCT_NAME, "TW90"),
954969
},
955970
},
971+
{
972+
/* Irbis TW118 */
973+
.driver_data = (void *)&irbis_tw118_data,
974+
.matches = {
975+
DMI_MATCH(DMI_SYS_VENDOR, "IRBIS"),
976+
DMI_MATCH(DMI_PRODUCT_NAME, "TW118"),
977+
},
978+
},
956979
{
957980
/* I.T.Works TW891 */
958981
.driver_data = (void *)&itworks_tw891_data,

0 commit comments

Comments
 (0)