diff mbox

mtd: nand: gpio: update binding

Message ID 20170503121824.DD82C67889@pc13941vm.idsi0.si.c-s.fr
State Accepted
Commit 7db789d08cb23aeedb4d6392c2994ce387067021
Delegated to: Boris Brezillon
Headers show

Commit Message

Christophe Leroy May 3, 2017, 12:18 p.m. UTC
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@c-s.fr>
Reported-by: Brian Norris <computersforpeace@gmail.com>
---
 Documentation/devicetree/bindings/mtd/gpio-control-nand.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Rob Herring (Arm) May 8, 2017, 4:26 p.m. UTC | #1
On Wed, May 03, 2017 at 02:18:24PM +0200, Christophe Leroy wrote:
> 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@c-s.fr>
> Reported-by: Brian Norris <computersforpeace@gmail.com>
> ---
>  Documentation/devicetree/bindings/mtd/gpio-control-nand.txt | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Acked-by: Rob Herring <robh@kernel.org>
Brian Norris May 11, 2017, 1:19 a.m. UTC | #2
On Mon, May 08, 2017 at 11:26:55AM -0500, Rob Herring wrote:
> On Wed, May 03, 2017 at 02:18:24PM +0200, Christophe Leroy wrote:
> > 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@c-s.fr>
> > Reported-by: Brian Norris <computersforpeace@gmail.com>
> > ---
> >  Documentation/devicetree/bindings/mtd/gpio-control-nand.txt | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> Acked-by: Rob Herring <robh@kernel.org>

Applied to l2-mtd.git
diff mbox

Patch

diff --git a/Documentation/devicetree/bindings/mtd/gpio-control-nand.txt b/Documentation/devicetree/bindings/mtd/gpio-control-nand.txt
index af8915b41ccf..486a17d533d7 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@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 */