Skip to content

Commit aa7dcba

Browse files
renanglrjwrdegoede
authored andcommitted
platform/x86: touchscreen_dmi: Add info for the Positivo C4128B
Add information for the Positivo C4128B, a notebook/tablet convertible. Link: onitake/gsl-firmware#217 Signed-off-by: Renan Guilherme Lebre Ramos <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Hans de Goede <[email protected]>
1 parent 34c271e commit aa7dcba

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

drivers/platform/x86/touchscreen_dmi.c

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -771,6 +771,21 @@ static const struct ts_dmi_data pipo_w11_data = {
771771
.properties = pipo_w11_props,
772772
};
773773

774+
static const struct property_entry positivo_c4128b_props[] = {
775+
PROPERTY_ENTRY_U32("touchscreen-min-x", 4),
776+
PROPERTY_ENTRY_U32("touchscreen-min-y", 13),
777+
PROPERTY_ENTRY_U32("touchscreen-size-x", 1915),
778+
PROPERTY_ENTRY_U32("touchscreen-size-y", 1269),
779+
PROPERTY_ENTRY_STRING("firmware-name", "gsl1680-positivo-c4128b.fw"),
780+
PROPERTY_ENTRY_U32("silead,max-fingers", 10),
781+
{ }
782+
};
783+
784+
static const struct ts_dmi_data positivo_c4128b_data = {
785+
.acpi_name = "MSSL1680:00",
786+
.properties = positivo_c4128b_props,
787+
};
788+
774789
static const struct property_entry pov_mobii_wintab_p800w_v20_props[] = {
775790
PROPERTY_ENTRY_U32("touchscreen-min-x", 32),
776791
PROPERTY_ENTRY_U32("touchscreen-min-y", 16),
@@ -1502,6 +1517,14 @@ const struct dmi_system_id touchscreen_dmi_table[] = {
15021517
DMI_MATCH(DMI_BIOS_VERSION, "MOMO.G.WI71C.MABMRBA02"),
15031518
},
15041519
},
1520+
{
1521+
/* Positivo C4128B */
1522+
.driver_data = (void *)&positivo_c4128b_data,
1523+
.matches = {
1524+
DMI_MATCH(DMI_SYS_VENDOR, "Positivo Tecnologia SA"),
1525+
DMI_MATCH(DMI_PRODUCT_NAME, "C4128B-1"),
1526+
},
1527+
},
15051528
{
15061529
/* Point of View mobii wintab p800w (v2.0) */
15071530
.driver_data = (void *)&pov_mobii_wintab_p800w_v20_data,

0 commit comments

Comments
 (0)