spi/ep93xx: add DMA support
authorMika Westerberg <mika.westerberg@iki.fi>
Sun, 29 May 2011 10:10:06 +0000 (13:10 +0300)
committerVinod Koul <vinod.koul@intel.com>
Mon, 6 Jun 2011 06:37:08 +0000 (11:37 +0530)
commitd41071575b0b20b780bb0e8e7e70c62c1b07a883
treea4b4a897e18cc7e2ad0a2f0676cfb8bf6b0de463
parent8e4a93008db7780e45838fe65840b289f389ef4a
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>
Cc: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Documentation/spi/ep93xx_spi
arch/arm/mach-ep93xx/core.c
arch/arm/mach-ep93xx/include/mach/ep93xx_spi.h
drivers/spi/ep93xx_spi.c