Input: ads7846 - add support for AD7843 parts
authorMichael Hennerich <michael.hennerich@analog.com>
Wed, 10 Mar 2010 04:38:45 +0000 (20:38 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 10 Mar 2010 06:12:45 +0000 (22:12 -0800)
commit06a09124b5ec65f81df66c56695d9a9ae04a0114
tree6ae81521962ce1d013d00ae1d6915e528d8dc638
parent9e49f6c1339a7972e23a335c4c71a289b4c6f65b
Input: ads7846 - add support for AD7843 parts

The AD7873 is almost identical to the ADS7846; the only difference is
related to the Power Management bits PD0 and PD1.  This results in a
slightly different PENIRQ enable behavior.  For the AD7873, VREF should
be turned off during differential measurements.

So, add the AD7873/43 to the list of driver supported devices, and prevent
VREF usage during differential/ratiometric conversion modes.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/Kconfig
drivers/input/touchscreen/ads7846.c
include/linux/spi/ads7846.h