Skip to contentSkip to conversation

platform/x86: touchscreen_dmi: Add info for the Trekstor Yourbook C11B

PATCH Superseded Bernhard Übelacker 3 participants 8 messages May 12, 2020 – May 15, 2020

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

PATCH 1/1 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.

---
 drivers/platform/x86/touchscreen_dmi.c | 8 ++++++++
 1 file changed, 8 insertions(+)
drivers/platform/x86/touchscreen_dmi.c +8 -0
index 6ec8923dec1a..d87315892458 100644
@@ -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,
Signature · 1 line
2.20.1
Reviewed-by on v1 1/1
#1 lore raw

Hi,

Quoted 7 lines · Bernhard Übelacker

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.

Thank you, patch looks good to me:

Regards,

Hans

Quoted 24 lines
---
  drivers/platform/x86/touchscreen_dmi.c | 8 ++++++++
  1 file changed, 8 insertions(+)
drivers/platform/x86/touchscreen_dmi.c +8 -0
index 6ec8923dec1a..d87315892458 100644
@@ -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 lore raw
Quoted 8 lines · Hans de Goede

Hi,

Quoted 4 lines · Bernhard Übelacker

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.

Quoted 7 lines
Quoted 3 lines

Thank you, patch looks good to me:

I don't see it neither in our patchwork nor in Linux Input...

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#3 lore raw
Quoted 4 lines · Andy Shevchenko
Quoted 1 line · Hans de Goede

On 5/12/20 10:40 PM, Bernhard Übelacker wrote:

I don't see it neither in our patchwork nor in Linux Input...

Okay, no worries, it came at last.

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#4 lore raw
In reply to Hans de Goede
Quoted 8 lines · Hans de Goede

Hi,

Quoted 4 lines · Bernhard Übelacker

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.

Quoted 7 lines
Quoted 3 lines

Thank you, patch looks good to me:

This doesn't apply to our for-next.
Please, rebase, add Hans' tag and resend, thanks!

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#5 lore raw

Am 13.05.20 um 19:17 schrieb Andy Shevchenko:

Quoted 11 lines · Hans de Goede
Quoted 10 lines

Hi,

Quoted 7 lines · Bernhard Übelacker

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.

Quoted 6 lines
Quoted 3 lines

Thank you, patch looks good to me:

This doesn't apply to our for-next.
Please, rebase, add Hans' tag and resend, thanks!

Hello Andy,
I am not sure against which git tree I should rebase?

I tried to rebase against the branch for-next in the git tree below. And tried to apply the patch saved from my
thunderbird and got no error.

Is this the right git tree?

Kind regards,
Bernhard

$ git clone -b for-next --single-branch --depth=10000  git://git.kernel.org/pub/scm/linux/kernel/git/andy/linux-gpio-intel.git
$ cd linux-gpio-intel
$ LANG=C git am ../'[PATCH] platform_x86: touchscreen_dmi: Add info for the Trekstor Yourbook C11B.eml'
Applying: platform/x86: touchscreen_dmi: Add info for the Trekstor Yourbook C11B
#6 lore raw
Quoted 12 lines · Bernhard Übelacker

Am 13.05.20 um 19:17 schrieb Andy Shevchenko:

Quoted 11 lines · Hans de Goede
Quoted 10 lines

Hi,

Quoted 7 lines · Bernhard Übelacker

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.

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines

Thank you, patch looks good to me:

This doesn't apply to our for-next.
Please, rebase, add Hans' tag and resend, thanks!

I am not sure against which git tree I should rebase?

Ah, sorry, this one [1] you should use for PDx86.

[1]: http://git.infradead.org/linux-platform-drivers-x86.git

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#7 lore raw

PATCH v2 1/1 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.

---
 drivers/platform/x86/touchscreen_dmi.c | 8 ++++++++
 1 file changed, 8 insertions(+)
drivers/platform/x86/touchscreen_dmi.c +8 -0
index 87591cea127a..f9d9045cdf40 100644
@@ -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,
Signature · 1 line
2.26.2