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

platform/x86: touchscreen_dmi: Add info for the Archos 101 Cesium Educ tablet

Add info for the Archos 101 Cesium Educ tablet
It was tested using gslx680_ts_acpi module
PR at https://github.com/onitake/gsl-firmware/pull/210 for the firmware

Signed-off-by: Thomas GENTY <tomlohave@gmail.com>
Link: https://lore.kernel.org/r/20230707141425.21473-1-tomlohave@gmail.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>

authored by

Thomas GENTY and committed by
Hans de Goede
6b293a8c d0050c2e

+22
+22
drivers/platform/x86/touchscreen_dmi.c
··· 26 26 27 27 /* NOTE: Please keep all entries sorted alphabetically */ 28 28 29 + static const struct property_entry archos_101_cesium_educ_props[] = { 30 + PROPERTY_ENTRY_U32("touchscreen-size-x", 1280), 31 + PROPERTY_ENTRY_U32("touchscreen-size-y", 1850), 32 + PROPERTY_ENTRY_BOOL("touchscreen-inverted-x"), 33 + PROPERTY_ENTRY_BOOL("touchscreen-swapped-x-y"), 34 + PROPERTY_ENTRY_U32("silead,max-fingers", 10), 35 + PROPERTY_ENTRY_STRING("firmware-name", "gsl1680-archos-101-cesium-educ.fw"), 36 + { } 37 + }; 38 + 39 + static const struct ts_dmi_data archos_101_cesium_educ_data = { 40 + .acpi_name = "MSSL1680:00", 41 + .properties = archos_101_cesium_educ_props, 42 + }; 43 + 29 44 static const struct property_entry chuwi_hi8_props[] = { 30 45 PROPERTY_ENTRY_U32("touchscreen-size-x", 1665), 31 46 PROPERTY_ENTRY_U32("touchscreen-size-y", 1140), ··· 1062 1047 1063 1048 /* NOTE: Please keep this table sorted alphabetically */ 1064 1049 const struct dmi_system_id touchscreen_dmi_table[] = { 1050 + { 1051 + /* Archos 101 Cesium Educ */ 1052 + .driver_data = (void *)&archos_101_cesium_educ_data, 1053 + .matches = { 1054 + DMI_MATCH(DMI_PRODUCT_NAME, "ARCHOS 101 Cesium Educ"), 1055 + }, 1056 + }, 1065 1057 { 1066 1058 /* Chuwi Hi8 */ 1067 1059 .driver_data = (void *)&chuwi_hi8_data,