From: Klaus Pedersen Date: Fri, 15 Feb 2008 21:31:39 +0000 (+0200) Subject: tsc2301 - add coordinate average filter X-Git-Tag: v2.6.25-omap1~181 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f56fb3e6a168589c6663c1a42ba64204eea64a2;p=pandora-kernel.git tsc2301 - add coordinate average filter To get good touchscreen results filtering is essential. The filter does 2 things - it removes "bad" measurements, and it uses average to smooth the coordinates. Use the HW-filter in the tsc2301 to remove high frequency noise (from backlight). Using 8 sample average is very efficient. Another source of noise is the screen, but that generates low freq noise and thus require a SW filter. Using 4 coordinate history average is efficient. Signed-off-by: Klaus Pedersen Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed