From: Sebastian Andrzej Siewior Date: Sat, 22 Mar 2014 16:16:39 +0000 (+0100) Subject: gpio: dwapb: correct gpio-cells in binding document X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a54aef5072325ad3e5bd3e7c2858ae208fb4454d;p=linux-beck.git gpio: dwapb: correct gpio-cells in binding document The example uses gpio-cells = 1 while it should be two (it is even mentioned in the text above). Cc: devicetree@vger.kernel.org Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Linus Walleij --- diff --git a/Documentation/devicetree/bindings/gpio/snps-dwapb-gpio.txt b/Documentation/devicetree/bindings/gpio/snps-dwapb-gpio.txt index 91cc90c6cf67..dd5d2c0394b1 100644 --- a/Documentation/devicetree/bindings/gpio/snps-dwapb-gpio.txt +++ b/Documentation/devicetree/bindings/gpio/snps-dwapb-gpio.txt @@ -41,7 +41,7 @@ gpio: gpio@20000 { porta: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; - #gpio-cells = <1>; + #gpio-cells = <2>; snps,nr-gpios = <8>; reg = <0>; interrupt-controller; @@ -53,7 +53,7 @@ gpio: gpio@20000 { portb: gpio-controller@1 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; - #gpio-cells = <1>; + #gpio-cells = <2>; snps,nr-gpios = <8>; reg = <1>; };