Skip to content

Commit 9527a86

Browse files
mkmvzlbgregkh
authored andcommitted
platform/x86: touchscreen_dmi: Add info for the CSL Panther Tab HD
[ Upstream commit 36c2b9d ] Add touchscreen info for the CSL Panther Tab HD. Signed-off-by: Michael Klein <m.klein@mvz-labor-lb.de> Link: https://lore.kernel.org/r/20221220121103.uiwn5l7fii2iggct@LLGMVZLB-0037 Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 564756d commit 9527a86

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

drivers/platform/x86/touchscreen_dmi.c

+25
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,23 @@ static const struct ts_dmi_data connect_tablet9_data = {
264264
.properties = connect_tablet9_props,
265265
};
266266

267+
static const struct property_entry csl_panther_tab_hd_props[] = {
268+
PROPERTY_ENTRY_U32("touchscreen-min-x", 1),
269+
PROPERTY_ENTRY_U32("touchscreen-min-y", 20),
270+
PROPERTY_ENTRY_U32("touchscreen-size-x", 1980),
271+
PROPERTY_ENTRY_U32("touchscreen-size-y", 1526),
272+
PROPERTY_ENTRY_BOOL("touchscreen-inverted-y"),
273+
PROPERTY_ENTRY_BOOL("touchscreen-swapped-x-y"),
274+
PROPERTY_ENTRY_STRING("firmware-name", "gsl1680-csl-panther-tab-hd.fw"),
275+
PROPERTY_ENTRY_U32("silead,max-fingers", 10),
276+
{ }
277+
};
278+
279+
static const struct ts_dmi_data csl_panther_tab_hd_data = {
280+
.acpi_name = "MSSL1680:00",
281+
.properties = csl_panther_tab_hd_props,
282+
};
283+
267284
static const struct property_entry cube_iwork8_air_props[] = {
268285
PROPERTY_ENTRY_U32("touchscreen-min-x", 1),
269286
PROPERTY_ENTRY_U32("touchscreen-min-y", 3),
@@ -1124,6 +1141,14 @@ const struct dmi_system_id touchscreen_dmi_table[] = {
11241141
DMI_MATCH(DMI_PRODUCT_NAME, "Tablet 9"),
11251142
},
11261143
},
1144+
{
1145+
/* CSL Panther Tab HD */
1146+
.driver_data = (void *)&csl_panther_tab_hd_data,
1147+
.matches = {
1148+
DMI_MATCH(DMI_SYS_VENDOR, "CSL Computer GmbH & Co. KG"),
1149+
DMI_MATCH(DMI_PRODUCT_NAME, "CSL Panther Tab HD"),
1150+
},
1151+
},
11271152
{
11281153
/* CUBE iwork8 Air */
11291154
.driver_data = (void *)&cube_iwork8_air_data,

0 commit comments

Comments
 (0)