[PATCH v2] spi: orion.c: Add direct access mode

Mark Brown broonie at kernel.org
Thu Mar 24 04:23:08 PDT 2016


On Thu, Mar 24, 2016 at 06:45:35AM +0100, Stefan Roese wrote:

> Right. It is of course possible to use this direct mode to access
> SPI flash. Its just not the way how the SPI MTD driver uses the
> SPI controller. All information that is written to the SPI flash
> (e.g. commands, addresses) are passed as plain tx-data in the SPI
> message to the SPI controller. And it would be not easy to detect
> commands / addresses vs. "real data" in this orion SPI driver
> to put these values into the specific registers.

We now have extensions for passing commands through directly (see
spi_flash_read()).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160324/269ea661/attachment.sig>


More information about the linux-arm-kernel mailing list