linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/11] add support for sam9x60 nand controller
@ 2019-02-13  8:59 Tudor.Ambarus
  2019-02-13  8:59 ` [PATCH 01/11] ARM: at91: add sam9x60 SFR definitions Tudor.Ambarus
                   ` (11 more replies)
  0 siblings, 12 replies; 22+ messages in thread
From: Tudor.Ambarus @ 2019-02-13  8:59 UTC (permalink / raw)
  To: robh+dt, mark.rutland, Nicolas.Ferre, alexandre.belloni,
	Ludovic.Desroches, dwmw2, computersforpeace, bbrezillon,
	marek.vasut, richard, miquel.raynal, lee.jones
  Cc: devicetree, linux-mtd, linux-kernel, linux-arm-kernel, Tudor.Ambarus

From: Tudor Ambarus <tudor.ambarus@microchip.com>

The sam9x60 board defines the CCFG_EBICSA register under SFR,
and not as a MATRIX register, as previous boards do.
NAND Flash I/Os are connected to D16–D23, thus
SFR_CCFG_EBICSA.NFD0_ON_D16 is set to 1.

Tested using mtd-utils.

- patches [1, 7] add support for the sam9x60 nand controller. I would
  suggest to get them through linux-mtd tree, if all agree.
- patch 8 can be taken by Alexandre
- patch 9 - SPDX change, can be taken by Lee
- patch 10 - SPDX change, can be taken by Alexandre
- patch 11 - SPDX change, should go through linux-mtd

dt compatible string for "microchip,sam9x60-sfr" has already been
submited at https://patchwork.kernel.org/patch/10799831/

Tudor Ambarus (11):
  ARM: at91: add sam9x60 SFR definitions
  memory: atmel-ebi: add generic name for ebi regmap
  dt-bindings: memory: atmel-ebi: add sam9x60 compatible
  memory: atmel-ebi: add sam9x60 EBI support
  mtd: rawnand: atmel: add generic name for EBICSA regmap
  dt-bindings: mtd: atmel-nand: add sam9x60 compatible
  mtd: rawnand: atmel: add sam9x60 nand controller support
  memory: atmel-ebi: move NUM_CS definition inside atmel-ebi
  mfd: syscon: atmel: switch to SPDX license identifiers
  memory: atmel-ebi: switch to SPDX license identifiers
  mtd: rawnand: atmel: switch to SPDX license identifiers

 .../bindings/memory-controllers/atmel,ebi.txt      |   1 +
 .../devicetree/bindings/mtd/atmel-nand.txt         |   1 +
 drivers/memory/atmel-ebi.c                         |  48 ++++++---
 drivers/mtd/nand/raw/atmel/nand-controller.c       | 117 ++++++++++++++++-----
 drivers/mtd/nand/raw/atmel/pmecc.c                 |   5 +-
 drivers/mtd/nand/raw/atmel/pmecc.h                 |   6 +-
 include/linux/mfd/syscon/atmel-matrix.h            |   7 +-
 include/linux/mfd/syscon/atmel-mc.h                |   6 +-
 include/linux/mfd/syscon/atmel-smc.h               |   5 +-
 include/linux/mfd/syscon/atmel-st.h                |   6 +-
 include/soc/at91/atmel-sfr.h                       |  34 ++++--
 11 files changed, 161 insertions(+), 75 deletions(-)

-- 
2.9.5

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

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

end of thread, other threads:[~2019-04-03 10:09 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-13  8:59 [PATCH 00/11] add support for sam9x60 nand controller Tudor.Ambarus
2019-02-13  8:59 ` [PATCH 01/11] ARM: at91: add sam9x60 SFR definitions Tudor.Ambarus
2019-02-13 10:52   ` Alexandre Belloni
2019-02-13  8:59 ` [PATCH 02/11] memory: atmel-ebi: add generic name for ebi regmap Tudor.Ambarus
2019-02-13 10:53   ` Alexandre Belloni
2019-02-13  8:59 ` [PATCH 03/11] dt-bindings: memory: atmel-ebi: add sam9x60 compatible Tudor.Ambarus
2019-02-13 10:53   ` Alexandre Belloni
2019-02-28 18:24   ` Rob Herring
2019-02-13  8:59 ` [PATCH 04/11] memory: atmel-ebi: add sam9x60 EBI support Tudor.Ambarus
2019-02-13 10:54   ` Alexandre Belloni
2019-02-13  8:59 ` [PATCH 05/11] mtd: rawnand: atmel: add generic name for EBICSA regmap Tudor.Ambarus
2019-02-13  9:00 ` [PATCH 06/11] dt-bindings: mtd: atmel-nand: add sam9x60 compatible Tudor.Ambarus
2019-02-28 18:24   ` Rob Herring
2019-02-13  9:00 ` [PATCH 07/11] mtd: rawnand: atmel: add sam9x60 nand controller support Tudor.Ambarus
2019-02-13 10:39   ` Alexandre Belloni
2019-02-13 10:54     ` Tudor.Ambarus
2019-02-13  9:00 ` [PATCH 08/11] memory: atmel-ebi: move NUM_CS definition inside atmel-ebi Tudor.Ambarus
2019-02-13  9:00 ` [PATCH 09/11] mfd: syscon: atmel: switch to SPDX license identifiers Tudor.Ambarus
2019-04-03 10:08   ` Lee Jones
2019-02-13  9:00 ` [PATCH 10/11] memory: atmel-ebi: " Tudor.Ambarus
2019-02-13  9:00 ` [PATCH 11/11] mtd: rawnand: atmel: " Tudor.Ambarus
2019-04-01 15:24 ` [PATCH 00/11] add support for sam9x60 nand controller Miquel Raynal

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