[PATCH 10/16] drivers/gpio: represent gpio-nomadik as an IRQ controller in DT documentation

Arnd Bergmann arnd at arndb.de
Tue Apr 17 10:38:32 EDT 2012


On Tuesday 17 April 2012, Lee Jones wrote:
> --- a/Documentation/devicetree/bindings/gpio/gpio-nmk.txt
> +++ b/Documentation/devicetree/bindings/gpio/gpio-nmk.txt
> @@ -13,6 +13,7 @@ Required properties:
>                                    4 = active high level-sensitive.
>                                    8 = active low level-sensitive.
>  - gpio-controller       : Marks the device node as a GPIO controller.
> +- gpio-interrupt        : Marks the device node as a GPIO controller.
>  - gpio-bank             : Specifies which bank a controller owns.
>  - st,supports-sleepmode : Specifies whether controller can sleep or not
>  
> @@ -24,6 +25,7 @@ Example:
>                          interrupts = <0 120 0x4>;
>                          #gpio-cells = <2>;
>                          gpio-controller;
> +                        interrupt-controller;
>                          supports-sleepmode;
>                          gpio-bank = <1>;
>                  };

Documentation doesn't match the example or the code: it should be
'interrupt-controller' above, not 'gpio-interrupt'.

	Arnd



More information about the linux-arm-kernel mailing list