mirror of
https://github.com/torvalds/linux.git
synced 2024-12-23 19:31:53 +00:00
drivers/gpio: represent gpio-nomadik as an IRQ controller in DT documentation
Now gpio-nomadik has proper bindings devices initialised by Device Tree entries are able to use the chained GPIO IRQ lines it provides. This patch aims to reflect that in the gpio-nmk documentation. Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
3f3ed40060
commit
7919fb18cf
@ -13,6 +13,7 @@ Required properties:
|
|||||||
4 = active high level-sensitive.
|
4 = active high level-sensitive.
|
||||||
8 = active low level-sensitive.
|
8 = active low level-sensitive.
|
||||||
- gpio-controller : Marks the device node as a GPIO controller.
|
- gpio-controller : Marks the device node as a GPIO controller.
|
||||||
|
- interrupt-controller : Marks the device node as an interrupt controller.
|
||||||
- gpio-bank : Specifies which bank a controller owns.
|
- gpio-bank : Specifies which bank a controller owns.
|
||||||
- st,supports-sleepmode : Specifies whether controller can sleep or not
|
- st,supports-sleepmode : Specifies whether controller can sleep or not
|
||||||
|
|
||||||
@ -24,6 +25,7 @@ Example:
|
|||||||
interrupts = <0 120 0x4>;
|
interrupts = <0 120 0x4>;
|
||||||
#gpio-cells = <2>;
|
#gpio-cells = <2>;
|
||||||
gpio-controller;
|
gpio-controller;
|
||||||
|
interrupt-controller;
|
||||||
supports-sleepmode;
|
supports-sleepmode;
|
||||||
gpio-bank = <1>;
|
gpio-bank = <1>;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user