devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/5] mtd: atmel_nand: Add support for NAND Flash on SAMA5D2
@ 2016-02-01 10:25 Romain Izard
       [not found] ` <1454322360-8666-1-git-send-email-romain.izard.pro-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 12+ messages in thread
From: Romain Izard @ 2016-02-01 10:25 UTC (permalink / raw)
  To: linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	devicetree-u79uwXL29TY76Z2rM5mHXA
  Cc: Josh Wu, Nicolas Ferre, Yang Wenyou, 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.

Base on linux-mtd-next, commit 15c0be7bec002f9a529dd0966d0db96dde176fd0

See previous revisions to apply on the Atmel Linux 4.1 branch.

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

V3 -> V2:
- Rebase on linux-mtd-next
- Skip patches already in the tree

V2 -> V1:
- Rebase on v4.4
- Use of_device_get_match_data
- Split message cleanup
- Reword a small part of the atmel_nand device tree binding
- Use 'caps' for all private data structures

RFC -> V1:
- Split the support of 32-bit ECC on SAMA5D2 in two commits
- Fix the missing ECC strength configuration code

Romain Izard (5):
  mtd: atmel_nand: Support variable RB_EDGE interrupts
  dt-bindings: atmel_nand: Reword the documenation
  mtd: atmel_nand: Support PMECC on SAMA5D2
  mtd: atmel_nand: Support 32-bit ECC strength
  ARM: at91/dt: sama5d2: add nand0 and nfc0 nodes

 .../devicetree/bindings/mtd/atmel-nand.txt         | 31 +++++----
 arch/arm/boot/dts/sama5d2.dtsi                     | 38 +++++++++++
 drivers/mtd/nand/atmel_nand.c                      | 77 ++++++++++++++++++----
 drivers/mtd/nand/atmel_nand_ecc.h                  |  9 ++-
 drivers/mtd/nand/atmel_nand_nfc.h                  |  3 +-
 5 files changed, 131 insertions(+), 27 deletions(-)

-- 
2.5.0

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2016-03-01 12:27 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-01 10:25 [PATCH v3 0/5] mtd: atmel_nand: Add support for NAND Flash on SAMA5D2 Romain Izard
     [not found] ` <1454322360-8666-1-git-send-email-romain.izard.pro-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-02-01 10:25   ` [PATCH v3 1/5] mtd: atmel_nand: Support variable RB_EDGE interrupts Romain Izard
2016-02-01 10:25   ` [PATCH v3 2/5] dt-bindings: atmel_nand: Reword the documenation Romain Izard
2016-02-01 10:25   ` [PATCH v3 3/5] mtd: atmel_nand: Support PMECC on SAMA5D2 Romain Izard
2016-02-01 10:25   ` [PATCH v3 4/5] mtd: atmel_nand: Support 32-bit ECC strength Romain Izard
2016-02-01 10:26   ` [PATCH v3 5/5] ARM: at91/dt: sama5d2: add nand0 and nfc0 nodes Romain Izard
2016-02-03  6:54   ` [PATCH v3 0/5] mtd: atmel_nand: Add support for NAND Flash on SAMA5D2 Yang, Wenyou
2016-02-04 13:33   ` Boris Brezillon
2016-02-04 14:43     ` Romain Izard
2016-03-01 10:27   ` Nicolas Ferre
     [not found]     ` <56D56E95.4030204-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
2016-03-01 11:29       ` Romain Izard
     [not found]         ` <CAGkQfmP5p3ezZwEub2RDW-y--aeJHDBN_oT9K4Wga=YYfBCLqA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-03-01 12:27           ` 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).