mtd: brcmnand: Add support for the BCM6368
authorSimon Arlott <simon@fire.lp0.eu>
Wed, 9 Dec 2015 20:43:54 +0000 (20:43 +0000)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 10 Dec 2015 02:28:42 +0000 (18:28 -0800)
commitaf3855dd191799a797e80dc55ecd5a9a226c3e2c
tree739088e43b0ebf559d51e6aeceb9fe7233783d80
parent5c05bc00721bbe223ce93d8873ac42c8170d809c
mtd: brcmnand: Add support for the BCM6368

The BCM6368 has a NAND interrupt register with combined status and enable
registers.

As the BCM6328, BCM6362 and BCM6368 all use v2.1 controllers, the first
variant that will work with this driver is the BCM63268 using a v4.0
controller.

Set up the device by disabling and acking all interrupts, then handle
the CTRL_READY interrupt.

Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/brcmnand/Makefile
drivers/mtd/nand/brcmnand/bcm6368_nand.c [new file with mode: 0644]