]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
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)
committerLuis Henriques <luis.henriques@canonical.com>
Thu, 15 Jan 2015 10:44:57 +0000 (10:44 +0000)
commit b90b3c4ae06af135e279c9a5aa1c640d22787fc4 upstream.

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>
Cc: Scot Doyle <lkml14@scotdoyle.com>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
drivers/platform/chrome/chromeos_laptop.c

index 37fa570a76360279891087377d89a42151ede03d..fd090efe548980c7bbabb652c42d461c2055587f 100644 (file)
@@ -417,6 +417,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. */