* [PATCH] touchscreen_dmi: Add info for the Dexp Ursus KX210i
@ 2023-04-30 8:01 Andrey Avdeev
2023-05-09 8:53 ` Hans de Goede
0 siblings, 1 reply; 2+ messages in thread
From: Andrey Avdeev @ 2023-04-30 8:01 UTC (permalink / raw)
To: linux-input
Add touchscreen info for the Dexp Ursus KX210i
Signed-off-by: Andrey Avdeev <jamesstoun@gmail.com>
---
drivers/platform/x86/touchscreen_dmi.c | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/drivers/platform/x86/touchscreen_dmi.c b/drivers/platform/x86/touchscreen_dmi.c
index 13802a3c3591..0d3ac1e7a43c 100644
--- a/drivers/platform/x86/touchscreen_dmi.c
+++ b/drivers/platform/x86/touchscreen_dmi.c
@@ -336,6 +336,22 @@ static const struct ts_dmi_data dexp_ursus_7w_data = {
.properties = dexp_ursus_7w_props,
};
+static const struct property_entry dexp_ursus_kx210i_props[] = {
+ PROPERTY_ENTRY_U32("touchscreen-min-x", 5),
+ PROPERTY_ENTRY_U32("touchscreen-min-y", 2),
+ PROPERTY_ENTRY_U32("touchscreen-size-x", 1720),
+ PROPERTY_ENTRY_U32("touchscreen-size-y", 1137),
+ PROPERTY_ENTRY_STRING("firmware-name", "gsl1680-dexp-ursus-kx210i.fw"),
+ PROPERTY_ENTRY_U32("silead,max-fingers", 10),
+ PROPERTY_ENTRY_BOOL("silead,home-button"),
+ { }
+};
+
+static const struct ts_dmi_data dexp_ursus_kx210i_data = {
+ .acpi_name = "MSSL1680:00",
+ .properties = dexp_ursus_kx210i_props,
+};
+
static const struct property_entry digma_citi_e200_props[] = {
PROPERTY_ENTRY_U32("touchscreen-size-x", 1980),
PROPERTY_ENTRY_U32("touchscreen-size-y", 1500),
@@ -1185,6 +1201,14 @@ const struct dmi_system_id touchscreen_dmi_table[] = {
DMI_MATCH(DMI_PRODUCT_NAME, "7W"),
},
},
+ {
+ /* DEXP Ursus KX210i */
+ .driver_data = (void *)&dexp_ursus_kx210i_data,
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "INSYDE Corp."),
+ DMI_MATCH(DMI_PRODUCT_NAME, "S107I"),
+ },
+ },
{
/* Digma Citi E200 */
.driver_data = (void *)&digma_citi_e200_data,
--
2.40.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] touchscreen_dmi: Add info for the Dexp Ursus KX210i
2023-04-30 8:01 [PATCH] touchscreen_dmi: Add info for the Dexp Ursus KX210i Andrey Avdeev
@ 2023-05-09 8:53 ` Hans de Goede
0 siblings, 0 replies; 2+ messages in thread
From: Hans de Goede @ 2023-05-09 8:53 UTC (permalink / raw)
To: Andrey Avdeev, linux-input
Hi,
On 4/30/23 10:01, Andrey Avdeev wrote:
> Add touchscreen info for the Dexp Ursus KX210i
>
> Signed-off-by: Andrey Avdeev <jamesstoun@gmail.com>
Thank you for your patch, I've applied this patch to my 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 my 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 | 24 ++++++++++++++++++++++++
> 1 file changed, 24 insertions(+)
>
> diff --git a/drivers/platform/x86/touchscreen_dmi.c b/drivers/platform/x86/touchscreen_dmi.c
> index 13802a3c3591..0d3ac1e7a43c 100644
> --- a/drivers/platform/x86/touchscreen_dmi.c
> +++ b/drivers/platform/x86/touchscreen_dmi.c
> @@ -336,6 +336,22 @@ static const struct ts_dmi_data dexp_ursus_7w_data = {
> .properties = dexp_ursus_7w_props,
> };
>
> +static const struct property_entry dexp_ursus_kx210i_props[] = {
> + PROPERTY_ENTRY_U32("touchscreen-min-x", 5),
> + PROPERTY_ENTRY_U32("touchscreen-min-y", 2),
> + PROPERTY_ENTRY_U32("touchscreen-size-x", 1720),
> + PROPERTY_ENTRY_U32("touchscreen-size-y", 1137),
> + PROPERTY_ENTRY_STRING("firmware-name", "gsl1680-dexp-ursus-kx210i.fw"),
> + PROPERTY_ENTRY_U32("silead,max-fingers", 10),
> + PROPERTY_ENTRY_BOOL("silead,home-button"),
> + { }
> +};
> +
> +static const struct ts_dmi_data dexp_ursus_kx210i_data = {
> + .acpi_name = "MSSL1680:00",
> + .properties = dexp_ursus_kx210i_props,
> +};
> +
> static const struct property_entry digma_citi_e200_props[] = {
> PROPERTY_ENTRY_U32("touchscreen-size-x", 1980),
> PROPERTY_ENTRY_U32("touchscreen-size-y", 1500),
> @@ -1185,6 +1201,14 @@ const struct dmi_system_id touchscreen_dmi_table[] = {
> DMI_MATCH(DMI_PRODUCT_NAME, "7W"),
> },
> },
> + {
> + /* DEXP Ursus KX210i */
> + .driver_data = (void *)&dexp_ursus_kx210i_data,
> + .matches = {
> + DMI_MATCH(DMI_SYS_VENDOR, "INSYDE Corp."),
> + DMI_MATCH(DMI_PRODUCT_NAME, "S107I"),
> + },
> + },
> {
> /* Digma Citi E200 */
> .driver_data = (void *)&digma_citi_e200_data,
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-05-09 8:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-30 8:01 [PATCH] touchscreen_dmi: Add info for the Dexp Ursus KX210i Andrey Avdeev
2023-05-09 8:53 ` 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).