diff options
author | Daniel Mack <zonque@gmail.com> | 2013-07-11 11:17:54 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-07-21 12:15:46 -0400 |
commit | ee56884e779d2e40c0da497652924873b505b2fe (patch) | |
tree | e7a6839f81f45d7d4305d27da79ccf5730d0f566 | |
parent | 5dbb7c637f5adadc02c912fb5fc709ec1d342000 (diff) |
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: Daniel 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: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r-- | Documentation/devicetree/bindings/gpio/mrvl-gpio.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Documentation/devicetree/bindings/gpio/mrvl-gpio.txt b/Documentation/devicetree/bindings/gpio/mrvl-gpio.txt index 9b3f1d4a88d6..66416261e14d 100644 --- a/Documentation/devicetree/bindings/gpio/mrvl-gpio.txt +++ b/Documentation/devicetree/bindings/gpio/mrvl-gpio.txt | |||
@@ -10,8 +10,9 @@ Required properties: | |||
10 | There're three gpio interrupts in arch-pxa, and they're gpio0, | 10 | There're three gpio interrupts in arch-pxa, and they're gpio0, |
11 | gpio1 and gpio_mux. There're only one gpio interrupt in arch-mmp, | 11 | gpio1 and gpio_mux. There're only one gpio interrupt in arch-mmp, |
12 | gpio_mux. | 12 | gpio_mux. |
13 | - interrupt-name : Should be the name of irq resource. Each interrupt | 13 | - interrupt-names : Should be the names of irq resources. Each interrupt |
14 | binds its interrupt-name. | 14 | uses its own interrupt name, so there should be as many interrupt names |
15 | as referenced interrups. | ||
15 | - interrupt-controller : Identifies the node as an interrupt controller. | 16 | - interrupt-controller : Identifies the node as an interrupt controller. |
16 | - #interrupt-cells: Specifies the number of cells needed to encode an | 17 | - #interrupt-cells: Specifies the number of cells needed to encode an |
17 | interrupt source. | 18 | interrupt source. |
@@ -24,7 +25,7 @@ Example: | |||
24 | compatible = "marvell,mmp-gpio"; | 25 | compatible = "marvell,mmp-gpio"; |
25 | reg = <0xd4019000 0x1000>; | 26 | reg = <0xd4019000 0x1000>; |
26 | interrupts = <49>; | 27 | interrupts = <49>; |
27 | interrupt-name = "gpio_mux"; | 28 | interrupt-names = "gpio_mux"; |
28 | gpio-controller; | 29 | gpio-controller; |
29 | #gpio-cells = <1>; | 30 | #gpio-cells = <1>; |
30 | interrupt-controller; | 31 | interrupt-controller; |