]> git.baikalelectronics.ru Git - kernel.git/commitdiff
mtd: nand: gpio: update binding
authorChristophe Leroy <christophe.leroy@c-s.fr>
Wed, 3 May 2017 12:18:24 +0000 (14:18 +0200)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 11 May 2017 01:18:55 +0000 (18:18 -0700)
This patch updates the binding documentation in accordance with
commit d187f7b38d090 ("mtd: nand: gpio: make nCE GPIO optional")

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Reported-by: Brian Norris <computersforpeace@gmail.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Documentation/devicetree/bindings/mtd/gpio-control-nand.txt

index af8915b41ccf4962f9aa3a232b5bd268910ae3b7..486a17d533d7a33cce0ac8814a51979ebc7bc0ca 100644 (file)
@@ -12,7 +12,7 @@ Required properties:
 - #address-cells, #size-cells : Must be present if the device has sub-nodes
   representing partitions.
 - gpios : Specifies the GPIO pins to control the NAND device.  The order of
-  GPIO references is:  RDY, nCE, ALE, CLE, and an optional nWP.
+  GPIO references is:  RDY, nCE, ALE, CLE, and nWP. nCE and nWP are optional.
 
 Optional properties:
 - bank-width : Width (in bytes) of the device.  If not present, the width
@@ -36,7 +36,7 @@ gpio-nand@1,0 {
        #address-cells = <1>;
        #size-cells = <1>;
        gpios = <&banka 1 0>,   /* RDY */
-               <&banka 2 0>,   /* nCE */
+               <0>,            /* nCE */
                <&banka 3 0>,   /* ALE */
                <&banka 4 0>,   /* CLE */
                <0>;            /* nWP */