Input: add I2C attached EETI EXC3000 multi touch driver
authorAhmet Inan <inan@distec.de>
Sat, 14 Oct 2017 17:10:53 +0000 (10:10 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 25 Oct 2017 21:55:33 +0000 (14:55 -0700)
commit7e577a17f2eefeef32f1106ebf91e7cd143ba654
tree34147b970b0d1eb17f95331d13f6b339aa911a46
parent25309004c0e761986c9dc23526a03928a85188c0
Input: add I2C attached EETI EXC3000 multi touch driver

The 3000 series have a new protocol which allows to report up to 5 points
in a single 66 byte frame. One must always read in 66 byte frames.
To support up to 10 points, two consecutive frames need to be read:
The first frame says how many points until sync.
The second frame must say zero points or both frames must be discarded.

To be able to work with the higher 400KHz I2C bus rate, one must
successfully send a special package prior _each_ read or the controller
will refuse to cooperate.

This is a minimal implementation based on egalax_i2c.c (which can be found
on the internet) and egalax_ts.c but without the vendor interface and no
power management support.

Signed-off-by: Ahmet Inan <inan@distec.de>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/devicetree/bindings/input/touchscreen/exc3000.txt [new file with mode: 0644]
drivers/input/touchscreen/Kconfig
drivers/input/touchscreen/Makefile
drivers/input/touchscreen/exc3000.c [new file with mode: 0644]