Re: [PATCH] input: ads7846: can't disable filtering [was OMAP5912 touchscreen irq not working]

David Brownell
2006-06-05T16:13:29Z

On Monday 05 June 2006 9:04 am, Imre Deak wrote:

> > Using the pen IRQ for driver state transitions is problematic, since the
> > driver has to work with a variety of triggering modes ... both edges,
> > falling only (or, with hw inverter, rising only), low level (or, with
> > inverter, high).
>
> I understand, but since on some platforms I think it is the only way to
> go and on others it may reduce the latency of pen up events could we
> still have this feature as an option? If the platform can't define it's
> pen down state function we could fall back on the current pen up
> detection method.

Certainly. I was never a big fan of that method, but it seemed to
be necessary ... if, after sorting out interrelated bugs in gpio irq
handling, omap_uwire, and ads7846 code, it all works without that
messy pressure sense-as-penup logic, I'd be happy!

- Dave

> --Imre
>
> >
> > It's true that having that "poll penirq state" method is a big win.
> >
> > - Dave
>