* [PATCH] platform/x86: touchscreen_dmi: Add info for the Positivo C4128B
@ 2023-10-04 23:59 Renan Guilherme Lebre Ramos
2023-10-05 19:08 ` Hans de Goede
0 siblings, 1 reply; 2+ messages in thread
From: Renan Guilherme Lebre Ramos @ 2023-10-04 23:59 UTC (permalink / raw)
To: linux-input, hdegoede; +Cc: Renan Guilherme Lebre Ramos
Add information for the Positivo C4128B, a notebook/tablet convertible.
Link: https://github.com/onitake/gsl-firmware/pull/217
Signed-off-by: Renan Guilherme Lebre Ramos <japareaggae@gmail.com>
---
drivers/platform/x86/touchscreen_dmi.c | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/drivers/platform/x86/touchscreen_dmi.c b/drivers/platform/x86/touchscreen_dmi.c
index f9301a9382e7..0f6b30285381 100644
--- a/drivers/platform/x86/touchscreen_dmi.c
+++ b/drivers/platform/x86/touchscreen_dmi.c
@@ -756,6 +756,21 @@ static const struct ts_dmi_data pipo_w11_data = {
.properties = pipo_w11_props,
};
+static const struct property_entry positivo_c4128b_props[] = {
+ PROPERTY_ENTRY_U32("touchscreen-min-x", 4),
+ PROPERTY_ENTRY_U32("touchscreen-min-y", 13),
+ PROPERTY_ENTRY_U32("touchscreen-size-x", 1915),
+ PROPERTY_ENTRY_U32("touchscreen-size-y", 1269),
+ PROPERTY_ENTRY_STRING("firmware-name", "gsl1680-positivo-c4128b.fw"),
+ PROPERTY_ENTRY_U32("silead,max-fingers", 10),
+ { }
+};
+
+static const struct ts_dmi_data positivo_c4128b_data = {
+ .acpi_name = "MSSL1680:00",
+ .properties = positivo_c4128b_props,
+};
+
static const struct property_entry pov_mobii_wintab_p800w_v20_props[] = {
PROPERTY_ENTRY_U32("touchscreen-min-x", 32),
PROPERTY_ENTRY_U32("touchscreen-min-y", 16),
@@ -1480,6 +1495,14 @@ const struct dmi_system_id touchscreen_dmi_table[] = {
DMI_MATCH(DMI_BIOS_VERSION, "MOMO.G.WI71C.MABMRBA02"),
},
},
+ {
+ /* Positivo C4128B */
+ .driver_data = (void *)&positivo_c4128b_data,
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Positivo Tecnologia SA"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "C4128B-1"),
+ },
+ },
{
/* Point of View mobii wintab p800w (v2.0) */
.driver_data = (void *)&pov_mobii_wintab_p800w_v20_data,
--
2.42.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] platform/x86: touchscreen_dmi: Add info for the Positivo C4128B
2023-10-04 23:59 [PATCH] platform/x86: touchscreen_dmi: Add info for the Positivo C4128B Renan Guilherme Lebre Ramos
@ 2023-10-05 19:08 ` Hans de Goede
0 siblings, 0 replies; 2+ messages in thread
From: Hans de Goede @ 2023-10-05 19:08 UTC (permalink / raw)
To: Renan Guilherme Lebre Ramos, linux-input
Hi,
On 10/5/23 01:59, Renan Guilherme Lebre Ramos wrote:
> Add information for the Positivo C4128B, a notebook/tablet convertible.
>
> Link: https://github.com/onitake/gsl-firmware/pull/217
> Signed-off-by: Renan Guilherme Lebre Ramos <japareaggae@gmail.com>
Thank you for your patch/series, I've applied this patch
(series) to the pdx86 fixes branch:
https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=fixes
Note it will show up in the pdx86 fixes branch once I've pushed
my local branch there, which might take a while.
I will include this patch in my next fixes pull-req to Linus
for the current kernel development cycle.
Regards,
Hans
> ---
> drivers/platform/x86/touchscreen_dmi.c | 23 +++++++++++++++++++++++
> 1 file changed, 23 insertions(+)
>
> diff --git a/drivers/platform/x86/touchscreen_dmi.c b/drivers/platform/x86/touchscreen_dmi.c
> index f9301a9382e7..0f6b30285381 100644
> --- a/drivers/platform/x86/touchscreen_dmi.c
> +++ b/drivers/platform/x86/touchscreen_dmi.c
> @@ -756,6 +756,21 @@ static const struct ts_dmi_data pipo_w11_data = {
> .properties = pipo_w11_props,
> };
>
> +static const struct property_entry positivo_c4128b_props[] = {
> + PROPERTY_ENTRY_U32("touchscreen-min-x", 4),
> + PROPERTY_ENTRY_U32("touchscreen-min-y", 13),
> + PROPERTY_ENTRY_U32("touchscreen-size-x", 1915),
> + PROPERTY_ENTRY_U32("touchscreen-size-y", 1269),
> + PROPERTY_ENTRY_STRING("firmware-name", "gsl1680-positivo-c4128b.fw"),
> + PROPERTY_ENTRY_U32("silead,max-fingers", 10),
> + { }
> +};
> +
> +static const struct ts_dmi_data positivo_c4128b_data = {
> + .acpi_name = "MSSL1680:00",
> + .properties = positivo_c4128b_props,
> +};
> +
> static const struct property_entry pov_mobii_wintab_p800w_v20_props[] = {
> PROPERTY_ENTRY_U32("touchscreen-min-x", 32),
> PROPERTY_ENTRY_U32("touchscreen-min-y", 16),
> @@ -1480,6 +1495,14 @@ const struct dmi_system_id touchscreen_dmi_table[] = {
> DMI_MATCH(DMI_BIOS_VERSION, "MOMO.G.WI71C.MABMRBA02"),
> },
> },
> + {
> + /* Positivo C4128B */
> + .driver_data = (void *)&positivo_c4128b_data,
> + .matches = {
> + DMI_MATCH(DMI_SYS_VENDOR, "Positivo Tecnologia SA"),
> + DMI_MATCH(DMI_PRODUCT_NAME, "C4128B-1"),
> + },
> + },
> {
> /* Point of View mobii wintab p800w (v2.0) */
> .driver_data = (void *)&pov_mobii_wintab_p800w_v20_data,
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-10-05 19:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-04 23:59 [PATCH] platform/x86: touchscreen_dmi: Add info for the Positivo C4128B Renan Guilherme Lebre Ramos
2023-10-05 19:08 ` Hans de Goede
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).