mtd: nand: gpio: update binding
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Wed May 10 19:59:16 PDT 2017
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=7db789d08cb23aeedb4d6392c2994ce387067021
Commit: 7db789d08cb23aeedb4d6392c2994ce387067021
Parent: 6a623e07694437ad09f382a13f76cffc32239a7f
Author: Christophe Leroy <christophe.leroy at c-s.fr>
AuthorDate: Wed May 3 14:18:24 2017 +0200
Committer: Brian Norris <computersforpeace at gmail.com>
CommitDate: Wed May 10 18:18:55 2017 -0700
mtd: nand: gpio: update binding
This patch updates the binding documentation in accordance with
commit 44dd182861f99 ("mtd: nand: gpio: make nCE GPIO optional")
Signed-off-by: Christophe Leroy <christophe.leroy at c-s.fr>
Reported-by: Brian Norris <computersforpeace at gmail.com>
Acked-by: Rob Herring <robh at kernel.org>
Signed-off-by: Brian Norris <computersforpeace at gmail.com>
---
Documentation/devicetree/bindings/mtd/gpio-control-nand.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/mtd/gpio-control-nand.txt b/Documentation/devicetree/bindings/mtd/gpio-control-nand.txt
index af8915b..486a17d 100644
--- a/Documentation/devicetree/bindings/mtd/gpio-control-nand.txt
+++ b/Documentation/devicetree/bindings/mtd/gpio-control-nand.txt
@@ -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 at 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 */
More information about the linux-mtd-cvs
mailing list