All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] platform/x86: touchscreen_dmi: Add info for the Trekstor Yourbook C11B
@ 2020-05-12 20:40 Bernhard Übelacker
  2020-05-12 20:44 ` Hans de Goede
  0 siblings, 1 reply; 8+ messages in thread
From: Bernhard Übelacker @ 2020-05-12 20:40 UTC (permalink / raw)
  To: Hans de Goede, Darren Hart, Andy Shevchenko, linux-input,
	platform-driver-x86, linux-kernel
  Cc: Bernhard Übelacker, Otmar Meier

Add touchscreen info for the Trekstor Yourbook C11B. It seems to
use the same touchscreen as the Primebook C11, so we only add a new DMI
match.

Cc: Otmar Meier <otmarjun.meier@nexgo.de>
Reported-and-tested-by: Otmar Meier <otmarjun.meier@nexgo.de>
Signed-off-by: Bernhard Übelacker <bernhardu@mailbox.org>
---
 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 6ec8923dec1a..d87315892458 100644
--- a/drivers/platform/x86/touchscreen_dmi.c
+++ b/drivers/platform/x86/touchscreen_dmi.c
@@ -1106,6 +1106,14 @@ const struct dmi_system_id touchscreen_dmi_table[] = {
 			DMI_MATCH(DMI_BIOS_VERSION, "TREK.G.WI71C.JGBMRBA05"),
 		},
 	},
+	{
+		/* Trekstor Yourbook C11B (same touchscreen as the Primebook C11) */
+		.driver_data = (void *)&trekstor_primebook_c11_data,
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "TREKSTOR"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "YOURBOOK C11B"),
+		},
+	},
 	{
 		/* Yours Y8W81, same case and touchscreen as Chuwi Vi8 */
 		.driver_data = (void *)&chuwi_vi8_data,
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-05-15 16:01 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-12 20:40 [PATCH] platform/x86: touchscreen_dmi: Add info for the Trekstor Yourbook C11B Bernhard Übelacker
2020-05-12 20:44 ` Hans de Goede
2020-05-12 20:51   ` Andy Shevchenko
2020-05-12 20:57     ` Andy Shevchenko
2020-05-13 17:17   ` Andy Shevchenko
2020-05-15 14:07     ` Bernhard Übelacker
2020-05-15 14:18       ` Andy Shevchenko
2020-05-15 15:59         ` [PATCH v2] " Bernhard Übelacker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.