summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-davinci.c
diff options
context:
space:
mode:
authorBarry Song <21cnbao@gmail.com>2013-08-06 14:21:21 +0800
committerMark Brown <broonie@linaro.org>2013-08-06 11:10:01 +0100
commitde39f5fa09d006561958431779c5a5e5b5b4e0ea (patch)
treefb86282f68c4de7b3d7596039e366a9ba5a630e1 /drivers/spi/spi-davinci.c
parent94b1f0dfa6dd8a3ed303cc7b0034b17e9cc34824 (diff)
downloadop-kernel-dev-de39f5fa09d006561958431779c5a5e5b5b4e0ea.zip
op-kernel-dev-de39f5fa09d006561958431779c5a5e5b5b4e0ea.tar.gz
spi: sirf: use DMA if both buffer address and length are aligned
this patch enables DMA support for SiRFSoC SPI driver, if both buffers and length are aligned with DMA controller's hardware limitation, use generic SiRF generic dmaengine driver. for PIO, SiRF SPI controller actually is using rx to trigger rx, that means if we write any word to tx fifo, we will get a word from rx fifo. for DMA, we use two different channel for tx and rx, and issue them both for every transfer. Signed-off-by: Barry Song <Baohua.Song@csr.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi/spi-davinci.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud