On Thu, Jul 25, 2013 at 3:15 PM, Mark Brown <broo...@kernel.org> wrote: > On Thu, Jul 25, 2013 at 11:45:33AM +0200, Laurent Pinchart wrote: > >> The number of interrupts can be pretty high (up to 58 in the worst case so >> far), so an alternative would be to specify the interrupt-parent only, and >> call irq_create_of_mapping() directly. What solution would you prefer ? > > Are the interrupts in a contiguous block in the controller so you can > just pass around the controller and a base number?
That works with platform data and in-kernel structures, but AFAICT device tree has no such "bulk" concept but expects you to list each and every line individually in cases like this. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/