From: "Cédric Le Goater" <clg@kaod.org>
To: linux-mtd@lists.infradead.org
Cc: "Mark Rutland" <mark.rutland@arm.com>,
"Boris Brezillon" <boris.brezillon@free-electrons.com>,
devicetree@vger.kernel.org, "Richard Weinberger" <richard@nod.at>,
"Marek Vasut" <marek.vasut@gmail.com>,
"Rob Herring" <robh+dt@kernel.org>,
"Joel Stanley" <joel@jms.id.au>,
"Cyrille Pitchen" <cyrille.pitchen@atmel.com>,
"Brian Norris" <computersforpeace@gmail.com>,
"David Woodhouse" <dwmw2@infradead.org>,
"Cédric Le Goater" <clg@kaod.org>
Subject: [PATCH v4 0/4] Static memory controllers for the Aspeed SoC
Date: Mon, 12 Dec 2016 16:40:48 +0100 [thread overview]
Message-ID: <1481557252-13656-1-git-send-email-clg@kaod.org> (raw)
Hello,
Here is a series 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 compatible but there are
some slight differences on the AST2400.
The driver only supports 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 v3:
- reworked IO routines to use io{read,write}32_rep
- changed config option to SPI_ASPEED_SMC
- fixed aspeed_smc_chip_setup_init() returned value
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 (4):
mtd: spi-nor: add memory controllers for the Aspeed AST2500 SoC
mtd: aspeed: add memory controllers for the Aspeed AST2400 SoC
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 | 752 +++++++++++++++++++++
5 files changed, 816 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/
next reply other threads:[~2016-12-12 15:40 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-12 15:40 Cédric Le Goater [this message]
2016-12-12 15:40 ` [PATCH v4 1/4] mtd: spi-nor: add memory controllers for the Aspeed AST2500 SoC Cédric Le Goater
[not found] ` <1481557252-13656-2-git-send-email-clg-Bxea+6Xhats@public.gmane.org>
2016-12-13 7:50 ` Marek Vasut
2016-12-13 12:22 ` Cédric Le Goater
2016-12-15 23:15 ` Cyrille Pitchen
[not found] ` <5566c62d-cc72-f207-e1dd-5a59e6947c24-yU5RGvR974pGWvitb5QawA@public.gmane.org>
2016-12-16 14:56 ` Cédric Le Goater
[not found] ` <a7cb781c-a4a8-f0f7-e7db-5cd9f19da0aa-Bxea+6Xhats@public.gmane.org>
2016-12-20 15:17 ` Cyrille Pitchen
2016-12-21 16:47 ` Cédric Le Goater
[not found] ` <645db8c4-7f3c-f8bf-ddd9-3f513ce2ed14-Bxea+6Xhats@public.gmane.org>
2017-01-04 14:52 ` Cyrille Pitchen
[not found] ` <4c5cf674-06f9-ad6b-05bf-a1d39aaa7ed5-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
2017-01-04 17:50 ` Boris Brezillon
2017-01-05 13:39 ` Cédric Le Goater
[not found] ` <4c0b4498-12c7-303d-c8f8-4f27a02d6c12-Bxea+6Xhats@public.gmane.org>
2017-01-06 8:49 ` Boris Brezillon
2017-01-06 10:04 ` Cédric Le Goater
2017-01-06 10:23 ` Boris Brezillon
2016-12-12 15:40 ` [PATCH v4 2/4] mtd: aspeed: add memory controllers for the Aspeed AST2400 SoC Cédric Le Goater
[not found] ` <1481557252-13656-1-git-send-email-clg-Bxea+6Xhats@public.gmane.org>
2016-12-12 15:40 ` [PATCH v4 3/4] mtd: spi-nor: bindings for the Aspeed memory controllers Cédric Le Goater
[not found] ` <1481557252-13656-4-git-send-email-clg-Bxea+6Xhats@public.gmane.org>
2016-12-12 23:43 ` Joel Stanley
2016-12-13 19:45 ` Rob Herring
2016-12-12 15:40 ` [PATCH v4 4/4] mtd: spi-nor: add a label property to jedec,spi-nor Cédric Le Goater
[not found] ` <1481557252-13656-5-git-send-email-clg-Bxea+6Xhats@public.gmane.org>
2016-12-13 19:46 ` Rob Herring
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1481557252-13656-1-git-send-email-clg@kaod.org \
--to=clg@kaod.org \
--cc=boris.brezillon@free-electrons.com \
--cc=computersforpeace@gmail.com \
--cc=cyrille.pitchen@atmel.com \
--cc=devicetree@vger.kernel.org \
--cc=dwmw2@infradead.org \
--cc=joel@jms.id.au \
--cc=linux-mtd@lists.infradead.org \
--cc=marek.vasut@gmail.com \
--cc=mark.rutland@arm.com \
--cc=richard@nod.at \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).