Thread (20 messages) 20 messages, 4 authors, 2015-09-18

[PATCH 1/5] spi: introduce mmap read support for spi flash devices

From: broonie@kernel.org (Mark Brown)
Date: 2015-09-16 15:24:43
Also in: linux-devicetree, linux-omap, linux-spi, lkml

On Wed, Sep 16, 2015 at 06:16:55PM +0530, Jagan Teki wrote:
On 15 September 2015 at 00:05, Mark Brown [off-list ref] wrote:
quoted
There seem to be a reasonable number of SPI controllers out there which
have as an extension the ability to do memory mapped reads but are
otherwise perfectly normal SPI controllers and which rely on that for
everything except reads.
This is true, but exposing direct spi-nor arguments or features like
read_opcode, addr_width or dummy_byte to spi layer isn't fine? because
for spi layer there is a spi to flash transition mtd m25p80.c is there
to handle is it?
The m25p80 driver is a generic, SPI level piece of code not a driver for
specific controller hardware.  The controller hardware drivers live in
the SPI subsystem.  In order to support this memory mapped feature we
need the controller drivers to expose an interface for controlling it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150916/d875d560/attachment.sig>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help