aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/include
diff options
context:
space:
mode:
authorBrian Niebuhr <bniebuhr@efjohnson.com>2010-10-06 07:33:10 -0400
committerSekhar Nori <nsekhar@ti.com>2010-11-18 08:08:36 -0500
commit87467bd9052725283b9a9f4b1b310fed8744fb1e (patch)
tree522a1d71933440af2b16072bbf95a138dd08392e /arch/arm/mach-davinci/include
parent6dbd29b27bd2627ba0025a6cff14381e69512cdf (diff)
spi: davinci: let DMA operation be specified on per-device basis
Let DMA operation be specified on a per-device basis instead of selecting it once during probe. A side effect of this is the need to combine the PIO and DMA buffer txrx_bufs routine. This is good since they anyway share some common functionality. Signed-off-by: Brian Niebuhr <bniebuhr@efjohnson.com> Tested-By: Michael Williamson <michael.williamson@criticallink.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'arch/arm/mach-davinci/include')
-rw-r--r--arch/arm/mach-davinci/include/mach/spi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/include/mach/spi.h b/arch/arm/mach-davinci/include/mach/spi.h
index f7586a03678c..b3ab7d04943a 100644
--- a/arch/arm/mach-davinci/include/mach/spi.h
+++ b/arch/arm/mach-davinci/include/mach/spi.h
@@ -41,6 +41,7 @@ struct davinci_spi_config {
41 u8 parity_enable; 41 u8 parity_enable;
42#define SPI_IO_TYPE_INTR 0 42#define SPI_IO_TYPE_INTR 0
43#define SPI_IO_TYPE_POLL 1 43#define SPI_IO_TYPE_POLL 1
44#define SPI_IO_TYPE_DMA 2
44 u8 io_type; 45 u8 io_type;
45 u8 timer_disable; 46 u8 timer_disable;
46 u8 c2tdelay; 47 u8 c2tdelay;