rpcd: iwinfo plugin fixes
[openwrt/svn-archive/archive.git] / target / linux / socfpga / patches-4.4 / 0001-dt-bindings-gpio-altera-Fix-altr-interrupt-type-prop.patch
1 From b32732e51a774e8514f40975f2600f02ef9db0b4 Mon Sep 17 00:00:00 2001
2 From: Marek Vasut <marex@denx.de>
3 Date: Mon, 29 Feb 2016 17:19:59 +0100
4 Subject: [PATCH 1/5] dt-bindings: gpio: altera: Fix altr,interrupt-type
5 property
6
7 The altr,interrupt-trigger property is not used by the driver.
8 Instead, altr,interrupt-type is used by the driver and the driver
9 does not probe if this property is not specified. Therefore, it
10 is expected that there are no users of the -trigger property in
11 the wild and that this is a typo in the documentation for the
12 altera-pio controller. This patch fixes the typo.
13
14 Signed-off-by: Marek Vasut <marex@denx.de>
15 Cc: Tien Hock Loh <thloh@altera.com>
16 Cc: Linus Walleij <linus.walleij@linaro.org>
17 ---
18 Documentation/devicetree/bindings/gpio/gpio-altera.txt | 4 ++--
19 1 file changed, 2 insertions(+), 2 deletions(-)
20
21 diff --git a/Documentation/devicetree/bindings/gpio/gpio-altera.txt b/Documentation/devicetree/bindings/gpio/gpio-altera.txt
22 index 12f5014..826a720 100644
23 --- a/Documentation/devicetree/bindings/gpio/gpio-altera.txt
24 +++ b/Documentation/devicetree/bindings/gpio/gpio-altera.txt
25 @@ -12,7 +12,7 @@ Required properties:
26 - #interrupt-cells : Should be 1. The interrupt type is fixed in the hardware.
27 - The first cell is the GPIO offset number within the GPIO controller.
28 - interrupts: Specify the interrupt.
29 -- altr,interrupt-trigger: Specifies the interrupt trigger type the GPIO
30 +- altr,interrupt-type: Specifies the interrupt trigger type the GPIO
31 hardware is synthesized. This field is required if the Altera GPIO controller
32 used has IRQ enabled as the interrupt type is not software controlled,
33 but hardware synthesized. Required if GPIO is used as an interrupt
34 @@ -35,7 +35,7 @@ gpio_altr: gpio@0xff200000 {
35 reg = <0xff200000 0x10>;
36 interrupts = <0 45 4>;
37 altr,ngpio = <32>;
38 - altr,interrupt-trigger = <IRQ_TYPE_EDGE_RISING>;
39 + altr,interrupt-type = <IRQ_TYPE_EDGE_RISING>;
40 #gpio-cells = <2>;
41 gpio-controller;
42 #interrupt-cells = <1>;
43 --
44 2.7.0
45