diff options
author | Gerhard Sittig <gsi@denx.de> | 2014-08-05 10:37:26 +0200 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-11-05 08:53:07 +0100 |
commit | c9d79c4bbb0e47a75f35652567b2647b99d6295e (patch) | |
tree | ec1a00a407c9f62c80fb5d9942a9885857416dc9 /drivers/mtd/nand/gpio.c | |
parent | devicetree: bindings: improve description for GPIO assisted NAND flash (diff) | |
download | linux-c9d79c4bbb0e47a75f35652567b2647b99d6295e.tar.xz linux-c9d79c4bbb0e47a75f35652567b2647b99d6295e.zip |
mtd: nand: gpio: improve comments about GPIO assisted operation
The drivers/mtd/nand/gpio.c driver does not GPIO bitbang the complete
NAND protocol, but instead is GPIO _assisted_ -- a memory mapped interface
communicates commands and data, and only few control signals are connected
to GPIO pins.
Expand comments in the driver source and in the Kconfig description to
better reflect the very nature of the driver. The previous text could be
mistaken for complete GPIO bitbanging.
Signed-off-by: Gerhard Sittig <gsi@denx.de>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/nand/gpio.c')
-rw-r--r-- | drivers/mtd/nand/gpio.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/mtd/nand/gpio.c b/drivers/mtd/nand/gpio.c index 117ce333fdd4..226eda6f2eee 100644 --- a/drivers/mtd/nand/gpio.c +++ b/drivers/mtd/nand/gpio.c @@ -8,7 +8,9 @@ * * © 2004 Simtec Electronics * - * Device driver for NAND connected via GPIO + * Device driver for NAND flash that uses a memory mapped interface to + * read/write the NAND commands and data, and GPIO pins for control signals + * (the DT binding refers to this as "GPIO assisted NAND flash") * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as |