Browse Source

platform/chrome: chromeos_laptop - Add Elan touchpad for Wolf

The upcoming Elan Wolf (Dell Chromebook 11) devices need to know to look
for Elan touchpads on the i2c bus so that they will be functional.

Based on the chromeos-kernel commit :
https://chromium-review.googlesource.com/198283

Signed-off-by: Charlie Mooney <charliemooney@chromium.org>
Signed-off-by: Benson Leung <bleung@chromium.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
Charlie Mooney 9 years ago
parent
commit
9e96aa70e9
1 changed files with 2 additions and 0 deletions
  1. 2 0
      drivers/platform/chrome/chromeos_laptop.c

+ 2 - 0
drivers/platform/chrome/chromeos_laptop.c

@@ -461,6 +461,8 @@ static struct chromeos_laptop dell_chromebook_11 = {
 	.i2c_peripherals = {
 	.i2c_peripherals = {
 		/* Touchpad. */
 		/* Touchpad. */
 		{ .add = setup_cyapa_tp, I2C_ADAPTER_DESIGNWARE_0 },
 		{ .add = setup_cyapa_tp, I2C_ADAPTER_DESIGNWARE_0 },
+		/* Elan Touchpad option. */
+		{ .add = setup_elantech_tp, I2C_ADAPTER_DESIGNWARE_0 },
 	},
 	},
 };
 };