]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Input: atmel_mxt_ts - add support for Google Pixel 2
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 7 Apr 2015 23:30:01 +0000 (16:30 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 15 Apr 2015 17:52:48 +0000 (10:52 -0700)
commit4f8d808889d05807f494f82f8cfaa6c113c2f761
tree53e2b96f5d895ff0057dbbc14610a6e9d9fccd59
parent0604949ce3b9a59cff419daf706272620a9a0df0
Input: atmel_mxt_ts - add support for Google Pixel 2

This change allows atmel_mxt_ts to bind to ACPI-enumerated devices in
Google Pixel 2 (2015).

While newer version of ACPI standard allow use of device-tree-like
properties in device descriptions, the version of ACPI implemented in
Google BIOS does not support them, and we have to resort to DMI data to
specify exact characteristics of the devices (touchpad vs. touchscreen,
GPIO to button mapping, etc).

Pixel 1 continues to use i2c devices and platform data created by
chromeos-laptop driver, since ACPI does not enumerate them.

Reviewed-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Tested-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/atmel_mxt_ts.c