summaryrefslogtreecommitdiffstats
path: root/drivers/target
diff options
context:
space:
mode:
authorIllia Smyrnov <illia.smyrnov@ti.com>2013-06-17 15:31:06 +0200
committerMark Brown <broonie@linaro.org>2013-06-17 18:17:23 +0200
commitd33f473dcd8e69321f001ba330d648f475b504c9 (patch)
tree00ff1bce2d3e9b005552269ef6aae3f3b03e9262 /drivers/target
parentspi: omap2-mcspi: Move bytes per word calculation to the function (diff)
downloadlinux-d33f473dcd8e69321f001ba330d648f475b504c9.tar.xz
linux-d33f473dcd8e69321f001ba330d648f475b504c9.zip
spi: omap2-mcspi: Add FIFO buffer support
The MCSPI controller has a built-in FIFO buffer to unload the DMA or interrupt handler and improve data throughput. This patch adds FIFO buffer support for SPI transfers in DMA mode. For SPI transfers in DMA mode, the largest possible FIFO buffer size will be calculated and set up. The FIFO won't be used for the SPI transfers in DMA mode if: calculated FIFO buffer size is less then 2 bytes or the FIFO buffer size isn't multiple of the SPI word length. Signed-off-by: Illia Smyrnov <illia.smyrnov@ti.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/target')
0 files changed, 0 insertions, 0 deletions