diff options
author | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-11-06 17:05:33 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-11-20 16:26:57 +0000 |
commit | aa167f3fed0c37e0e4c707d4331d827661f46644 (patch) | |
tree | 41a1b7431e865d9a477f1d3eac1850654fefb258 /kernel/cpu.c | |
parent | f86c24f4795303e4024bc113196de32782f6ccb5 (diff) | |
download | linux-stable-aa167f3fed0c37e0e4c707d4331d827661f46644.tar.gz linux-stable-aa167f3fed0c37e0e4c707d4331d827661f46644.tar.bz2 linux-stable-aa167f3fed0c37e0e4c707d4331d827661f46644.zip |
spi: spi-mem: Add a new API to support direct mapping
Most modern SPI controllers can directly map a SPI memory (or a portion
of the SPI memory) in the CPU address space. Most of the time this
brings significant performance improvements as it automates the whole
process of sending SPI memory operations every time a new region is
accessed.
This new API allows SPI memory drivers to create direct mappings and
then use them to access the memory instead of using spi_mem_exec_op().
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'kernel/cpu.c')
0 files changed, 0 insertions, 0 deletions