Messages in this thread | | | Date | Thu, 25 Jul 2013 15:21:35 +0200 | Subject | Re: How to create IRQ mappings in a GPIO driver that doesn't control its IRQ domain ? | From | Linus Walleij <> |
| |
On Thu, Jul 25, 2013 at 3:15 PM, Mark Brown <broonie@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
| |