iio: exynos-adc: add experimental touchscreen support
authorArnd Bergmann <arnd@arndb.de>
Fri, 18 Jul 2014 16:58:57 +0000 (18:58 +0200)
committerArnd Bergmann <arnd@arndb.de>
Tue, 1 Dec 2015 20:50:25 +0000 (21:50 +0100)
commit2bb8ad9b44c528a7f8c0e9120b85b9ecc69b2bbe
tree33d6ac1f7a4a399308989d3f7802b95369986192
parentba279044560b1d2d2237beefb1a695f43f23fc06
iio: exynos-adc: add experimental touchscreen support

This adds support for the touchscreen on Samsung s3c64xx.
The driver is completely untested but shows roughly how
it could be done, following the example of the at91 driver.

compared to the old plat-samsung/adc driver, there is
no support for prioritizing ts over other clients, nor
for oversampling. From my reading of the code, the
priorities didn't actually have any effect at all, but
the oversampling might be needed.

Verifying this driver is the main issue that is currently
holding up multiplatform support for s3c64xx, so any help
in testing is very much appreciated.

The current version uses the IS_REACHABLE() that is
going to be introduced in the linux-media tree, please
comment this out for testing.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/devicetree/bindings/arm/samsung/exynos-adc.txt
drivers/iio/adc/exynos_adc.c