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

platform/x86: touchscreen_dmi: Add touchscreen info for techBite Arc 11.6.

Add touchscreen info for techBite Arc 11.6.

Signed-off-by: Wiktor Ciurej <wiktor.ciurej@gmail.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

authored by

Wiktor Ciurej and committed by
Andy Shevchenko
97e130f6 e415da35

+25
+25
drivers/platform/x86/touchscreen_dmi.c
··· 605 605 .properties = schneider_sct101ctm_props, 606 606 }; 607 607 608 + static const struct property_entry techbite_arc_11_6_props[] = { 609 + PROPERTY_ENTRY_U32("touchscreen-min-x", 5), 610 + PROPERTY_ENTRY_U32("touchscreen-min-y", 7), 611 + PROPERTY_ENTRY_U32("touchscreen-size-x", 1981), 612 + PROPERTY_ENTRY_U32("touchscreen-size-y", 1270), 613 + PROPERTY_ENTRY_BOOL("touchscreen-inverted-y"), 614 + PROPERTY_ENTRY_STRING("firmware-name", "gsl1680-techbite-arc-11-6.fw"), 615 + PROPERTY_ENTRY_U32("silead,max-fingers", 10), 616 + { } 617 + }; 618 + 619 + static const struct ts_dmi_data techbite_arc_11_6_data = { 620 + .acpi_name = "MSSL1680:00", 621 + .properties = techbite_arc_11_6_props, 622 + }; 623 + 608 624 static const struct property_entry teclast_x3_plus_props[] = { 609 625 PROPERTY_ENTRY_U32("touchscreen-size-x", 1980), 610 626 PROPERTY_ENTRY_U32("touchscreen-size-y", 1500), ··· 1068 1052 .matches = { 1069 1053 DMI_MATCH(DMI_SYS_VENDOR, "Default string"), 1070 1054 DMI_MATCH(DMI_PRODUCT_NAME, "SCT101CTM"), 1055 + }, 1056 + }, 1057 + { 1058 + /* Techbite Arc 11.6 */ 1059 + .driver_data = (void *)&techbite_arc_11_6_data, 1060 + .matches = { 1061 + DMI_MATCH(DMI_SYS_VENDOR, "mPTech"), 1062 + DMI_MATCH(DMI_PRODUCT_NAME, "techBite Arc 11.6"), 1063 + DMI_MATCH(DMI_BOARD_NAME, "G8316_272B"), 1071 1064 }, 1072 1065 }, 1073 1066 {