]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit - drivers/input/touchscreen/tsc2301_ts.c
tsc2301 - correct the handling of the DAV interrupt
authorKlaus Pedersen <klaus.k.pedersen@nokia.com>
Fri, 15 Feb 2008 21:31:38 +0000 (23:31 +0200)
committerTony Lindgren <tony@atomide.com>
Thu, 21 Feb 2008 00:20:11 +0000 (16:20 -0800)
commite73c08e0e2a5c7948b2db71fa69e4d6a8bf220f3
treef9412383741dfa68befca98b0305cef3922ce7c3
parented2c771dc938d0767bd3cb39376b35a7c4af6133
tsc2301 - correct the handling of the DAV interrupt

The tsc2301 is not like the ads7846! The tsc2301 does
all converting, timing and filtering autonomously.

The chip works by measuring each channel multiple times and
the average of those values is stored in the corresponding
register before it processes the next channel.

Reading the X,Y,Z1,Z2 registers asynchronously to DAV interrupt
results in subtle errors.

For example instead of drawing (fast) diagonal lines you will
draw "staircases".

Signed-off-by: Klaus Pedersen <klaus.k.pedersen@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-n800.c
drivers/input/touchscreen/tsc2301_ts.c
include/linux/spi/tsc2301.h