summaryrefslogtreecommitdiffstats
path: root/include/linux/n_r3964.h
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2010-07-01 09:01:56 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2010-07-03 13:13:22 -0700
commit3eac5c7e44f35eb07f0ecb28ce60f15b2dda1932 (patch)
treea943d0d07ef4c6178fcbdbca68290ee48b930cb1 /include/linux/n_r3964.h
parent0f622bf465e78c390e13c5f4a14d0b3f8fb7c7e5 (diff)
downloadblackbird-op-linux-3eac5c7e44f35eb07f0ecb28ce60f15b2dda1932.tar.gz
blackbird-op-linux-3eac5c7e44f35eb07f0ecb28ce60f15b2dda1932.zip
Input: ads7846 - extend the driver for ads7845 controller support
ADS7845 is a controller for 5-wire touch screens and somewhat different from 7846. It requires three serial communications to accomplish one complete conversion. Unlike 7846 it doesn't allow Z1-/Z2- position measurement. The patch extends the ads7846 driver to also support ads7845. The packet struct is extended to contain needed command and conversion buffers. ads7846_rx() and ads7846_rx_val() now differentiate between 7845 and 7846 case. ads7846_probe() is modified to setup ads7845 specific command and conversion messages and to switch ads7845 into power-down mode, since this is needed to be prepared to respond to pendown interrupts. Signed-off-by: Anatolij Gustschin <agust@denx.de> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include/linux/n_r3964.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud