]> git.karo-electronics.de Git - linux-beck.git/commitdiff
platform/chrome: chromeos_laptop - Add Elan touchpad for Wolf
authorCharlie Mooney <charliemooney@chromium.org>
Mon, 2 May 2016 00:57:17 +0000 (08:57 +0800)
committerOlof Johansson <olof@lixom.net>
Wed, 11 May 2016 18:55:48 +0000 (11:55 -0700)
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>
drivers/platform/chrome/chromeos_laptop.c

index 6ea4f1ad382aa6b48297ee54cc86814469a3b262..8398a7d964901571bcc7de90d50a26975271fe9f 100644 (file)
@@ -461,6 +461,8 @@ static struct chromeos_laptop dell_chromebook_11 = {
        .i2c_peripherals = {
                /* Touchpad. */
                { .add = setup_cyapa_tp, I2C_ADAPTER_DESIGNWARE_0 },
+               /* Elan Touchpad option. */
+               { .add = setup_elantech_tp, I2C_ADAPTER_DESIGNWARE_0 },
        },
 };