* [RFC v2 0/5] Input: goodix - platform/x86: touchscreen_dmi - Move quirks to touchscreen_dmi.c
@ 2021-05-04 18:57 Hans de Goede
2021-05-04 18:57 ` [RFC v2 1/5] Input: goodix - platform/x86: touchscreen_dmi - Move upside down " Hans de Goede
` (4 more replies)
0 siblings, 5 replies; 7+ messages in thread
From: Hans de Goede @ 2021-05-04 18:57 UTC (permalink / raw)
To: Dmitry Torokhov, Bastien Nocera, Mark Gross, Andy Shevchenko
Cc: Hans de Goede, Arkadiy, Sergei A . Trusov, linux-input,
platform-driver-x86
Hi Dmitry, Bastien,
Here v2 of the patch series to move the DMI quirks for upside-down and
x-axis-inverted touchscreens in goodix.c to the generic x86 touchscreen
mechanism found in drivers/platform/x86/touchscreen_dmi.c .
As I mentioned in my reply to the v1 RFC I've dropped the:
"platform/x86: touchscreen_dmi: Match on ACPI HID instead of ACPI companion-dev-name"
patch from this version; and for completeness sake I've added a
couple of other pending touchscreen_dmi.c patches.
Note this is still marked as RFC for now since I have been unable to confirm
the ACPI HID for the touchscreen on the Cube I15-TC which is necessary
for the touchscreen_dmi.c code. I've send an email to the reporter and
the author of the patch adding the quirk for the Cube I15-TC.
As discussed in the "[PATCH] platform/x86: touchscreen_dmi: Add swap-x-y
quirk for Goodix touchscreen on Estar Beauty HD tablet" thread, I'll
prepare an immutable branch for Dmitry to pull once this is ready
for merging.
Note if I get no reply to the questions surrounding patch 2/5,
I'll probably just drop that patch and merge the rest.
Regards,
Hans
Hans de Goede (4):
Input: goodix - platform/x86: touchscreen_dmi - Move upside down
quirks to touchscreen_dmi.c
Input: goodix - platform/x86: touchscreen_dmi - Move inverted-x quirk
to touchscreen_dmi.c
platform/x86: touchscreen_dmi: Add an extra entry for the upside down
Goodix touchscreen on Teclast X89 tablets
platform/x86: touchscreen_dmi: Add info for the Goodix GT912 panel of
TM800A550L tablets
Teava Radu (1):
platform/x86: touchscreen_dmi: Add info for the Mediacom Winpad 7.0
W700 tablet
drivers/input/touchscreen/goodix.c | 74 ----------------
drivers/platform/x86/touchscreen_dmi.c | 112 +++++++++++++++++++++++++
2 files changed, 112 insertions(+), 74 deletions(-)
--
2.31.1
^ permalink raw reply [flat|nested] 7+ messages in thread
* [RFC v2 1/5] Input: goodix - platform/x86: touchscreen_dmi - Move upside down quirks to touchscreen_dmi.c
2021-05-04 18:57 [RFC v2 0/5] Input: goodix - platform/x86: touchscreen_dmi - Move quirks to touchscreen_dmi.c Hans de Goede
@ 2021-05-04 18:57 ` Hans de Goede
2021-05-04 18:57 ` [RFC v2 2/5] Input: goodix - platform/x86: touchscreen_dmi - Move inverted-x quirk " Hans de Goede
` (3 subsequent siblings)
4 siblings, 0 replies; 7+ messages in thread
From: Hans de Goede @ 2021-05-04 18:57 UTC (permalink / raw)
To: Dmitry Torokhov, Bastien Nocera, Mark Gross, Andy Shevchenko
Cc: Hans de Goede, Arkadiy, Sergei A . Trusov, linux-input,
platform-driver-x86
Move the DMI quirks for upside-down mounted Goodix touchscreens from
drivers/input/touchscreen/goodix.c to
drivers/platform/x86/touchscreen_dmi.c,
where all the other x86 touchscreen quirks live.
Note the touchscreen_dmi.c code attaches standard touchscreen
device-properties to an i2c-client device based on a combination of a
DMI match + a device-name match. I've verified that the: Teclast X98 Pro,
WinBook TW100 and WinBook TW700 uses an ACPI devicename of "GDIX1001:00"
based on acpidumps and/or dmesg output available on the web.
This patch was tested on a Teclast X89 tablet.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
drivers/input/touchscreen/goodix.c | 52 ------------------------
drivers/platform/x86/touchscreen_dmi.c | 56 ++++++++++++++++++++++++++
2 files changed, 56 insertions(+), 52 deletions(-)
diff --git a/drivers/input/touchscreen/goodix.c b/drivers/input/touchscreen/goodix.c
index e743709b55f0..d92f6b2b6dcf 100644
--- a/drivers/input/touchscreen/goodix.c
+++ b/drivers/input/touchscreen/goodix.c
@@ -118,51 +118,6 @@ static const unsigned long goodix_irq_flags[] = {
IRQ_TYPE_LEVEL_HIGH,
};
-/*
- * Those tablets have their coordinates origin at the bottom right
- * of the tablet, as if rotated 180 degrees
- */
-static const struct dmi_system_id rotated_screen[] = {
-#if defined(CONFIG_DMI) && defined(CONFIG_X86)
- {
- .ident = "Teclast X89",
- .matches = {
- /* tPAD is too generic, also match on bios date */
- DMI_MATCH(DMI_BOARD_VENDOR, "TECLAST"),
- DMI_MATCH(DMI_BOARD_NAME, "tPAD"),
- DMI_MATCH(DMI_BIOS_DATE, "12/19/2014"),
- },
- },
- {
- .ident = "Teclast X98 Pro",
- .matches = {
- /*
- * Only match BIOS date, because the manufacturers
- * BIOS does not report the board name at all
- * (sometimes)...
- */
- DMI_MATCH(DMI_BOARD_VENDOR, "TECLAST"),
- DMI_MATCH(DMI_BIOS_DATE, "10/28/2015"),
- },
- },
- {
- .ident = "WinBook TW100",
- .matches = {
- DMI_MATCH(DMI_SYS_VENDOR, "WinBook"),
- DMI_MATCH(DMI_PRODUCT_NAME, "TW100")
- }
- },
- {
- .ident = "WinBook TW700",
- .matches = {
- DMI_MATCH(DMI_SYS_VENDOR, "WinBook"),
- DMI_MATCH(DMI_PRODUCT_NAME, "TW700")
- },
- },
-#endif
- {}
-};
-
static const struct dmi_system_id nine_bytes_report[] = {
#if defined(CONFIG_DMI) && defined(CONFIG_X86)
{
@@ -1086,13 +1041,6 @@ static int goodix_configure_dev(struct goodix_ts_data *ts)
ABS_MT_POSITION_Y, ts->prop.max_y);
}
- if (dmi_check_system(rotated_screen)) {
- ts->prop.invert_x = true;
- ts->prop.invert_y = true;
- dev_dbg(&ts->client->dev,
- "Applying '180 degrees rotated screen' quirk\n");
- }
-
if (dmi_check_system(nine_bytes_report)) {
ts->contact_size = 9;
diff --git a/drivers/platform/x86/touchscreen_dmi.c b/drivers/platform/x86/touchscreen_dmi.c
index 90fe4f8f3c2c..a53e176d94b9 100644
--- a/drivers/platform/x86/touchscreen_dmi.c
+++ b/drivers/platform/x86/touchscreen_dmi.c
@@ -273,6 +273,23 @@ static const struct ts_dmi_data estar_beauty_hd_data = {
.properties = estar_beauty_hd_props,
};
+/* Generic props + data for upside-down mounted GDIX1001 touchscreens */
+static const struct property_entry gdix1001_upside_down_props[] = {
+ PROPERTY_ENTRY_BOOL("touchscreen-inverted-x"),
+ PROPERTY_ENTRY_BOOL("touchscreen-inverted-y"),
+ { }
+};
+
+static const struct ts_dmi_data gdix1001_00_upside_down_data = {
+ .acpi_name = "GDIX1001:00",
+ .properties = gdix1001_upside_down_props,
+};
+
+static const struct ts_dmi_data gdix1001_01_upside_down_data = {
+ .acpi_name = "GDIX1001:01",
+ .properties = gdix1001_upside_down_props,
+};
+
static const struct property_entry gp_electronic_t701_props[] = {
PROPERTY_ENTRY_U32("touchscreen-size-x", 960),
PROPERTY_ENTRY_U32("touchscreen-size-y", 640),
@@ -1287,6 +1304,16 @@ const struct dmi_system_id touchscreen_dmi_table[] = {
DMI_MATCH(DMI_BOARD_NAME, "X3 Plus"),
},
},
+ {
+ /* Teclast X89 (Windows version / BIOS) */
+ .driver_data = (void *)&gdix1001_01_upside_down_data,
+ .matches = {
+ /* tPAD is too generic, also match on bios date */
+ DMI_MATCH(DMI_BOARD_VENDOR, "TECLAST"),
+ DMI_MATCH(DMI_BOARD_NAME, "tPAD"),
+ DMI_MATCH(DMI_BIOS_DATE, "12/19/2014"),
+ },
+ },
{
/* Teclast X98 Plus II */
.driver_data = (void *)&teclast_x98plus2_data,
@@ -1295,6 +1322,19 @@ const struct dmi_system_id touchscreen_dmi_table[] = {
DMI_MATCH(DMI_PRODUCT_NAME, "X98 Plus II"),
},
},
+ {
+ /* Teclast X98 Pro */
+ .driver_data = (void *)&gdix1001_00_upside_down_data,
+ .matches = {
+ /*
+ * Only match BIOS date, because the manufacturers
+ * BIOS does not report the board name at all
+ * (sometimes)...
+ */
+ DMI_MATCH(DMI_BOARD_VENDOR, "TECLAST"),
+ DMI_MATCH(DMI_BIOS_DATE, "10/28/2015"),
+ },
+ },
{
/* Trekstor Primebook C11 */
.driver_data = (void *)&trekstor_primebook_c11_data,
@@ -1370,6 +1410,22 @@ const struct dmi_system_id touchscreen_dmi_table[] = {
DMI_MATCH(DMI_PRODUCT_NAME, "VINGA Twizzle J116"),
},
},
+ {
+ /* "WinBook TW100" */
+ .driver_data = (void *)&gdix1001_00_upside_down_data,
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "WinBook"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "TW100")
+ }
+ },
+ {
+ /* WinBook TW700 */
+ .driver_data = (void *)&gdix1001_00_upside_down_data,
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "WinBook"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "TW700")
+ },
+ },
{
/* Yours Y8W81, same case and touchscreen as Chuwi Vi8 */
.driver_data = (void *)&chuwi_vi8_data,
--
2.31.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [RFC v2 2/5] Input: goodix - platform/x86: touchscreen_dmi - Move inverted-x quirk to touchscreen_dmi.c
2021-05-04 18:57 [RFC v2 0/5] Input: goodix - platform/x86: touchscreen_dmi - Move quirks to touchscreen_dmi.c Hans de Goede
2021-05-04 18:57 ` [RFC v2 1/5] Input: goodix - platform/x86: touchscreen_dmi - Move upside down " Hans de Goede
@ 2021-05-04 18:57 ` Hans de Goede
2021-05-04 18:57 ` [RFC v2 3/5] platform/x86: touchscreen_dmi: Add an extra entry for the upside down Goodix touchscreen on Teclast X89 tablets Hans de Goede
` (2 subsequent siblings)
4 siblings, 0 replies; 7+ messages in thread
From: Hans de Goede @ 2021-05-04 18:57 UTC (permalink / raw)
To: Dmitry Torokhov, Bastien Nocera, Mark Gross, Andy Shevchenko
Cc: Hans de Goede, Arkadiy, Sergei A . Trusov, linux-input,
platform-driver-x86
Move the DMI quirk for the Goodix touchscreen with inverted X coordinates
found on the Cube I15-TC tablet from drivers/input/touchscreen/goodix.c to
drivers/platform/x86/touchscreen_dmi.c, where all the other x86
touchscreen quirks live.
Cc: Arkadiy <arkan49@yandex.ru>
Cc: Sergei A. Trusov <sergei.a.trusov@ya.ru>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
drivers/input/touchscreen/goodix.c | 22 ----------------------
drivers/platform/x86/touchscreen_dmi.c | 19 +++++++++++++++++++
2 files changed, 19 insertions(+), 22 deletions(-)
diff --git a/drivers/input/touchscreen/goodix.c b/drivers/input/touchscreen/goodix.c
index d92f6b2b6dcf..2203ad4d8e30 100644
--- a/drivers/input/touchscreen/goodix.c
+++ b/drivers/input/touchscreen/goodix.c
@@ -131,22 +131,6 @@ static const struct dmi_system_id nine_bytes_report[] = {
{}
};
-/*
- * Those tablets have their x coordinate inverted
- */
-static const struct dmi_system_id inverted_x_screen[] = {
-#if defined(CONFIG_DMI) && defined(CONFIG_X86)
- {
- .ident = "Cube I15-TC",
- .matches = {
- DMI_MATCH(DMI_SYS_VENDOR, "Cube"),
- DMI_MATCH(DMI_PRODUCT_NAME, "I15-TC")
- },
- },
-#endif
- {}
-};
-
/**
* goodix_i2c_read - read data from a register of the i2c slave device.
*
@@ -1048,12 +1032,6 @@ static int goodix_configure_dev(struct goodix_ts_data *ts)
"Non-standard 9-bytes report format quirk\n");
}
- if (dmi_check_system(inverted_x_screen)) {
- ts->prop.invert_x = true;
- dev_dbg(&ts->client->dev,
- "Applying 'inverted x screen' quirk\n");
- }
-
error = input_mt_init_slots(ts->input_dev, ts->max_touch_num,
INPUT_MT_DIRECT | INPUT_MT_DROP_UNUSED);
if (error) {
diff --git a/drivers/platform/x86/touchscreen_dmi.c b/drivers/platform/x86/touchscreen_dmi.c
index a53e176d94b9..e0ea8a1b4c6c 100644
--- a/drivers/platform/x86/touchscreen_dmi.c
+++ b/drivers/platform/x86/touchscreen_dmi.c
@@ -218,6 +218,17 @@ static const struct ts_dmi_data cube_iwork8_air_data = {
.properties = cube_iwork8_air_props,
};
+static const struct property_entry cube_iwork10_ultimate_i15_tc_props[] = {
+ PROPERTY_ENTRY_BOOL("touchscreen-inverted-x"),
+ { }
+};
+
+static const struct ts_dmi_data cube_iwork10_ultimate_i15_tc_data = {
+ .acpi_name = "GDIX1001:00",
+ .properties = cube_iwork10_ultimate_i15_tc_props,
+};
+
+
static const struct property_entry cube_knote_i1101_props[] = {
PROPERTY_ENTRY_U32("touchscreen-min-x", 20),
PROPERTY_ENTRY_U32("touchscreen-min-y", 22),
@@ -985,6 +996,14 @@ const struct dmi_system_id touchscreen_dmi_table[] = {
DMI_MATCH(DMI_BOARD_NAME, "Cherry Trail CR"),
},
},
+ {
+ /* CUBE iWork10 Ultimate (I15-TC) */
+ .driver_data = (void *)&cube_iwork10_ultimate_i15_tc_data,
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Cube"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "I15-TC")
+ },
+ },
{
/* Cube KNote i1101 */
.driver_data = (void *)&cube_knote_i1101_data,
--
2.31.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [RFC v2 3/5] platform/x86: touchscreen_dmi: Add an extra entry for the upside down Goodix touchscreen on Teclast X89 tablets
2021-05-04 18:57 [RFC v2 0/5] Input: goodix - platform/x86: touchscreen_dmi - Move quirks to touchscreen_dmi.c Hans de Goede
2021-05-04 18:57 ` [RFC v2 1/5] Input: goodix - platform/x86: touchscreen_dmi - Move upside down " Hans de Goede
2021-05-04 18:57 ` [RFC v2 2/5] Input: goodix - platform/x86: touchscreen_dmi - Move inverted-x quirk " Hans de Goede
@ 2021-05-04 18:57 ` Hans de Goede
2021-05-04 18:57 ` [RFC v2 4/5] platform/x86: touchscreen_dmi: Add info for the Goodix GT912 panel of TM800A550L tablets Hans de Goede
2021-05-04 18:57 ` [RFC v2 5/5] platform/x86: touchscreen_dmi: Add info for the Mediacom Winpad 7.0 W700 tablet Hans de Goede
4 siblings, 0 replies; 7+ messages in thread
From: Hans de Goede @ 2021-05-04 18:57 UTC (permalink / raw)
To: Dmitry Torokhov, Bastien Nocera, Mark Gross, Andy Shevchenko
Cc: Hans de Goede, Arkadiy, Sergei A . Trusov, linux-input,
platform-driver-x86
Teclast X89 tablets come in 2 versions, with Windows pre-installed and with
Android pre-installed. These 2 versions have different DMI strings.
Add a match for the DMI strings used by the Android version BIOS.
Note the Android version BIOS has a bug in the DSDT where no IRQ is
provided, so for the touchscreen to work a DSDT override fixing this
is necessary as well.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
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 e0ea8a1b4c6c..c3beb3e885eb 100644
--- a/drivers/platform/x86/touchscreen_dmi.c
+++ b/drivers/platform/x86/touchscreen_dmi.c
@@ -1323,6 +1323,14 @@ const struct dmi_system_id touchscreen_dmi_table[] = {
DMI_MATCH(DMI_BOARD_NAME, "X3 Plus"),
},
},
+ {
+ /* Teclast X89 (Android version / BIOS) */
+ .driver_data = (void *)&gdix1001_00_upside_down_data,
+ .matches = {
+ DMI_MATCH(DMI_BOARD_VENDOR, "WISKY"),
+ DMI_MATCH(DMI_BOARD_NAME, "3G062i"),
+ },
+ },
{
/* Teclast X89 (Windows version / BIOS) */
.driver_data = (void *)&gdix1001_01_upside_down_data,
--
2.31.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [RFC v2 4/5] platform/x86: touchscreen_dmi: Add info for the Goodix GT912 panel of TM800A550L tablets
2021-05-04 18:57 [RFC v2 0/5] Input: goodix - platform/x86: touchscreen_dmi - Move quirks to touchscreen_dmi.c Hans de Goede
` (2 preceding siblings ...)
2021-05-04 18:57 ` [RFC v2 3/5] platform/x86: touchscreen_dmi: Add an extra entry for the upside down Goodix touchscreen on Teclast X89 tablets Hans de Goede
@ 2021-05-04 18:57 ` Hans de Goede
2021-05-04 18:57 ` [RFC v2 5/5] platform/x86: touchscreen_dmi: Add info for the Mediacom Winpad 7.0 W700 tablet Hans de Goede
4 siblings, 0 replies; 7+ messages in thread
From: Hans de Goede @ 2021-05-04 18:57 UTC (permalink / raw)
To: Dmitry Torokhov, Bastien Nocera, Mark Gross, Andy Shevchenko
Cc: Hans de Goede, Arkadiy, Sergei A . Trusov, linux-input,
platform-driver-x86
The Bay Trail Glavey TM800A550L tablet, which ships with Android installed
from the factory, uses a GT912 touchscreen controller which needs to have
its firmware uploaded by the OS to work (this is a first for a x86 based
device with a Goodix touchscreen controller).
Add a touchscreen_dmi entry for this which specifies the filenames
to use for the firmware and config files needed for this.
Note this matches on a GDIX1001 ACPI HID, while the original DSDT uses
a HID of GODX0911. For the touchscreen to work on these devices a DSDT
override is necessary to fix a missing IRQ and broken GPIO settings in
the ACPI-resources for the touchscreen. This override also changes the
HID to the standard GDIX1001 id typically used for Goodix touchscreens.
The DSDT override is available here:
https://fedorapeople.org/~jwrdegoede/glavey-tm800a550l-dsdt-override/
Reviewed-by: Bastien Nocera <hadess@hadess.net>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
drivers/platform/x86/touchscreen_dmi.c | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/drivers/platform/x86/touchscreen_dmi.c b/drivers/platform/x86/touchscreen_dmi.c
index c3beb3e885eb..f63d2110e224 100644
--- a/drivers/platform/x86/touchscreen_dmi.c
+++ b/drivers/platform/x86/touchscreen_dmi.c
@@ -301,6 +301,18 @@ static const struct ts_dmi_data gdix1001_01_upside_down_data = {
.properties = gdix1001_upside_down_props,
};
+static const struct property_entry glavey_tm800a550l_props[] = {
+ PROPERTY_ENTRY_STRING("firmware-name", "gt912-glavey-tm800a550l.fw"),
+ PROPERTY_ENTRY_STRING("goodix,config-name", "gt912-glavey-tm800a550l.cfg"),
+ PROPERTY_ENTRY_U32("goodix,main-clk", 54),
+ { }
+};
+
+static const struct ts_dmi_data glavey_tm800a550l_data = {
+ .acpi_name = "GDIX1001:00",
+ .properties = glavey_tm800a550l_props,
+};
+
static const struct property_entry gp_electronic_t701_props[] = {
PROPERTY_ENTRY_U32("touchscreen-size-x", 960),
PROPERTY_ENTRY_U32("touchscreen-size-y", 640),
@@ -1039,6 +1051,15 @@ const struct dmi_system_id touchscreen_dmi_table[] = {
DMI_MATCH(DMI_PRODUCT_NAME, "eSTAR BEAUTY HD Intel Quad core"),
},
},
+ { /* Glavey TM800A550L */
+ .driver_data = (void *)&glavey_tm800a550l_data,
+ .matches = {
+ DMI_MATCH(DMI_BOARD_VENDOR, "AMI Corporation"),
+ DMI_MATCH(DMI_BOARD_NAME, "Aptio CRB"),
+ /* Above strings are too generic, also match on BIOS version */
+ DMI_MATCH(DMI_BIOS_VERSION, "ZY-8-BI-PX4S70VTR400-X423B-005-D"),
+ },
+ },
{
/* GP-electronic T701 */
.driver_data = (void *)&gp_electronic_t701_data,
--
2.31.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [RFC v2 5/5] platform/x86: touchscreen_dmi: Add info for the Mediacom Winpad 7.0 W700 tablet
2021-05-04 18:57 [RFC v2 0/5] Input: goodix - platform/x86: touchscreen_dmi - Move quirks to touchscreen_dmi.c Hans de Goede
` (3 preceding siblings ...)
2021-05-04 18:57 ` [RFC v2 4/5] platform/x86: touchscreen_dmi: Add info for the Goodix GT912 panel of TM800A550L tablets Hans de Goede
@ 2021-05-04 18:57 ` Hans de Goede
2021-05-19 15:20 ` Hans de Goede
4 siblings, 1 reply; 7+ messages in thread
From: Hans de Goede @ 2021-05-04 18:57 UTC (permalink / raw)
To: Dmitry Torokhov, Bastien Nocera, Mark Gross, Andy Shevchenko
Cc: Hans de Goede, Arkadiy, Sergei A . Trusov, linux-input,
platform-driver-x86, Teava Radu
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(+)
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,
--
2.31.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [RFC v2 5/5] platform/x86: touchscreen_dmi: Add info for the Mediacom Winpad 7.0 W700 tablet
2021-05-04 18:57 ` [RFC v2 5/5] platform/x86: touchscreen_dmi: Add info for the Mediacom Winpad 7.0 W700 tablet Hans de Goede
@ 2021-05-19 15:20 ` Hans de Goede
0 siblings, 0 replies; 7+ messages in thread
From: Hans de Goede @ 2021-05-19 15:20 UTC (permalink / raw)
To: Dmitry Torokhov, Bastien Nocera, Mark Gross, Andy Shevchenko
Cc: Arkadiy, Sergei A . Trusov, linux-input, platform-driver-x86, Teava Radu
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,
>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2021-05-19 15:20 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-04 18:57 [RFC v2 0/5] Input: goodix - platform/x86: touchscreen_dmi - Move quirks to touchscreen_dmi.c Hans de Goede
2021-05-04 18:57 ` [RFC v2 1/5] Input: goodix - platform/x86: touchscreen_dmi - Move upside down " Hans de Goede
2021-05-04 18:57 ` [RFC v2 2/5] Input: goodix - platform/x86: touchscreen_dmi - Move inverted-x quirk " Hans de Goede
2021-05-04 18:57 ` [RFC v2 3/5] platform/x86: touchscreen_dmi: Add an extra entry for the upside down Goodix touchscreen on Teclast X89 tablets Hans de Goede
2021-05-04 18:57 ` [RFC v2 4/5] platform/x86: touchscreen_dmi: Add info for the Goodix GT912 panel of TM800A550L tablets Hans de Goede
2021-05-04 18:57 ` [RFC v2 5/5] platform/x86: touchscreen_dmi: Add info for the Mediacom Winpad 7.0 W700 tablet Hans de Goede
2021-05-19 15:20 ` 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).