The example uses gpio-cells = 1 while it should be two (it is even
mentioned in the text above).

Cc: devicet...@vger.kernel.org
Signed-off-by: Sebastian Andrzej Siewior <bige...@linutronix.de>
---
 Documentation/devicetree/bindings/gpio/snps-dwapb-gpio.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/gpio/snps-dwapb-gpio.txt 
b/Documentation/devicetree/bindings/gpio/snps-dwapb-gpio.txt
index 91cc90c..dd5d2c0 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>;
        };
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to