devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/5] Static memory controllers for the Aspeed SoC
@ 2016-12-09 16:49 Cédric Le Goater
  2016-12-09 16:49 ` [PATCH v3 1/5] mtd: spi-nor: add memory controllers for the Aspeed AST2500 SoC Cédric Le Goater
                   ` (3 more replies)
  0 siblings, 4 replies; 23+ messages in thread
From: Cédric Le Goater @ 2016-12-09 16:49 UTC (permalink / raw)
  To: linux-mtd
  Cc: Mark Rutland, Boris Brezillon, devicetree, Richard Weinberger,
	Marek Vasut, Rob Herring, Joel Stanley, Cyrille Pitchen,
	Brian Norris, David Woodhouse, Cédric Le Goater

Hello,

Here is a serie introducing a new driver for the different memory
controllers of the Aspeed AST2500 and AST2400 SoCs. Each SoC has at
least a memory controller for the BMC firmware and another one for the
host firmware. The register set are mostly comptatible but there are
some slight differences on the AST2400.

The driver only support SPI type flash.

Tested on:

 * OpenPOWER Palmetto (AST2400) with
 	FMC controller : n25q256a
	SPI controller : mx25l25635e and n25q512ax3

 * Evaluation board (AST2500) with
 	FMC controller : w25q256 
	SPI controller : w25q256

 * OpenPOWER Witherspoon (AST2500) with
 	FMC controller : mx25l25635e * 2
	SPI controller : mx66l1g45g

Changes since v2:
 - splitted patch to distinguish AST2400 and AST2500 controllers
 - fixed controller names
 - introduced prepare/unprepare ops
 - introduced a aspeed_smc_setup_flash() routine
 - various cleanups

Changes since v1:
 - added a set4b ops to handle difference in the controllers
 - simplified the IO routines
 - prepared for fast read using dummy cycles

Work in progress:
 - read optimization using higher SPI clock frequencies
 - command mode to direct reads from AHB
 - DMA support

Thanks,

C.

Cédric Le Goater (5):
  mtd: spi-nor: add memory controllers for the Aspeed AST2500 SoC
  mtd: aspeed: add memory controllers for the Aspeed AST2400 SoC
  mtd: aspeed: used a label property
  mtd: spi-nor: bindings for the Aspeed memory controllers
  mtd: spi-nor: add a label property to jedec,spi-nor

 .../devicetree/bindings/mtd/aspeed-smc.txt         |  51 ++
 .../devicetree/bindings/mtd/jedec,spi-nor.txt      |   2 +
 drivers/mtd/spi-nor/Kconfig                        |  10 +
 drivers/mtd/spi-nor/Makefile                       |   1 +
 drivers/mtd/spi-nor/aspeed-smc.c                   | 770 +++++++++++++++++++++
 5 files changed, 834 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mtd/aspeed-smc.txt
 create mode 100644 drivers/mtd/spi-nor/aspeed-smc.c

-- 
2.7.4


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

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

end of thread, other threads:[~2016-12-12  9:57 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-09 16:49 [PATCH v3 0/5] Static memory controllers for the Aspeed SoC Cédric Le Goater
2016-12-09 16:49 ` [PATCH v3 1/5] mtd: spi-nor: add memory controllers for the Aspeed AST2500 SoC Cédric Le Goater
     [not found]   ` <1481302167-28044-2-git-send-email-clg-Bxea+6Xhats@public.gmane.org>
2016-12-10  4:01     ` Marek Vasut
     [not found]       ` <68aa03be-8195-1824-a9e1-609a5ad74381-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-12-10 17:34         ` Cédric Le Goater
     [not found]           ` <f0ad683a-0989-e1ae-b33b-9746260ffa0e-Bxea+6Xhats@public.gmane.org>
2016-12-10 19:08             ` Marek Vasut
2016-12-12  0:05     ` Joel Stanley
2016-12-12  5:02     ` Joel Stanley
     [not found]       ` <CACPK8XeTw4uNCjzp7qmbwkojrSAJw_U=7vXD-wTjDL2gb220qQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-12-12  9:57         ` Cédric Le Goater
     [not found] ` <1481302167-28044-1-git-send-email-clg-Bxea+6Xhats@public.gmane.org>
2016-12-09 16:49   ` [PATCH v3 2/5] mtd: aspeed: add memory controllers for the Aspeed AST2400 SoC Cédric Le Goater
     [not found]     ` <1481302167-28044-3-git-send-email-clg-Bxea+6Xhats@public.gmane.org>
2016-12-10  4:03       ` Marek Vasut
     [not found]         ` <076683ea-fa94-2284-f269-2fcebd793940-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-12-10 17:18           ` Cédric Le Goater
     [not found]             ` <30a50d6d-07c5-0ca6-2d1b-3ba46c10da49-Bxea+6Xhats@public.gmane.org>
2016-12-10 17:30               ` Marek Vasut
2016-12-12  0:10       ` Joel Stanley
2016-12-09 16:49   ` [PATCH v3 3/5] mtd: aspeed: used a label property Cédric Le Goater
     [not found]     ` <1481302167-28044-4-git-send-email-clg-Bxea+6Xhats@public.gmane.org>
2016-12-10  4:03       ` Marek Vasut
2016-12-10 17:16         ` Cédric Le Goater
2016-12-11 23:46       ` Joel Stanley
     [not found]         ` <CACPK8Xcj4P34-4krGbnimVG89wMcHoRX4XJ66-_7KtAt6-vTkA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-12-12  2:27           ` Marek Vasut
     [not found]             ` <d8a6f699-3ee2-07b1-f0f5-478b0d8dd259-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-12-12  9:18               ` Cédric Le Goater
2016-12-09 16:49 ` [PATCH v3 4/5] mtd: spi-nor: bindings for the Aspeed memory controllers Cédric Le Goater
     [not found]   ` <1481302167-28044-5-git-send-email-clg-Bxea+6Xhats@public.gmane.org>
2016-12-12  0:13     ` Joel Stanley
2016-12-09 16:49 ` [PATCH v3 5/5] mtd: spi-nor: add a label property to jedec,spi-nor Cédric Le Goater
     [not found]   ` <1481302167-28044-6-git-send-email-clg-Bxea+6Xhats@public.gmane.org>
2016-12-11 23:47     ` Joel Stanley

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