[PATCH 2/2] pinctrl: dt-binding: Extend meson documentation with GPIO IRQs support

Carlo Caione carlo at caione.org
Tue Jun 2 02:34:12 PDT 2015


On Mon, Jun 1, 2015 at 4:04 PM, Linus Walleij <linus.walleij at linaro.org> wrote:
> On Mon, May 25, 2015 at 1:00 PM, Carlo Caione <carlo at caione.org> wrote:
>
>> From: Beniamino Galvani <b.galvani at gmail.com>
>>
>> Extend the pinctrl binding documentation with the support for external
>> GPIO interrupts.
>>
>> Signed-off-by: Carlo Caione <carlo at endlessm.com>
>> Signed-off-by: Beniamino Galvani <b.galvani at gmail.com>
> (...)
>> + - interrupts: specifies the GPIO IRQ numbers on the GIC (GPIO_IRQ#)
>
> Write that this GPIO only support as many IRQs as you supply
> to the controller.

Ok.

>>         pinctrl: pinctrl at c1109880 {
>>                 compatible = "amlogic,meson8-pinctrl";
>> +               reg-names = "irq";
>
> Why? I thought this was the registers for the whole pin controller.

This register is only used to control the GPIO IRQs. All the muxing
and the basic GPIO control is done using the reg property in the
subnodes (banks).

-- 
Carlo Caione



More information about the linux-arm-kernel mailing list