On Fri, May 04, 2012 at 02:55:37PM +0300, Peter Ujfalusi wrote: > On 05/04/2012 02:22 PM, Mark Brown wrote: > >> The OMAP platform related drives has been already converted to use > >> irq_alloc_descs(-1, 0, nr_irqs, 0); to map their range (including GPIO, > >> twl6030, etc). > > How does this work for interrupts on things like SPI and I2C devices? > You mean on devices like twl6040, twl6030, twl4030 (I2C MFD devices)? > Or "irq expander" type of devices? The latter, and also just any driver that delivers an interrupt via a GPIO on OMAP - if the GPIO IRQ numbers are all dynamically allocated then it gets hard to register an off-chip device and tell it which interrupt to request.