All of lore.kernel.org
 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
  0 siblings, 0 replies; 40+ messages in thread
From: Romain Izard @ 2016-01-12 14:33 UTC (permalink / raw)
  To: linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	devicetree-u79uwXL29TY76Z2rM5mHXA
  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

--
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] 40+ messages in thread

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

Thread overview: 40+ 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 ` Romain Izard
     [not found] ` <1452609223-14790-1-git-send-email-romain.izard.pro-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-01-12 14:33   ` [RFC PATCH 1/4] mtd: atmel_nand: Do not warn on bitflips Romain Izard
2016-01-12 14:33     ` Romain Izard
2016-01-13  5:12     ` Yang, Wenyou
2016-01-13  5:12       ` Yang, Wenyou
2016-01-13  5:14     ` 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-12 14:33     ` Romain Izard
     [not found]     ` <1452609223-14790-3-git-send-email-romain.izard.pro-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-01-13  6:14       ` Yang, Wenyou
2016-01-13  6:14         ` Yang, Wenyou
2016-01-17  3:58       ` Rob Herring
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-12 14:33     ` Romain Izard
     [not found]     ` <1452609223-14790-4-git-send-email-romain.izard.pro-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-01-13  6:12       ` Yang, Wenyou
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-12 14:33     ` Romain Izard
     [not found]     ` <1452609223-14790-5-git-send-email-romain.izard.pro-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-01-13  6:06       ` Yang, Wenyou
2016-01-13  6:06         ` Yang, Wenyou
2016-01-13  9:41         ` romain izard
2016-01-13  9:41           ` romain izard
     [not found]           ` <CAGkQfmN3Ko0Pbyued0AGMPskqVUWStxO44Nj=k8O-+iWYObXMg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-01-13 11:33             ` Yang, Wenyou
2016-01-13 11:33               ` Yang, Wenyou
2016-01-13 12:39           ` Yang, Wenyou
2016-01-13 12:39             ` Yang, Wenyou
2016-01-13 14:51             ` Nicolas Ferre
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 15:45     ` Nicolas Ferre
     [not found]     ` <56951F91.1090101-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
2016-01-12 16:55       ` Romain Izard
2016-01-12 16:55         ` Romain Izard
     [not found]         ` <CAGkQfmOmgiKwziQ+HuJTN1Qk1aHEXBWYcE1LT+XT2d-Xv7kxNw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-01-13 11:46           ` Nicolas Ferre
2016-01-13 11:46             ` Nicolas Ferre
     [not found]             ` <56963918.7040809-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
2016-01-13 12:56               ` Romain Izard
2016-01-13 12:56                 ` Romain Izard
     [not found]                 ` <CAGkQfmNDZmKDJYMuVizbb-+3nXX2DAqDCOf8qE0DNR-3Y2Etcg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-01-13 14:40                   ` Nicolas Ferre
2016-01-13 14:40                     ` Nicolas Ferre

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.