]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7d4ef13856f4030a26b2d9f9df9da353c594416b
tree1e790cd7fcaba7d6e438491d054927d01b214212
parent0e24bfbb7d9658005fc3a9e9224e9cc3a5f92c1b
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