platform/chrome: Add support for the acer c720p touchscreen.
authorMichael Mullin <masmullin@gmail.com>
Wed, 16 Jul 2014 00:00:54 +0000 (20:00 -0400)
committerOlof Johansson <olof@lixom.net>
Wed, 16 Jul 2014 01:01:03 +0000 (18:01 -0700)
Add support for the acer c720p touchscreen.
Tested manually by using the touchscreen on the acer c720p-2664

Based on the following patch by Dave Parker <dparker@chromium.org>:
https://chromium-review.googlesource.com/#/c/167136/

Signed-off-by: Michael Mullin <masmullin@gmail.com>
Reviewed-by: Benson Leung <bleung@chromium.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
drivers/platform/chrome/chromeos_laptop.c

index a53fe76..15b1b16 100644 (file)
@@ -419,6 +419,8 @@ static struct chromeos_laptop acer_ac700 = {
 
 static struct chromeos_laptop acer_c720 = {
        .i2c_peripherals = {
+               /* Touchscreen. */
+               { .add = setup_atmel_1664s_ts, I2C_ADAPTER_DESIGNWARE_1 },
                /* Touchpad. */
                { .add = setup_cyapa_tp, I2C_ADAPTER_DESIGNWARE_0 },
                /* Light Sensor. */