Input: edt-ft5x06 - add offset support for ev-ft5726
authorMarco Felsch <m.felsch@pengutronix.de>
Mon, 14 Jan 2019 07:10:50 +0000 (23:10 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 14 Jan 2019 07:13:28 +0000 (23:13 -0800)
commitb6eba86030bf2fa3abcf9a0e3fb04527330da52e
treedebd1fe5cf8c24c02cf2e57cf1d1926eff96ee5c
parent2ebc1919e9a9812903ab684cc53862015987e7a0
Input: edt-ft5x06 - add offset support for ev-ft5726

Unfortunately the evervision focaltech implementation uses two offset
registers, one for the x coordinate and one for y.

This patch extends the driver to handle those offset registers only for
devices that support these.

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