devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] mtd: nand: Add support for Evatronix NANDFLASH-CTRL
@ 2016-06-02  7:46 Ricard Wanderlof
  2016-06-02 16:00 ` Boris Brezillon
  0 siblings, 1 reply; 5+ messages in thread
From: Ricard Wanderlof @ 2016-06-02  7:46 UTC (permalink / raw)
  To: Brian Norris, David Woodhouse, Benoit Cousson, Tony Lindgren
  Cc: Linux mtd, devicetree, linux-kernel


This patch set adds a driver and relevant devicetree bindings for the
Evatronix NANDFLASH-CTRL NAND flash controller IP. This controller is
used in the Axis ARTPEC-6 SoC.

The driver supports BCH ECC using the controller's hardware, but there is
also an option to use software BCH ECC. However, the ECC layouts are not
compatible so it's not possible to mix them. The main advantage to using
software ECC is that there are more OOB bytes free, as the hardware is
slightly wasteful on OOB space.

BCH ECC from 4 to 32 bits over 256, 512 or 1024 byte ECC blocks is supported.

Only large-page flash chips are supported, using 4 or 5 address cycles.

The driver has been extensively tested using hardware ECC on 2 Mbit flash chips,
with 8 bit ECC over 512 bytes ECC blocks.

Ricard Wanderlof (4):
  of: Add device tree bindings for Evatronix NANDFLASH-CTRL
  dts: Add Evatronix NAND flash driver to ARTPEC-6 dtsi
  mtd: nand: Add support for Evatronix NANDFLASH-CTRL
  MAINTAINERS: mtd: Add maintainer for Evatronix NAND flash driver

 .../devicetree/bindings/mtd/evatronix-nand.txt     |   44 +
 .../devicetree/bindings/vendor-prefixes.txt        |    1 +
 MAINTAINERS                                        |    6 +
 arch/arm/boot/dts/artpec6.dtsi                     |   19 +
 drivers/mtd/nand/Kconfig                           |    6 +
 drivers/mtd/nand/Makefile                          |    1 +
 drivers/mtd/nand/evatronix_nand.c                  | 1909 ++++++++++++++++++++
 7 files changed, 1986 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mtd/evatronix-nand.txt
 create mode 100644 drivers/mtd/nand/evatronix_nand.c

-- 
1.7.10.4


-- 
Ricard Wolf Wanderlöf                           ricardw(at)axis.com
Axis Communications AB, Lund, Sweden            www.axis.com
Phone +46 46 272 2016                           Fax +46 46 13 61 30

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-06-07  9:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-02  7:46 [PATCH 0/4] mtd: nand: Add support for Evatronix NANDFLASH-CTRL Ricard Wanderlof
2016-06-02 16:00 ` Boris Brezillon
2016-06-06  5:47   ` Ricard Wanderlof
2016-06-06 11:02     ` Kamlakant Patel
2016-06-07  9:02       ` Ricard Wanderlof

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).