RE: Davinci GPIO -> IRQ confusion

2010-06-03 Thread Jon Povey
David Brownell wrote: >> Because there isn't an actual IRQ for each pin, >> they need to be virtual. > > Actually, some of them could be "real" IRQs > instead of being dispatched through the GPIO > bank IRQ (which is a "real" IRQ, of course). > > But that gets messy. At one point it didn't > work

Re: Davinci GPIO -> IRQ confusion

2010-06-03 Thread David Brownell
> Because there isn't an actual IRQ for each pin, > they need to be virtual. Actually, some of them could be "real" IRQs instead of being dispatched through the GPIO bank IRQ (which is a "real" IRQ, of course). But that gets messy. At one point it didn't work at all in Linux. It should work now

Re: Davinci GPIO -> IRQ confusion

2010-06-03 Thread Steve Poulsen
Jon Because there isn't an actual IRQ for each pin, they need to be virtual. The alternative is to have multiple drivers all wanting the same IRQ Steve On Jun 3, 2010, at 6:30 AM, Jon Povey wrote: I have spent today convinced something was wrong with gpio_to_irq() on DM355, and am slo