Commit ee56884e authored by Daniel Mack's avatar Daniel Mack Committed by Linus Walleij

gpio: pxa: fix Documentation of interrupt-names property

The property name to pass names for interrupt resources is called
"interrupt-names", not "interrupt-name". Fix it to avoid further
confusion.
Signed-off-by: default avatarDaniel Mack <zonque@gmail.com>
Cc: Haojian Zhuang <haojian.zhuang@linaro.org>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 5dbb7c63
...@@ -10,8 +10,9 @@ Required properties: ...@@ -10,8 +10,9 @@ Required properties:
There're three gpio interrupts in arch-pxa, and they're gpio0, There're three gpio interrupts in arch-pxa, and they're gpio0,
gpio1 and gpio_mux. There're only one gpio interrupt in arch-mmp, gpio1 and gpio_mux. There're only one gpio interrupt in arch-mmp,
gpio_mux. gpio_mux.
- interrupt-name : Should be the name of irq resource. Each interrupt - interrupt-names : Should be the names of irq resources. Each interrupt
binds its interrupt-name. uses its own interrupt name, so there should be as many interrupt names
as referenced interrups.
- interrupt-controller : Identifies the node as an interrupt controller. - interrupt-controller : Identifies the node as an interrupt controller.
- #interrupt-cells: Specifies the number of cells needed to encode an - #interrupt-cells: Specifies the number of cells needed to encode an
interrupt source. interrupt source.
...@@ -24,7 +25,7 @@ Example: ...@@ -24,7 +25,7 @@ Example:
compatible = "marvell,mmp-gpio"; compatible = "marvell,mmp-gpio";
reg = <0xd4019000 0x1000>; reg = <0xd4019000 0x1000>;
interrupts = <49>; interrupts = <49>;
interrupt-name = "gpio_mux"; interrupt-names = "gpio_mux";
gpio-controller; gpio-controller;
#gpio-cells = <1>; #gpio-cells = <1>;
interrupt-controller; interrupt-controller;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment