mtd: nand: omap2: Implement NAND ready using gpiolib
authorRoger Quadros <rogerq@ti.com>
Thu, 6 Aug 2015 14:39:35 +0000 (17:39 +0300)
committerRoger Quadros <rogerq@ti.com>
Fri, 15 Apr 2016 08:55:37 +0000 (11:55 +0300)
commit10f22ee367c4aff7841da6a83c10445d7d6328d9
tree31223517cf21ef6b15b86a65804bbc8b4e2ddcae
parent9e6946215dbd9803e8b511928c9f61f3a49e2c58
mtd: nand: omap2: Implement NAND ready using gpiolib

The GPMC WAIT pin status are now available over gpiolib.
Update the omap_dev_ready() function to use gpio instead of
directly accessing GPMC register space.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Acked-by: Brian Norris <computersforpeace@gmail.com>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Documentation/devicetree/bindings/mtd/gpmc-nand.txt
drivers/mtd/nand/omap2.c
include/linux/platform_data/mtd-nand-omap2.h