[PATCH v3 2/5] Documentation: add description of DT binding for the gpio-mvebu driver
Sebastian Hesselbarth
sebastian.hesselbarth at gmail.com
Sun Sep 16 05:11:44 EDT 2012
On 09/16/2012 09:56 AM, Andrew Lunn wrote:
>> +++ b/Documentation/devicetree/bindings/gpio/gpio-mvebu.txt
>> @@ -0,0 +1,45 @@
>> +* Marvell EBU GPIO controller
>> ...
>> +- interrupt-controller: identifies the node as an interrupt controller
>> +
>> +- #interrupt-cells: specifies the number of celles needed to encode an
>> + interrupt source
>
> Hi Thomas
>
> Should this be #gpio-cells? The example below does not have
> #interrupt-cells?
It should be both. #gpio-cells to encode pin-offset within the gpio controller
and polarity, #interrupt-cells to encode irq number.
Sebastian
More information about the linux-arm-kernel
mailing list