diff options
author | Marek Vasut <marex@denx.de> | 2016-02-29 11:23:17 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-03-08 21:47:42 -0500 |
commit | df2e90551b7db4b5a4da5eaa78742f47f2799aa2 (patch) | |
tree | 504c6c8c8e59999b74a68b22d67e96057b3be9b5 | |
parent | f436bc2726c6451bd15b63f100f00dcee52ba103 (diff) |
dt-bindings: gpio: altera: Fix altr,interrupt-type property
The altr,interrupt-trigger property is not used by the driver.
Instead, altr,interrupt-type is used by the driver and the driver
does not probe if this property is not specified. Therefore, it
is expected that there are no users of the -trigger property in
the wild and that this is a typo in the documentation for the
altera-pio controller. This patch fixes the typo.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Tien Hock Loh <thloh@altera.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r-- | Documentation/devicetree/bindings/gpio/gpio-altera.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/gpio/gpio-altera.txt b/Documentation/devicetree/bindings/gpio/gpio-altera.txt index 12f50149e1ed..826a7208ca93 100644 --- a/Documentation/devicetree/bindings/gpio/gpio-altera.txt +++ b/Documentation/devicetree/bindings/gpio/gpio-altera.txt | |||
@@ -12,7 +12,7 @@ Required properties: | |||
12 | - #interrupt-cells : Should be 1. The interrupt type is fixed in the hardware. | 12 | - #interrupt-cells : Should be 1. The interrupt type is fixed in the hardware. |
13 | - The first cell is the GPIO offset number within the GPIO controller. | 13 | - The first cell is the GPIO offset number within the GPIO controller. |
14 | - interrupts: Specify the interrupt. | 14 | - interrupts: Specify the interrupt. |
15 | - altr,interrupt-trigger: Specifies the interrupt trigger type the GPIO | 15 | - altr,interrupt-type: Specifies the interrupt trigger type the GPIO |
16 | hardware is synthesized. This field is required if the Altera GPIO controller | 16 | hardware is synthesized. This field is required if the Altera GPIO controller |
17 | used has IRQ enabled as the interrupt type is not software controlled, | 17 | used has IRQ enabled as the interrupt type is not software controlled, |
18 | but hardware synthesized. Required if GPIO is used as an interrupt | 18 | but hardware synthesized. Required if GPIO is used as an interrupt |
@@ -35,7 +35,7 @@ gpio_altr: gpio@0xff200000 { | |||
35 | reg = <0xff200000 0x10>; | 35 | reg = <0xff200000 0x10>; |
36 | interrupts = <0 45 4>; | 36 | interrupts = <0 45 4>; |
37 | altr,ngpio = <32>; | 37 | altr,ngpio = <32>; |
38 | altr,interrupt-trigger = <IRQ_TYPE_EDGE_RISING>; | 38 | altr,interrupt-type = <IRQ_TYPE_EDGE_RISING>; |
39 | #gpio-cells = <2>; | 39 | #gpio-cells = <2>; |
40 | gpio-controller; | 40 | gpio-controller; |
41 | #interrupt-cells = <1>; | 41 | #interrupt-cells = <1>; |