Re: How to create IRQ mappings in a GPIO driver that doesn't controlits IRQ domain ?
From: Mark Brown
Date: Thu Jul 25 2013 - 09:53:49 EST
On Thu, Jul 25, 2013 at 03:21:35PM +0200, Linus Walleij wrote:
> On Thu, Jul 25, 2013 at 3:15 PM, Mark Brown <broonie@xxxxxxxxxx> wrote:
> > 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.
It works fine with domains as well - the domains all have a hwirq number
which is local to the domain context and doesn't correspond to a Linux
interrupt number. If you can say "the X interrupts in this domain
starting at Y correspond to these X GPIOs" then you should be able to
Description: Digital signature