From: Bernhard Übelacker Date: Fri, 15 May 2020 15:59:12 +0000 (+0200) Subject: platform/x86: touchscreen_dmi: Add info for the Trekstor Yourbook C11B X-Git-Tag: v5.8-rc1~199^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6b29030c6f9906cef2bbb1e7444329841d9a5527;p=thirdparty%2Fkernel%2Flinux.git platform/x86: touchscreen_dmi: Add info for the Trekstor Yourbook C11B 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 Reported-and-tested-by: Otmar Meier Signed-off-by: Bernhard Übelacker Reviewed-by: Hans de Goede Signed-off-by: Andy Shevchenko --- diff --git a/drivers/platform/x86/touchscreen_dmi.c b/drivers/platform/x86/touchscreen_dmi.c index 87591cea127ac..f9d9045cdf40d 100644 --- a/drivers/platform/x86/touchscreen_dmi.c +++ b/drivers/platform/x86/touchscreen_dmi.c @@ -1197,6 +1197,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"), + }, + }, { /* Vinga Twizzle J116 */ .driver_data = (void *)&vinga_twizzle_j116_data,