mtd: nand: pxa3xx: Introduce 'marvell,armada370-nand' compatible string
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Sat, 10 Aug 2013 19:34:52 +0000 (16:34 -0300)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 30 Aug 2013 20:34:50 +0000 (21:34 +0100)
commitc0f3b8643a6fa2461d70760ec49d21d2b031d611
tree17dd9c855447efac07b73b483f9f9b93b27cf60f
parent2febcdf84b75aae627c61f0a5bf531a69299966c
mtd: nand: pxa3xx: Introduce 'marvell,armada370-nand' compatible string

This driver supports NFCv1 (as found in PXA SoC) and NFCv2 (as found in
Armada 370/XP SoC). As both controller has a few differences, a way of
distinguishing between the two is needed.

This commit introduces a new compatible string 'marvell,armada370-nand'
and assigns a compatible data of type enum pxa3xx_nand_variant to allow
such distinction.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Tested-by: Daniel Mack <zonque@gmail.com>
Cc: devicetree@vger.kernel.org
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/pxa3xx_nand.c