On Fri, Jan 15, 2016 at 11:35:00AM +0100, Romain Izard wrote: > Starting with the SAMA5D2, there is a new revision of the Atmel PMECC > controller that can correct 32 bits in each sector. This controller is > not 100% compatible with the previous revision that corrected a maximum > of 24 bits by sector, as some register addresses overlap. > > Using information from the device tree, we can configure the driver to > work with both versions. > > Signed-off-by: Romain Izard <romain.izard.pro@xxxxxxxxx> > --- > v2: Split rewording of the binding into its own patch > > .../devicetree/bindings/mtd/atmel-nand.txt | 5 ++++- Acked-by: Rob Herring <robh@xxxxxxxxxx> > drivers/mtd/nand/atmel_nand.c | 23 +++++++++++++++++++++- > drivers/mtd/nand/atmel_nand_ecc.h | 8 ++++++-- > 3 files changed, 32 insertions(+), 4 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html