]> git.baikalelectronics.ru Git - kernel.git/commit
Input: atmel_mxt_ts - add generic platform data for Chromebooks
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 20 Nov 2015 18:58:07 +0000 (10:58 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 2 Dec 2015 17:35:40 +0000 (09:35 -0800)
commitfad2099832e3af0f38d141c3a4101a38633f6401
treed8bb7d678b4a419ad2563d59e1d06cc017834f6a
parente2c0ef5f29ca6e5b441887c5f3fdbb20239568c7
Input: atmel_mxt_ts - add generic platform data for Chromebooks

Apparently people are installing generic Linux distributions not only on
Pixels but also on other Chromebooks. Unfortunately on all of them Atmel
parts assigned names ATML0000 and ATML0001, and do not carry any other
configuration data. So let's create generic instance of platform data that
should cover most of them (we assume that they will not be using T100
objects, since with those Google mapped BTN_LEFT onto a different GPIO, so
slightly different keymap would be needed, but I think we used parts with
T100 on ARM devices where we thankfully have DTS and can describe the
devices better).

Tested-by: Rich K <rgkirch@gmail.com>
Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/atmel_mxt_ts.c