[PATCH v3 2/3] ARM: bcm281xx: Device Tree bindings for GPIO driver

Tim Kryger tim.kryger at linaro.org
Fri Jul 26 20:13:46 EDT 2013


On Fri, Jul 26, 2013 at 4:22 PM, Markus Mayer <markus.mayer at linaro.org> wrote:
> On 26 July 2013 16:09, Stephen Warren <swarren at wwwdotorg.org> wrote:
>> Isn't this a property of the SoC's IP block, not of the board?
>
> Yes. I wasn't very precise with my statement.
>
> What I added to the description is "Specify at least 1 GPIO interrupt.
> The maximum number is 6."

The IP has a configurable number of banks, each of which has its own
interrupt.  If a particular SoC was configured to have six banks then
you need to list six interrupts in the DTS.  Perhaps it would help to
spell that out that relationship explicitly in the documentation
rather than talking about a minimum or maximum number of interrupts?
Also, you may want to mention that interrupts should to be ordered by
bank number.



More information about the linux-arm-kernel mailing list