Skip to content

mtd: atmel_nand: Add support for NAND Flash on SAMA5D2

Romain Izard linux-arm-kernel linux-devicetree linux-mtd 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest5 patches 2 repliesIn review
  2. v35 patches 6 repliesSuperseded
  3. v28 patches 3 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v15 patches16 repliesSuperseded

Changes in v4 from the cover letter

- Collect Tested-by and Reviewed-By tags

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5mtd: atmel_nand: Support variable RB_EDGE interruptsDocumentation/devicetree/bindings/mtd/atmel-nand.txt drivers/mtd/nand/atmel_nand.c drivers/mtd/nand/atmel_nand_nfc.h+30 -101 reply
2/5dt-bindings: atmel_nand: Reword the documentationDocumentation/devicetree/bindings/mtd/atmel-nand.txt+12 -110 replies
3/5mtd: atmel_nand: Support PMECC on SAMA5D2Documentation/devicetree/bindings/mtd/atmel-nand.txt drivers/mtd/nand/atmel_nand.c drivers/mtd/nand/atmel_nand_ecc.h+32 -40 replies
4/5mtd: atmel_nand: Support 32-bit ECC strengthDocumentation/devicetree/bindings/mtd/atmel-nand.txt drivers/mtd/nand/atmel_nand.c drivers/mtd/nand/atmel_nand_ecc.h+20 -31 reply
5/5ARM: at91/dt: sama5d2: add nand0 and nfc0 nodesarch/arm/boot/dts/sama5d2.dtsi+38 -01 reply

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchRob HerringWenyou YangBoris BrezillonNicolas Ferre
1/5A-b R-b T-b R-b
2/5A-b R-b
3/5A-b T-b R-b
4/5A-b T-b R-b
5/5T-b R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v4 thread

Cover letter [PATCH v4 0/5] mtd: atmel_nand: Add support for NAND Flash on SAMA5D2

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.

Based on linux-mtd-next, commit ed4eeba7338bb123090f1c8b208f64d8184a896d

See revision 2 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).

V4:
- Collect Tested-by and Reviewed-By tags

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

V2:
- 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

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

RFC:
- First version

Romain Izard (5):
mtd: atmel_nand: Support variable RB_EDGE interrupts
dt-bindings: atmel_nand: Reword the documentation
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(-)
Signature · 6 lines
2.5.0

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html