From: "Cédric Le Goater" <clg@kaod.org>
To: linux-mtd@lists.infradead.org
Cc: "Cyrille Pitchen" <cyrille.pitchen@wedev4u.fr>,
"Marek Vasut" <marek.vasut@gmail.com>,
"Boris Brezillon" <boris.brezillon@free-electrons.com>,
"David Woodhouse" <dwmw2@infradead.org>,
"Brian Norris" <computersforpeace@gmail.com>,
"Richard Weinberger" <richard@nod.at>,
"Cédric Le Goater" <clg@kaod.org>
Subject: [PATCH v2 0/2] mtd: spi-nor: aspeed: add dual read and command mode support
Date: Thu, 22 Jun 2017 09:18:01 +0200 [thread overview]
Message-ID: <1498115883-31499-1-git-send-email-clg@kaod.org> (raw)
Hello,
Here is a short series adding support for Dual read and for the
controller mode "Command". The later is to perform direct memory
access of the flash contents on the AHB Bus. A prereq to use this mode
is to configure the segment registers of the controller which define
the mapping window of the chips on the AHB bus.
Quad read is only available on the AST2400 SPI controller and not on
any of the AST2500 controllers, I am pondering on the need for the
support. It needs some testing anyhow first.
Thanks,
C.
Changes since v1:
- reintroduced the setting of the SPI NOR command in the control
register, which was forgotten in the previous rebase of the patch.
- reworked dual io support to fit the new spi-nor hwcaps
- added dual address and data IO
- took ownership due to the amount of rewritten code.
Cédric Le Goater (2):
mtd: spi-nor: aspeed: add support for SPI dual IO read mode
mtd: spi-nor: aspeed: use command mode for reads
drivers/mtd/spi-nor/aspeed-smc.c | 80 ++++++++++++++++++++++++++++++++++------
1 file changed, 68 insertions(+), 12 deletions(-)
--
2.7.5
next reply other threads:[~2017-06-22 7:18 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-22 7:18 Cédric Le Goater [this message]
2017-06-22 7:18 ` [PATCH v2 1/2] mtd: spi-nor: aspeed: add support for SPI dual IO read mode Cédric Le Goater
2017-06-22 17:17 ` Rob Lippert
2017-06-23 6:35 ` Cédric Le Goater
2017-06-23 7:02 ` Cédric Le Goater
2017-06-23 9:08 ` Cyrille Pitchen
2017-06-23 11:47 ` Cédric Le Goater
2017-06-23 12:04 ` Cyrille Pitchen
2017-06-22 7:18 ` [PATCH v2 2/2] mtd: spi-nor: aspeed: use command mode for reads Cédric Le Goater
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=1498115883-31499-1-git-send-email-clg@kaod.org \
--to=clg@kaod.org \
--cc=boris.brezillon@free-electrons.com \
--cc=computersforpeace@gmail.com \
--cc=cyrille.pitchen@wedev4u.fr \
--cc=dwmw2@infradead.org \
--cc=linux-mtd@lists.infradead.org \
--cc=marek.vasut@gmail.com \
--cc=richard@nod.at \
/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