diff options
author | Vignesh R <vigneshr@ti.com> | 2015-12-11 07:09:56 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-02-09 22:34:02 +0300 |
commit | 556351f14e74db4cd3ddde386457edce7bf0b27f (patch) | |
tree | d0f00feb603a841a6bd44929941cb1d7da1eabef /include/sound/hda_i915.h | |
parent | 92e963f50fc74041b5e9e744c330dca48e04f08d (diff) | |
download | linux-556351f14e74db4cd3ddde386457edce7bf0b27f.tar.xz |
spi: introduce accelerated read support for spi flash devices
In addition to providing direct access to SPI bus, some spi controller
hardwares (like ti-qspi) provide special port (like memory mapped port)
that are optimized to improve SPI flash read performance.
This means the controller can automatically send the SPI signals
required to read data from the SPI flash device.
For this, SPI controller needs to know flash specific information like
read command to use, dummy bytes and address width.
Introduce spi_flash_read() interface to support accelerated read
over SPI flash devices. SPI master drivers can implement this callback to
support interfaces such as memory mapped read etc. m25p80 flash driver
and other flash drivers can call this make use of such interfaces. The
interface should only be used with SPI flashes and cannot be used with
other SPI devices.
Signed-off-by: Vignesh R <vigneshr@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/hda_i915.h')
0 files changed, 0 insertions, 0 deletions