Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 4b65f95

Browse files
avdeev-avjwrdegoede
authored andcommitted
platform/x86: touchscreen_dmi: Add info for the Dexp Ursus KX210i
Add touchscreen info for the Dexp Ursus KX210i Signed-off-by: Andrey Avdeev <[email protected]> Link: https://lore.kernel.org/r/ZE4gRgzRQCjXFYD0@avdeevavpc Cc: [email protected] Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Hans de Goede <[email protected]>
1 parent 6abfa99 commit 4b65f95

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

drivers/platform/x86/touchscreen_dmi.c

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,22 @@ static const struct ts_dmi_data dexp_ursus_7w_data = {
336336
.properties = dexp_ursus_7w_props,
337337
};
338338

339+
static const struct property_entry dexp_ursus_kx210i_props[] = {
340+
PROPERTY_ENTRY_U32("touchscreen-min-x", 5),
341+
PROPERTY_ENTRY_U32("touchscreen-min-y", 2),
342+
PROPERTY_ENTRY_U32("touchscreen-size-x", 1720),
343+
PROPERTY_ENTRY_U32("touchscreen-size-y", 1137),
344+
PROPERTY_ENTRY_STRING("firmware-name", "gsl1680-dexp-ursus-kx210i.fw"),
345+
PROPERTY_ENTRY_U32("silead,max-fingers", 10),
346+
PROPERTY_ENTRY_BOOL("silead,home-button"),
347+
{ }
348+
};
349+
350+
static const struct ts_dmi_data dexp_ursus_kx210i_data = {
351+
.acpi_name = "MSSL1680:00",
352+
.properties = dexp_ursus_kx210i_props,
353+
};
354+
339355
static const struct property_entry digma_citi_e200_props[] = {
340356
PROPERTY_ENTRY_U32("touchscreen-size-x", 1980),
341357
PROPERTY_ENTRY_U32("touchscreen-size-y", 1500),
@@ -1190,6 +1206,14 @@ const struct dmi_system_id touchscreen_dmi_table[] = {
11901206
DMI_MATCH(DMI_PRODUCT_NAME, "7W"),
11911207
},
11921208
},
1209+
{
1210+
/* DEXP Ursus KX210i */
1211+
.driver_data = (void *)&dexp_ursus_kx210i_data,
1212+
.matches = {
1213+
DMI_MATCH(DMI_SYS_VENDOR, "INSYDE Corp."),
1214+
DMI_MATCH(DMI_PRODUCT_NAME, "S107I"),
1215+
},
1216+
},
11931217
{
11941218
/* Digma Citi E200 */
11951219
.driver_data = (void *)&digma_citi_e200_data,

0 commit comments

Comments
 (0)