Re: [PATCH v2 1/2] input: touchscreen: introduce tsc2005 driver

From: Mark Brown
Date: Mon Nov 16 2009 - 10:24:03 EST


On Mon, Nov 16, 2009 at 02:37:48PM +0200, Phil Carmody wrote:
> On 14/11/09 07:03 +0100, ext Dmitry Torokhov wrote:

> > Do we really need to do filtering and averaging in kernel? What about
> > tslib?

> Not everyone uses tslib. There's already some filtering in the tsc2005
> already, but it's not really enough. This averaging also has the
> pleasant side-effect of reducing the number of input events. The
> fudging that takes place later has slightly different smoothing
> behaviour, and isn't a substitute.

If we do want to be doing filtering and averaging in kernel then it
really ought to be some sort of generic framework rather than driver
specific code since otherwise there will be duplication of effort. The
OpenMoko guys were pushing a framework for doing that, I'm not sure what
the current status is.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/