public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] mtd: spi-nor: aspeed: add dual read and command mode support
@ 2017-06-22  7:18 Cédric Le Goater
  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  7:18 ` [PATCH v2 2/2] mtd: spi-nor: aspeed: use command mode for reads Cédric Le Goater
  0 siblings, 2 replies; 9+ messages in thread
From: Cédric Le Goater @ 2017-06-22  7:18 UTC (permalink / raw)
  To: linux-mtd
  Cc: Cyrille Pitchen, Marek Vasut, Boris Brezillon, David Woodhouse,
	Brian Norris, Richard Weinberger, Cédric Le Goater

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

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

end of thread, other threads:[~2017-06-23 12:04 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-22  7:18 [PATCH v2 0/2] mtd: spi-nor: aspeed: add dual read and command mode support Cédric Le Goater
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox