Skip to content

Commit 6b293a8

Browse files
tomlohavejwrdegoede
authored andcommitted
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 onitake/gsl-firmware#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>
1 parent d0050c2 commit 6b293a8

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

drivers/platform/x86/touchscreen_dmi.c

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,21 @@ struct ts_dmi_data {
2626

2727
/* NOTE: Please keep all entries sorted alphabetically */
2828

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+
2944
static const struct property_entry chuwi_hi8_props[] = {
3045
PROPERTY_ENTRY_U32("touchscreen-size-x", 1665),
3146
PROPERTY_ENTRY_U32("touchscreen-size-y", 1140),
@@ -1047,6 +1062,13 @@ static const struct ts_dmi_data vinga_twizzle_j116_data = {
10471062

10481063
/* NOTE: Please keep this table sorted alphabetically */
10491064
const struct dmi_system_id touchscreen_dmi_table[] = {
1065+
{
1066+
/* Archos 101 Cesium Educ */
1067+
.driver_data = (void *)&archos_101_cesium_educ_data,
1068+
.matches = {
1069+
DMI_MATCH(DMI_PRODUCT_NAME, "ARCHOS 101 Cesium Educ"),
1070+
},
1071+
},
10501072
{
10511073
/* Chuwi Hi8 */
10521074
.driver_data = (void *)&chuwi_hi8_data,

0 commit comments

Comments
 (0)