Skip to content

Commit 0df044b

Browse files
committed
platform/x86: touchscreen_dmi: Add info for the RCA Cambio W101 v2 2-in-1
Add touchscreen info for the RCA Cambio W101 v2 2-in-1. Link: onitake/gsl-firmware#193 Signed-off-by: Hans de Goede <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent a231224 commit 0df044b

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

drivers/platform/x86/touchscreen_dmi.c

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -770,6 +770,22 @@ static const struct ts_dmi_data predia_basic_data = {
770770
.properties = predia_basic_props,
771771
};
772772

773+
static const struct property_entry rca_cambio_w101_v2_props[] = {
774+
PROPERTY_ENTRY_U32("touchscreen-min-x", 4),
775+
PROPERTY_ENTRY_U32("touchscreen-min-y", 20),
776+
PROPERTY_ENTRY_U32("touchscreen-size-x", 1644),
777+
PROPERTY_ENTRY_U32("touchscreen-size-y", 874),
778+
PROPERTY_ENTRY_BOOL("touchscreen-swapped-x-y"),
779+
PROPERTY_ENTRY_STRING("firmware-name", "gsl1680-rca-cambio-w101-v2.fw"),
780+
PROPERTY_ENTRY_U32("silead,max-fingers", 10),
781+
{ }
782+
};
783+
784+
static const struct ts_dmi_data rca_cambio_w101_v2_data = {
785+
.acpi_name = "MSSL1680:00",
786+
.properties = rca_cambio_w101_v2_props,
787+
};
788+
773789
static const struct property_entry rwc_nanote_p8_props[] = {
774790
PROPERTY_ENTRY_U32("touchscreen-min-y", 46),
775791
PROPERTY_ENTRY_U32("touchscreen-size-x", 1728),
@@ -1409,6 +1425,15 @@ const struct dmi_system_id touchscreen_dmi_table[] = {
14091425
DMI_EXACT_MATCH(DMI_BOARD_NAME, "0E57"),
14101426
},
14111427
},
1428+
{
1429+
/* RCA Cambio W101 v2 */
1430+
/* https://github.com/onitake/gsl-firmware/discussions/193 */
1431+
.driver_data = (void *)&rca_cambio_w101_v2_data,
1432+
.matches = {
1433+
DMI_MATCH(DMI_SYS_VENDOR, "RCA"),
1434+
DMI_MATCH(DMI_PRODUCT_NAME, "W101SA23T1"),
1435+
},
1436+
},
14121437
{
14131438
/* RWC NANOTE P8 */
14141439
.driver_data = (void *)&rwc_nanote_p8_data,

0 commit comments

Comments
 (0)