Skip to content

Commit 34c271e

Browse files
stpf99jwrdegoede
authored andcommitted
platform/x86: touchscreen_dmi: Add info for the BUSH Bush Windows tablet
Add touchscreen info for the BUSH Bush Windows tablet. It was tested using gslx680_ts_acpi module and on patched kernel installed on device. Link: onitake/gsl-firmware#215 Link: systemd/systemd#29268 Signed-off-by: Tomasz Swiatek <[email protected]> Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Hans de Goede <[email protected]>
1 parent cbf9256 commit 34c271e

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
@@ -42,6 +42,21 @@ static const struct ts_dmi_data archos_101_cesium_educ_data = {
4242
.properties = archos_101_cesium_educ_props,
4343
};
4444

45+
static const struct property_entry bush_bush_windows_tablet_props[] = {
46+
PROPERTY_ENTRY_U32("touchscreen-size-x", 1850),
47+
PROPERTY_ENTRY_U32("touchscreen-size-y", 1280),
48+
PROPERTY_ENTRY_BOOL("touchscreen-swapped-x-y"),
49+
PROPERTY_ENTRY_U32("silead,max-fingers", 10),
50+
PROPERTY_ENTRY_BOOL("silead,home-button"),
51+
PROPERTY_ENTRY_STRING("firmware-name", "gsl1680-bush-bush-windows-tablet.fw"),
52+
{ }
53+
};
54+
55+
static const struct ts_dmi_data bush_bush_windows_tablet_data = {
56+
.acpi_name = "MSSL1680:00",
57+
.properties = bush_bush_windows_tablet_props,
58+
};
59+
4560
static const struct property_entry chuwi_hi8_props[] = {
4661
PROPERTY_ENTRY_U32("touchscreen-size-x", 1665),
4762
PROPERTY_ENTRY_U32("touchscreen-size-y", 1140),
@@ -1070,6 +1085,13 @@ const struct dmi_system_id touchscreen_dmi_table[] = {
10701085
DMI_MATCH(DMI_PRODUCT_NAME, "ARCHOS 101 Cesium Educ"),
10711086
},
10721087
},
1088+
{
1089+
/* Bush Windows tablet */
1090+
.driver_data = (void *)&bush_bush_windows_tablet_data,
1091+
.matches = {
1092+
DMI_MATCH(DMI_PRODUCT_NAME, "Bush Windows tablet"),
1093+
},
1094+
},
10731095
{
10741096
/* Chuwi Hi8 */
10751097
.driver_data = (void *)&chuwi_hi8_data,

0 commit comments

Comments
 (0)