[PATCH 2/3] ARM: AT91: IIO: Add AT91 ADC driver.

Mark Brown
2011-10-20T09:52:35Z

On Thu, Oct 20, 2011 at 09:33:29AM +0100, Jonathan Cameron wrote:

> Agreed. This is currently up in the air. The current state of those IIO
> hooks is that they do pull only. Push based capture is tricky as for IIO
> we want to control the triggering of the push at a far finer scale than
> makes sense for input. I'm not yet clear how these two will play together.

What's the issue here? The touchscreen input is just a trigger

> If we sit something underneath the IIO and input drivers (or use the lower
> portions of IIO to do this) then the intent would be to have a fully generic
> input touchscreen driver on top. I'm not sure that's possible. For

I'm not sure that's going to be tractable, while the ADC usage may be the
same I'd expect to see a bunch of other logic around them for pen down
detection. I'd guess it is going to be more tractable to have a library
that most ADC touchscreens can share which handles the actual data
transfer bit of things but has extra glue logic around it to make the
actual device.