Messages in this thread | | | Date | Mon, 14 Jun 2010 13:13:49 +0100 | From | Mark Brown <> | Subject | Re: [PATCH 2/3 V2] gpio: add STMPE811 gpio controller support |
| |
On Mon, Jun 14, 2010 at 02:09:43PM +0200, Luotao Fu wrote: > On Mon, Jun 14, 2010 at 12:51:23PM +0100, Mark Brown wrote:
> > Assuming you're able to do interrupts on the GPIOs you should now be > > able to implement to_irq() as well.
> The chip can indeed generate irqs on the GPIO line. I, however, kept out > the irq stuff for now because i want to get the core functionalies done > for this turn. I'd like to add the irq stuff with a separate patch later.
It should be a trivial function - it just does a mapping from a GPIO number to an IRQ number.
| |