Skip to content

Commit 7db789d

Browse files
chleroycomputersforpeace
authored andcommitted
mtd: nand: gpio: update binding
This patch updates the binding documentation in accordance with commit 44dd182 ("mtd: nand: gpio: make nCE GPIO optional") Signed-off-by: Christophe Leroy <[email protected]> Reported-by: Brian Norris <[email protected]> Acked-by: Rob Herring <[email protected]> Signed-off-by: Brian Norris <[email protected]>
1 parent 6a623e0 commit 7db789d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/devicetree/bindings/mtd/gpio-control-nand.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Required properties:
1212
- #address-cells, #size-cells : Must be present if the device has sub-nodes
1313
representing partitions.
1414
- gpios : Specifies the GPIO pins to control the NAND device. The order of
15-
GPIO references is: RDY, nCE, ALE, CLE, and an optional nWP.
15+
GPIO references is: RDY, nCE, ALE, CLE, and nWP. nCE and nWP are optional.
1616

1717
Optional properties:
1818
- bank-width : Width (in bytes) of the device. If not present, the width
@@ -36,7 +36,7 @@ gpio-nand@1,0 {
3636
#address-cells = <1>;
3737
#size-cells = <1>;
3838
gpios = <&banka 1 0>, /* RDY */
39-
<&banka 2 0>, /* nCE */
39+
<0>, /* nCE */
4040
<&banka 3 0>, /* ALE */
4141
<&banka 4 0>, /* CLE */
4242
<0>; /* nWP */

0 commit comments

Comments
 (0)