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>
This commit is contained in:
Charlie Mooney 2016-05-02 08:57:17 +08:00 committed by Olof Johansson
parent 9bd9a90b01
commit 9e96aa70e9

View 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 },
},
};