diff mbox series

[RFC,v2,5/5] platform/x86: touchscreen_dmi: Add info for the Mediacom Winpad 7.0 W700 tablet

Message ID 20210504185746.175461-6-hdegoede@redhat.com (mailing list archive)
State New, archived
Headers show
Series Input: goodix - platform/x86: touchscreen_dmi - Move quirks to touchscreen_dmi.c | expand

Commit Message

Hans de Goede May 4, 2021, 6:57 p.m. UTC
From: Teava Radu <rateava@gmail.com>

Add touchscreen info for the Mediacom Winpad 7.0 W700 tablet.
Tested on 5.11 hirsute.
Note: it's hw clone to Wintron surftab 7.

Signed-off-by: Teava Radu <rateava@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 drivers/platform/x86/touchscreen_dmi.c | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Hans de Goede May 19, 2021, 3:20 p.m. UTC | #1
Hi,

On 5/4/21 8:57 PM, Hans de Goede wrote:
> From: Teava Radu <rateava@gmail.com>
> 
> Add touchscreen info for the Mediacom Winpad 7.0 W700 tablet.
> Tested on 5.11 hirsute.
> Note: it's hw clone to Wintron surftab 7.
> 
> Signed-off-by: Teava Radu <rateava@gmail.com>
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>

I'm going to prepare an immutable branch for patches 1-4 of this series
(with patch 2 dropped since I haven't gotten any testing feedback for it).

Since this is an unrelated touchscreen quirk and I want to send it out in the
next pdx86-fixes pullreq for 5.13, I've added this to the pdx86 review-hans
and fixes branches now.

Regards,

Hans


> ---
>  drivers/platform/x86/touchscreen_dmi.c | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/drivers/platform/x86/touchscreen_dmi.c b/drivers/platform/x86/touchscreen_dmi.c
> index f63d2110e224..40c970908a99 100644
> --- a/drivers/platform/x86/touchscreen_dmi.c
> +++ b/drivers/platform/x86/touchscreen_dmi.c
> @@ -1153,6 +1153,14 @@ const struct dmi_system_id touchscreen_dmi_table[] = {
>  			DMI_MATCH(DMI_BIOS_VERSION, "jumperx.T87.KFBNEEA"),
>  		},
>  	},
> +	{
> +		/* Mediacom WinPad 7.0 W700 (same hw as Wintron surftab 7") */
> +		.driver_data = (void *)&trekstor_surftab_wintron70_data,
> +		.matches = {
> +			DMI_MATCH(DMI_SYS_VENDOR, "MEDIACOM"),
> +			DMI_MATCH(DMI_PRODUCT_NAME, "WinPad 7 W10 - WPW700"),
> +		},
> +	},
>  	{
>  		/* Mediacom Flexbook Edge 11 (same hw as TS Primebook C11) */
>  		.driver_data = (void *)&trekstor_primebook_c11_data,
>
diff mbox series

Patch

diff --git a/drivers/platform/x86/touchscreen_dmi.c b/drivers/platform/x86/touchscreen_dmi.c
index f63d2110e224..40c970908a99 100644
--- a/drivers/platform/x86/touchscreen_dmi.c
+++ b/drivers/platform/x86/touchscreen_dmi.c
@@ -1153,6 +1153,14 @@  const struct dmi_system_id touchscreen_dmi_table[] = {
 			DMI_MATCH(DMI_BIOS_VERSION, "jumperx.T87.KFBNEEA"),
 		},
 	},
+	{
+		/* Mediacom WinPad 7.0 W700 (same hw as Wintron surftab 7") */
+		.driver_data = (void *)&trekstor_surftab_wintron70_data,
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "MEDIACOM"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "WinPad 7 W10 - WPW700"),
+		},
+	},
 	{
 		/* Mediacom Flexbook Edge 11 (same hw as TS Primebook C11) */
 		.driver_data = (void *)&trekstor_primebook_c11_data,