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 <[email protected]>:
https://chromium-review.googlesource.com/#/c/167136/
Signed-off-by: Michael Mullin <[email protected]>
---
drivers/platform/chrome/chromeos_laptop.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/platform/chrome/chromeos_laptop.c b/drivers/platform/chrome/chromeos_laptop.c
index a53fe76..15b1b16 100644
--- a/drivers/platform/chrome/chromeos_laptop.c
+++ b/drivers/platform/chrome/chromeos_laptop.c
@@ -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. */
--
2.0.1
Hi Michael,
Thank you for adding this and verifying it works on your system.
On Tue, Jul 15, 2014 at 5:00 PM, Michael Mullin <[email protected]> wrote:
> 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 <[email protected]>:
> https://chromium-review.googlesource.com/#/c/167136/
>
> Signed-off-by: Michael Mullin <[email protected]>
Reviewed-by: Benson Leung <[email protected]>
> ---
> drivers/platform/chrome/chromeos_laptop.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/platform/chrome/chromeos_laptop.c b/drivers/platform/chrome/chromeos_laptop.c
> index a53fe76..15b1b16 100644
> --- a/drivers/platform/chrome/chromeos_laptop.c
> +++ b/drivers/platform/chrome/chromeos_laptop.c
> @@ -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. */
> --
> 2.0.1
>
--
Benson Leung
Software Engineer, Chrom* OS
[email protected]
On Tue, Jul 15, 2014 at 08:00:54PM -0400, Michael Mullin wrote:
> 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 <[email protected]>:
> https://chromium-review.googlesource.com/#/c/167136/
>
> Signed-off-by: Michael Mullin <[email protected]>
Applied with a tweak of patch subject.
-Olof