On 08/29/2013 06:24 PM, Javier Martinez Canillas wrote: ... > We have been trying to solve this issue for a few months by now and Linus' > approach seems to be the most sensible solution to me. > > Drivers that request an IRQ and assume that platform code will request and setup > the GPIO have been broken since the boards using these drivers were migrated to > DT (e.g: smsc911x on OMAP2+ boards). That's only true if the driver for the GPIO controller is buggy. Whatever request_irq() maps down to in the GPIO/IRQ controller driver simply needs to set up the pin as an interrupt input, then it doesn't matter which order the driver does things. -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html