summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-davinci/include/mach/spi.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/include/mach/spi.h b/arch/arm/mach-davinci/include/mach/spi.h
index e68afe2..ab45b89 100644
--- a/arch/arm/mach-davinci/include/mach/spi.h
+++ b/arch/arm/mach-davinci/include/mach/spi.h
@@ -30,6 +30,7 @@ struct davinci_spi_platform_data {
u8 version;
u8 num_chipselect;
u8 clk_internal;
+ u8 intr_line;
u8 use_dma;
u8 *chip_sel;
};
@@ -38,6 +39,9 @@ struct davinci_spi_config {
u8 wdelay;
u8 odd_parity;
u8 parity_enable;
+#define SPI_IO_TYPE_INTR 0
+#define SPI_IO_TYPE_POLL 1
+ u8 io_type;
u8 timer_disable;
u8 c2tdelay;
u8 t2cdelay;
OpenPOWER on IntegriCloud