platform/x86: touchscreen_dmi: Add info for the Digma CITI 1804 tablet
Subsystems (2)
PATCH 1/1 platform/x86: touchscreen_dmi: Add info for the Digma CITI 1804 tablet
Add touchscreen info for the Digma CITI 1804 (CS1069EW) tablet, an Intel Atom x5-Z8350 (Cherry Trail) tablet with a Silead MSSL1680 touchscreen.
The firmware, extracted from the Windows driver of the tablet, is submitted to the gsl-firmware repository as gsl1680-digma-citi-1804.fw. The same settings were tested with the i2c_touchscreen_props kernel parameter on a 6.18 kernel: touch works across the whole panel and the Windows logo works as home button.
--- drivers/platform/x86/touchscreen_dmi.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+)
drivers/platform/x86/touchscreen_dmi.c +23 -0
@@ -369,6 +369,20 @@ static const struct ts_dmi_data dexp_ursus_kx210i_data = { .properties = dexp_ursus_kx210i_props, }; +static const struct property_entry digma_citi_1804_props[] = { +PROPERTY_ENTRY_U32 ("touchscreen-size-x" ,1728 ), +PROPERTY_ENTRY_U32 ("touchscreen-size-y" ,1152 ), +PROPERTY_ENTRY_BOOL ("touchscreen-swapped-x-y" ), +PROPERTY_ENTRY_STRING ("firmware-name" ,"gsl1680-digma-citi-1804.fw" ), +PROPERTY_ENTRY_BOOL ("silead,home-button" ), + { } +}; + +static const struct ts_dmi_data digma_citi_1804_data = { + .acpi_name ="MSSL1680:00" , + .properties = digma_citi_1804_props, +}; +static const struct property_entry digma_citi_e200_props[] = {PROPERTY_ENTRY_U32 ("touchscreen-size-x" ,1980 ),PROPERTY_ENTRY_U32 ("touchscreen-size-y" ,1500 ),
@@ -1308,6 +1322,15 @@ const struct dmi_system_id touchscreen_dmi_table[] = { DMI_MATCH(DMI_PRODUCT_NAME, "S107I"), }, }, + { +/* Digma CITI 1804 (CS1069EW) */ + .driver_data = (void *)&digma_citi_1804_data, + .matches = { +DMI_MATCH (DMI_SYS_VENDOR ,"Digma" ), +DMI_MATCH (DMI_PRODUCT_NAME ,"CITI 1804 CS1069EW" ), + DMI_MATCH(DMI_BOARD_NAME, "J210Z"), + }, + }, {/* Digma Citi E200 */ .driver_data = (void *)&digma_citi_e200_data,
Signature · 1 line
2.49.0.windows.1
Hi,
Quoted 4 lines · Artur Bakirov
Add touchscreen info for the Digma CITI 1804 (CS1069EW) tablet, an Intel Atom x5-Z8350 (Cherry Trail) tablet with a Silead MSSL1680 touchscreen.
Quoted 8 lines
The firmware, extracted from the Windows driver of the tablet, is submitted to the gsl-firmware repository as gsl1680-digma-citi-1804.fw. The same settings were tested with the
i2c_touchscreen_propskernel parameter on a 6.18 kernel: touch works across the whole panel and the Windows logo works as home button.
Thanks, patch looks good to me:
Regards,
Hans
Quoted 45 lines
--- drivers/platform/x86/touchscreen_dmi.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+)drivers/platform/x86/touchscreen_dmi.c +23
-0@@ -369,6 +369,20 @@ static const struct ts_dmi_data dexp_ursus_kx210i_data = { .properties = dexp_ursus_kx210i_props, }; +static const struct property_entry digma_citi_1804_props[] = { +PROPERTY_ENTRY_U32 ("touchscreen-size-x" ,1728 ), +PROPERTY_ENTRY_U32 ("touchscreen-size-y" ,1152 ), +PROPERTY_ENTRY_BOOL ("touchscreen-swapped-x-y" ), +PROPERTY_ENTRY_STRING ("firmware-name" ,"gsl1680-digma-citi-1804.fw" ), +PROPERTY_ENTRY_BOOL ("silead,home-button" ), + { } +}; + +static const struct ts_dmi_data digma_citi_1804_data = { + .acpi_name ="MSSL1680:00" , + .properties = digma_citi_1804_props, +}; +static const struct property_entry digma_citi_e200_props[] = {PROPERTY_ENTRY_U32 ("touchscreen-size-x" ,1980 ),PROPERTY_ENTRY_U32 ("touchscreen-size-y" ,1500 ),@@ -1308,6 +1322,15 @@ const struct dmi_system_id touchscreen_dmi_table[] = { DMI_MATCH(DMI_PRODUCT_NAME, "S107I"), }, }, + { +/* Digma CITI 1804 (CS1069EW) */ + .driver_data = (void *)&digma_citi_1804_data, + .matches = { +DMI_MATCH (DMI_SYS_VENDOR ,"Digma" ), +DMI_MATCH (DMI_PRODUCT_NAME ,"CITI 1804 CS1069EW" ), + DMI_MATCH(DMI_BOARD_NAME, "J210Z"), + }, + }, {/* Digma Citi E200 */ .driver_data = (void *)&digma_citi_e200_data,