linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/4] mtd: atmel_nand: Add support for NAND Flash on SAMA5D2
@ 2016-01-12 14:33 Romain Izard
  2016-01-12 14:33 ` [RFC PATCH 1/4] mtd: atmel_nand: Do not warn on bitflips Romain Izard
                   ` (4 more replies)
  0 siblings, 5 replies; 20+ messages in thread
From: Romain Izard @ 2016-01-12 14:33 UTC (permalink / raw)
  To: linux-mtd, devicetree; +Cc: Josh Wu, Nicolas Ferre, Romain Izard

The NAND Flash controller for SAMA5D2 has small differences that make it
impossible to use the existing driver for SAMA5D3. This patchset uses the
device tree's compatible string to get those differences, and the code is
slightly modified to handle them.

Applies on the Atmel Linux 4.1 branch for now, but only the dtsi file
differs from the mainline.

Compile tested for all SAMA5 chips for now, and tested on SAMA5D3xek as
there is no existing SAMA5D2 board with NAND Flash memory (yet).

Romain Izard (4):
  mtd: atmel_nand: Do not warn on bitflips
  mtd: atmel_nand: Support variable RB_EDGE interrupts
  mtd: atmel_nand: Support 32-bit ECC strength
  ARM: at91/dt: sama5d2: add nand0 and nfc0 nodes

 .../devicetree/bindings/mtd/atmel-nand.txt         | 12 ++-
 arch/arm/boot/dts/sama5d2.dtsi                     | 38 ++++++++++
 drivers/mtd/nand/atmel_nand.c                      | 86 ++++++++++++++++++----
 drivers/mtd/nand/atmel_nand_ecc.h                  |  9 ++-
 drivers/mtd/nand/atmel_nand_nfc.h                  |  5 +-
 5 files changed, 128 insertions(+), 22 deletions(-)

-- 
2.5.0

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

end of thread, other threads:[~2016-01-17  3:59 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-12 14:33 [RFC PATCH 0/4] mtd: atmel_nand: Add support for NAND Flash on SAMA5D2 Romain Izard
2016-01-12 14:33 ` [RFC PATCH 1/4] mtd: atmel_nand: Do not warn on bitflips Romain Izard
2016-01-13  5:12   ` Yang, Wenyou
2016-01-13  5:14   ` Yang, Wenyou
2016-01-12 14:33 ` [RFC PATCH 2/4] mtd: atmel_nand: Support variable RB_EDGE interrupts Romain Izard
2016-01-13  6:14   ` Yang, Wenyou
2016-01-17  3:58   ` Rob Herring
2016-01-12 14:33 ` [RFC PATCH 3/4] mtd: atmel_nand: Support 32-bit ECC strength Romain Izard
2016-01-13  6:12   ` Yang, Wenyou
2016-01-12 14:33 ` [RFC PATCH 4/4] ARM: at91/dt: sama5d2: add nand0 and nfc0 nodes Romain Izard
2016-01-13  6:06   ` Yang, Wenyou
2016-01-13  9:41     ` romain izard
2016-01-13 11:33       ` Yang, Wenyou
2016-01-13 12:39       ` Yang, Wenyou
2016-01-13 14:51         ` Nicolas Ferre
2016-01-12 15:45 ` [RFC PATCH 0/4] mtd: atmel_nand: Add support for NAND Flash on SAMA5D2 Nicolas Ferre
2016-01-12 16:55   ` Romain Izard
2016-01-13 11:46     ` Nicolas Ferre
2016-01-13 12:56       ` Romain Izard
2016-01-13 14:40         ` Nicolas Ferre

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).