Thread (23 messages) 23 messages, 9 authors, 2012-08-07

Re: Emulating level IRQs

flat view

From: Daniel Mack <zonque@gmail.com>
Date: 2012-08-07 15:19:16
Also in: lkml

On 06.08.2012 18:36, Mark Brown wrote:
On Mon, Aug 06, 2012 at 09:45:13AM +0800, Eric Miao wrote:
quoted
So my understanding, if it's correct, that we can treat the EETI chip as having
two separate inputs: one IRQ line (for the event notification) and one GPIO line
(for a condition where data are emptied), we could naturally have two numbers
in the driver, but unfortunately they end up being in sync as they are
physically
one pin.
...unless the interrupt controller supports level IRQs at which point we
don't need the GPIO, of course :/ .
Exactly. My question was rather - like the subject says ;) - if there is
a way to emulate level IRQs on controllers that can't do that natively.

But ok, I followed Eric's suggestion now and implemented it that way.
This also works fine for me.

Dmitry, are you fine with that patch?


Many thanks for the input, everyone!
Daniel

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help