spi/ep93xx: add DMA support
authorMika Westerberg <mika.westerberg@iki.fi>
Sun, 29 May 2011 10:10:06 +0000 (13:10 +0300)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 8 Jun 2011 21:46:12 +0000 (15:46 -0600)
commit626a96db11698119a67eeda130488e869aa6f14e
tree1d5fd7da4a7919596bd81e0136d96679196e1152
parent71cebd700257a4f644066631bf02187d8f67817e
spi/ep93xx: add DMA support

This patch adds DMA support for the EP93xx SPI driver. By default the DMA is
not enabled but it can be enabled by setting ep93xx_spi_info.use_dma to true
in board configuration file.

Note that the SPI driver still uses PIO for small transfers (<= 8 bytes) for
performance reasons.

Signed-off-by: Mika Westerberg <mika.westerberg@iki.fi>
Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Documentation/spi/ep93xx_spi
arch/arm/mach-ep93xx/core.c
arch/arm/mach-ep93xx/include/mach/ep93xx_spi.h
drivers/spi/ep93xx_spi.c