Input: edt-ft5x06 - add support for Evervision FT5726
authorMarco Felsch <m.felsch@pengutronix.de>
Mon, 14 Jan 2019 07:08:32 +0000 (23:08 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 14 Jan 2019 07:13:26 +0000 (23:13 -0800)
commita2f39dac0decd9943ba14e14fb58535bb149fd4e
treebee6f542051eb4a7faae18962df7948e10bdea90
parent1eb7ea26d12345898d2647e00c1f675204143bef
Input: edt-ft5x06 - add support for Evervision FT5726

Evervision displays are using different Focaltech touchscreen
controllers. This commit adds the initial support for the ones using the
FT5726 controller. Receiving the touch data is the same as for the
GENERIC_FT but the x and y cooridnates are swapped. The main differences
are the register addresses where the GAIN and THRESHOLD parameters are
stored.

Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.txt
drivers/input/touchscreen/edt-ft5x06.c