Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <bigeasy@linutronix.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

authored by

Sebastian Andrzej Siewior and committed by
Linus Walleij
a54aef50 138d876e

+2 -2
+2 -2
Documentation/devicetree/bindings/gpio/snps-dwapb-gpio.txt
··· 41 41 porta: gpio-controller@0 { 42 42 compatible = "snps,dw-apb-gpio-port"; 43 43 gpio-controller; 44 - #gpio-cells = <1>; 44 + #gpio-cells = <2>; 45 45 snps,nr-gpios = <8>; 46 46 reg = <0>; 47 47 interrupt-controller; ··· 53 53 portb: gpio-controller@1 { 54 54 compatible = "snps,dw-apb-gpio-port"; 55 55 gpio-controller; 56 - #gpio-cells = <1>; 56 + #gpio-cells = <2>; 57 57 snps,nr-gpios = <8>; 58 58 reg = <1>; 59 59 };