mtd: nand: add common DT init code
authorBrian Norris <computersforpeace@gmail.com>
Fri, 23 Jan 2015 08:22:27 +0000 (00:22 -0800)
committerBrian Norris <computersforpeace@gmail.com>
Mon, 11 May 2015 23:22:29 +0000 (16:22 -0700)
commit5844feeaa4154d1c46d3462c7a4653d22356d8b4
tree1e790cd7fcaba7d6e438491d054927d01b214212
parent7aaea7605c0e19fa7b38d7ac5dcd818942fd17a7
mtd: nand: add common DT init code

These are already-documented common bindings for NAND chips. Let's
handle them in nand_base.

If NAND controller drivers need to act on this data before bringing up
the NAND chip (e.g., fill out ECC callback functions, change HW modes,
etc.), then they can do so between calling nand_scan_ident() and
nand_scan_tail().

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/nand_base.c
include/linux/mtd/nand.h