diff options
author | Rafiuddin Syed <rafiuddin.syed@ti.com> | 2009-10-31 18:35:53 +0530 |
---|---|---|
committer | Santosh Shilimkar <santosh.shilimkar@ti.com> | 2009-10-31 19:39:59 +0530 |
commit | 62bcc873f8190c584be93682883e1253b6568e77 (patch) | |
tree | cff19493e6b1526fa304ab4a917e7ea7369dc062 /arch/arm/mach-omap2 | |
parent | a8d46a3d0eceaba6d9a72f74531f41021ac7414d (diff) |
OMAP3: McSPI Slave Support
This patch adds Slave Suport to McSPI Driver
Signed-off-by: Rafiuddin Syed <rafiuddin.syed@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r-- | arch/arm/mach-omap2/devices.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c index c17061d6247b..400f8e167280 100644 --- a/arch/arm/mach-omap2/devices.c +++ b/arch/arm/mach-omap2/devices.c @@ -259,6 +259,7 @@ static inline void omap_init_sti(void) {} static struct omap2_mcspi_platform_config omap2_mcspi1_config = { .num_cs = 4, + .force_cs_mode = 1, }; static struct resource omap2_mcspi1_resources[] = { @@ -281,6 +282,10 @@ static struct platform_device omap2_mcspi1 = { static struct omap2_mcspi_platform_config omap2_mcspi2_config = { .num_cs = 2, + .mode = OMAP2_MCSPI_MASTER, + .dma_mode = 1, + .force_cs_mode = 0, + .fifo_depth = 0, }; static struct resource omap2_mcspi2_resources[] = { |