Input: touchscreen: Add imx25 TCQ driver
authorMarkus Pargmann <mpa@pengutronix.de>
Mon, 14 Dec 2015 13:53:52 +0000 (14:53 +0100)
committerLee Jones <lee.jones@linaro.org>
Thu, 11 Feb 2016 15:40:42 +0000 (15:40 +0000)
commit4f7ed234f2a5dcc26fc56a6e8324d34bbc9afe23
tree16941e3dd93a25737a201cf9038086b6920b49f8
parent6df2e98c3ea567bd15b46369180266d4c4df3447
Input: touchscreen: Add imx25 TCQ driver

This is a driver for the imx25 ADC/TSC module. It controls the
touchscreen conversion queue and creates a touchscreen input device.
The driver currently only supports 4 wire touchscreens. The driver uses
a simple conversion queue of precharge, touch detection, X measurement,
Y measurement, precharge and another touch detection.

This driver uses the regmap from the parent to setup some touch specific
settings in the core driver and setup a idle configuration with touch
detection.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Denis Carikli <denis@eukrea.com>
[fix clock's period calculation]
[fix calculation of the 'settling' value]
Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/input/touchscreen/Kconfig
drivers/input/touchscreen/Makefile
drivers/input/touchscreen/fsl-imx25-tcq.c [new file with mode: 0644]