mtd: nand: jz4780: driver for NAND devices on JZ4780 SoCs
authorAlex Smith <alex.smith@imgtec.com>
Mon, 4 Jan 2016 12:34:43 +0000 (12:34 +0000)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 7 Jan 2016 17:35:11 +0000 (09:35 -0800)
commitae02ab00aa3c282a362af8c4496496970747ddf4
tree198417846f3950ded59697355ee4dd94f0e365ba
parent48bf35de3133996fbac2be16430cd4ea00fa8d38
mtd: nand: jz4780: driver for NAND devices on JZ4780 SoCs

Add a driver for NAND devices connected to the NEMC on JZ4780 SoCs, as
well as the hardware BCH controller. DMA is not currently implemented.

While older 47xx SoCs also have a BCH controller, they are incompatible
with the one in the 4780 due to differing register/bit positions, which
would make implementing a common driver for them quite messy.

Signed-off-by: Alex Smith <alex.smith@imgtec.com>
Cc: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: linux-mtd@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Harvey Hunt <harvey.hunt@imgtec.com>
Reviewed-by: Boris Brezillon <boris.brezillon@free-electrons.com>
[Brian: fixed a few small mistakes]
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/Kconfig
drivers/mtd/nand/Makefile
drivers/mtd/nand/jz4780_bch.c [new file with mode: 0644]
drivers/mtd/nand/jz4780_bch.h [new file with mode: 0644]
drivers/mtd/nand/jz4780_nand.c [new file with mode: 0644]