Skip to contentSkip to conversation

platform/x86: touchscreen_dmi: Add info for the Trekstor Primebook C11B 2-in-1

PATCH In review Hans de Goede 2 participants 2 messages Aug 18, 2019 – Sep 7, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 platform/x86: touchscreen_dmi: Add info for the Trekstor Primebook C11B 2-in-1

Add touchscreen info for the Trekstor Primebook C11B 2-in-1, note the C11B used the same touchscreen as the regular C11, so we only add a new DMI match.

---
 drivers/platform/x86/touchscreen_dmi.c | 8 ++++++++
 1 file changed, 8 insertions(+)
drivers/platform/x86/touchscreen_dmi.c +8 -0
index 20a943f519dd..8255273b6972 100644
@@ -981,6 +981,14 @@ const struct dmi_system_id touchscreen_dmi_table[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "Primebook C11"),
 		},
 	},
+	{
+		/* Trekstor Primebook C11B (same touchscreen as the C11) */
+		.driver_data = (void *)&trekstor_primebook_c11_data,
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "TREKSTOR"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "PRIMEBOOK C11B"),
+		},
+	},
 	{
 		/* Trekstor Primebook C13 */
 		.driver_data = (void *)&trekstor_primebook_c13_data,
Signature · 1 line
2.23.0.rc2
#1 lore raw
Quoted 5 lines · Hans de Goede

Add touchscreen info for the Trekstor Primebook C11B 2-in-1, note the C11B used the same touchscreen as the regular C11, so we only add a new DMI match.

Pushed to my review and testing queue, thanks!

Quoted 29 lines
---
 drivers/platform/x86/touchscreen_dmi.c | 8 ++++++++
 1 file changed, 8 insertions(+)
drivers/platform/x86/touchscreen_dmi.c +8 -1
index 20a943f519dd..8255273b6972 100644
@@ -981,6 +981,14 @@ const struct dmi_system_id touchscreen_dmi_table[] = {
                        DMI_MATCH(DMI_PRODUCT_NAME, "Primebook C11"),
                },
        },
+       {
+               /* Trekstor Primebook C11B (same touchscreen as the C11) */
+               .driver_data = (void *)&trekstor_primebook_c11_data,
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "TREKSTOR"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "PRIMEBOOK C11B"),
+               },
+       },
        {
                /* Trekstor Primebook C13 */
                .driver_data = (void *)&trekstor_primebook_c13_data,
--

2.23.0.rc2

Signature · 2 lines
With Best Regards,
Andy Shevchenko