summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorIllia Smyrnov <illia.smyrnov@ti.com>2013-06-17 16:31:06 +0300
committerMark Brown <broonie@linaro.org>2013-06-17 17:17:23 +0100
commitd33f473dcd8e69321f001ba330d648f475b504c9 (patch)
tree00ff1bce2d3e9b005552269ef6aae3f3b03e9262 /samples
parent56cd5c1578135120d73a7054140855728f8cca36 (diff)
downloadop-kernel-dev-d33f473dcd8e69321f001ba330d648f475b504c9.zip
op-kernel-dev-d33f473dcd8e69321f001ba330d648f475b504c9.tar.gz
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 'samples')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud