Skip to contentSkip to conversation

input/touchscreen: atmel_mxt_ts: Add Caroline Chromebook platform data.

PATCH New Vittorio Gambaletta (VittGam) 1 participant 1 message Mar 10, 2018

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

PATCH 1/1 input/touchscreen: atmel_mxt_ts: Add Caroline Chromebook platform data.

This patch adds the correct platform data information for the Caroline Chromebook, so that the mouse button does not get stuck in pressed state after the first click.

The Samus button keymap and platform data definition are the correct ones for Caroline, so they have been reused here.

---

drivers/input/touchscreen/atmel_mxt_ts.c +9 -0
@@ -3031,6 +3031,15 @@
 		.driver_data = samus_platform_data,
 	},
 	{
+		/* Samsung Chromebook Pro */
+		.ident = "Samsung Chromebook Pro",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "GOOGLE"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Caroline"),
+		},
+		.driver_data = samus_platform_data,
+	},
+	{
 		/* Other Google Chromebooks */
 		.ident = "Chromebook",
 		.matches = {