All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] platform/x86: touchscreen_dmi: Add info for the Digma CITI 1804 tablet
@ 2026-11-25 10:08 Artur Bakirov
  2026-11-25 15:09 ` Hans de Goede
  0 siblings, 1 reply; 2+ messages in thread
From: Artur Bakirov @ 2026-11-25 10:08 UTC (permalink / raw)
  To: Hans de Goede, Ilpo Järvinen; +Cc: platform-driver-x86, 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.

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.

Link: https://github.com/onitake/gsl-firmware/pull/269
Signed-off-by: Artur Bakirov <darkonline.android@gmail.com>
---
 drivers/platform/x86/touchscreen_dmi.c | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/drivers/platform/x86/touchscreen_dmi.c b/drivers/platform/x86/touchscreen_dmi.c
index d83c387..606bdbb 100644
--- a/drivers/platform/x86/touchscreen_dmi.c
+++ b/drivers/platform/x86/touchscreen_dmi.c
@@ -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,
-- 
2.49.0.windows.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-11-25 15:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-25 10:08 [PATCH] platform/x86: touchscreen_dmi: Add info for the Digma CITI 1804 tablet Artur Bakirov
2026-11-25 15:09 ` Hans de Goede

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.