]> git.baikalelectronics.ru Git - kernel.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)
commit3d0d916cb67294bc1aeda661cf66d930b3afa4d5
tree53e2b96f5d895ff0057dbbc14610a6e9d9fccd59
parentc09b369b236d1d8829e19c063d17cbbc96fd5e65
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