Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

+23
+23
drivers/platform/x86/touchscreen_dmi.c
··· 295 295 .properties = irbis_tw90_props, 296 296 }; 297 297 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 + 298 313 static const struct property_entry itworks_tw891_props[] = { 299 314 PROPERTY_ENTRY_U32("touchscreen-min-x", 1), 300 315 PROPERTY_ENTRY_U32("touchscreen-min-y", 5), ··· 966 951 .matches = { 967 952 DMI_MATCH(DMI_SYS_VENDOR, "IRBIS"), 968 953 DMI_MATCH(DMI_PRODUCT_NAME, "TW90"), 954 + }, 955 + }, 956 + { 957 + /* Irbis TW118 */ 958 + .driver_data = (void *)&irbis_tw118_data, 959 + .matches = { 960 + DMI_MATCH(DMI_SYS_VENDOR, "IRBIS"), 961 + DMI_MATCH(DMI_PRODUCT_NAME, "TW118"), 969 962 }, 970 963 }, 971 964 {