mtd: brcmnand: Add support for v6.2 controllers
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 10 Mar 2016 23:34:16 +0000 (15:34 -0800)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Tue, 19 Apr 2016 20:04:51 +0000 (22:04 +0200)
commit269ecf03a5b32b0d1de1f60a4b86b75c0521053f
tree16470557542b82e8e08cc89e18d9dd4bb10ec0ab
parent2d472aba15ff169a30dc3661f837d8535af9b9ee
mtd: brcmnand: Add support for v6.2 controllers

Document and match the brcm,brcmnand-v6.2 compatible string, the controller has
a register layout identical to the v6.0 version and supports prefetch. Update the
command shift logic to account for v6.2 controller which are the first ones to
use a shift of 0 (6.1 used a shift of 24).

Signed-off-by: Kamal Dasu <kdasu.kdev@gmail.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Documentation/devicetree/bindings/mtd/brcm,brcmnand.txt
drivers/mtd/nand/brcmnand/brcmnand.c