diff options
author | Barry Song <21cnbao@gmail.com> | 2013-08-06 08:21:21 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-08-06 12:10:01 +0200 |
commit | de39f5fa09d006561958431779c5a5e5b5b4e0ea (patch) | |
tree | fb86282f68c4de7b3d7596039e366a9ba5a630e1 /drivers/spi/spi-lm70llp.c | |
parent | spi: sirf: add missed spi mode_bits that SiRFSoC hardware supports (diff) | |
download | linux-de39f5fa09d006561958431779c5a5e5b5b4e0ea.tar.xz linux-de39f5fa09d006561958431779c5a5e5b5b4e0ea.zip |
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-lm70llp.c')
0 files changed, 0 insertions, 0 deletions