Skip to content

Commit efe813d

Browse files
jwrdegoedeandy-shev
authored andcommitted
platform/x86: touchscreen_dmi: Add info for the MPMAN Converter9 2-in-1
Add touchscreen info for the MPMAN Converter9 2-in-1. This device uses the same case as the ITworks TW891, but it uses a different digitizer, so it needs its own firmware. Signed-off-by: Hans de Goede <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]>
1 parent d41ec79 commit efe813d

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

drivers/platform/x86/touchscreen_dmi.c

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,23 @@ static const struct ts_dmi_data jumper_ezpad_mini3_data = {
373373
.properties = jumper_ezpad_mini3_props,
374374
};
375375

376+
static const struct property_entry mpman_converter9_props[] = {
377+
PROPERTY_ENTRY_U32("touchscreen-min-x", 8),
378+
PROPERTY_ENTRY_U32("touchscreen-min-y", 8),
379+
PROPERTY_ENTRY_U32("touchscreen-size-x", 1664),
380+
PROPERTY_ENTRY_U32("touchscreen-size-y", 880),
381+
PROPERTY_ENTRY_BOOL("touchscreen-inverted-y"),
382+
PROPERTY_ENTRY_BOOL("touchscreen-swapped-x-y"),
383+
PROPERTY_ENTRY_STRING("firmware-name", "gsl1680-mpman-converter9.fw"),
384+
PROPERTY_ENTRY_U32("silead,max-fingers", 10),
385+
{ }
386+
};
387+
388+
static const struct ts_dmi_data mpman_converter9_data = {
389+
.acpi_name = "MSSL1680:00",
390+
.properties = mpman_converter9_props,
391+
};
392+
376393
static const struct property_entry mpman_mpwin895cl_props[] = {
377394
PROPERTY_ENTRY_U32("touchscreen-min-x", 3),
378395
PROPERTY_ENTRY_U32("touchscreen-min-y", 9),
@@ -976,6 +993,14 @@ const struct dmi_system_id touchscreen_dmi_table[] = {
976993
DMI_MATCH(DMI_PRODUCT_NAME, "FlexBook edge11 - M-FBE11"),
977994
},
978995
},
996+
{
997+
/* MP Man Converter 9 */
998+
.driver_data = (void *)&mpman_converter9_data,
999+
.matches = {
1000+
DMI_MATCH(DMI_SYS_VENDOR, "MPMAN"),
1001+
DMI_MATCH(DMI_PRODUCT_NAME, "Converter9"),
1002+
},
1003+
},
9791004
{
9801005
/* MP Man MPWIN895CL */
9811006
.driver_data = (void *)&mpman_mpwin895cl_data,

0 commit comments

Comments
 (0)