Re: [PATCH 5/6] Staging/iio/adc/touchscreen/MXS: add interrupt driven touch detection
From: Jonathan Cameron <hidden>
Date: 2013-09-19 16:12:42
Also in:
linux-arm-kernel, linux-iio
. "Jürgen Beisert" [off-list ref] wrote:
Hi Jonathan, On Monday 16 September 2013 17:30:32 Jonathan Cameron wrote:quoted
quoted
On Sunday 15 September 2013 12:56:25 Jonathan ,,, wrote:quoted
On 09/11/13 09:18, Juergen Beisert wrote:quoted
For battery driven systems it is a very bad idea to collect the touchscreen data within a kernel busy loop. This change uses the features of the hardware to delay and accumulate samples in hardware to avoid a high interrupt and CPUload.quoted
quoted
quoted
quoted
Note: this is only tested on an i.MX23 SoC yet. Signed-off-by: Juergen Beisert <redacted> CC: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org CC: devel-gWbeCf7V1WCQmaza687I9mD2FQJk+8+b@public.gmane.org CC: Marek Vasut <redacted> CC: Fabio Estevam <redacted> CC: Jonathan Cameron <jic23-KWPb1pKIrIJaa/9Udqfwiw@public.gmane.org>While this driver is placed in IIO within staging at the moment, these changes are definitely input related. Hence I have cc'dDmitry andquoted
quoted
quoted
the input list. I am personaly a little uncomfortable that we have such a complexbitquoted
quoted
quoted
of input code sat within an IIO driver but such is life.Maybe an MFD for this ADC unit would be a better way to go?That would be great and is definitely the preferred method.Cannot continue to convert the driver into an MFD device. The project does not give me the time to do so. Regards, Juergen
Fair enough. Perhaps someone else will pick up the gauntlet :) The old call of why there isn't enough time in the day! -- Sent from my Android phone with K-9 Mail. Please excuse my brevity.