Thread (3 messages) read the whole thread 3 messages, 1 author, 2011-01-24
STALE5667d

[PATCH/RFC 0/2] SPI: DMA support for MSIOF

From: Guennadi Liakhovetski <hidden>
Date: 2011-01-24 10:24:22
Also in: linux-spi

The MSIOF controller on sh-mobile systems can use DMA for data transfers. 
This patch implements support for it, using the sh_dma dmaengine driver. 
Attention: this is only RFC / for information now, because DMA mode is 
unstable in my stress-tests. So far only tested on ecovec with an SD-card, 
which works stably in PIO mode. Still, it is possible, that this is an 
electric problem and DMA just changes the bus-usage pattern. DMA on MSIOF 
also suffers from the maximum transfer length limit of 256 words. In 8-bit 
mode, which is also used for mmc_spi, with the recent 32-bit consolidation 
we also transmit 256 bytes per transfer, so, in this mode we don't benefit 
from DMA.

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help