diff options
author | Heiko Stuebner <heiko@sntech.de> | 2012-04-24 18:06:53 -0700 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-04-24 18:06:53 -0700 |
commit | ad6c1d43964dcba57bfe20b7185af5a71f94a1b7 (patch) | |
tree | 109dbb0480440eed903f3dfa0d0ba13e8284f1df /arch/arm/mach-s3c24xx/include | |
parent | d25a8f940c477dc8ed5893d7366a63dba53b0b19 (diff) | |
download | blackbird-op-linux-ad6c1d43964dcba57bfe20b7185af5a71f94a1b7.tar.gz blackbird-op-linux-ad6c1d43964dcba57bfe20b7185af5a71f94a1b7.zip |
ARM: S3C24XX: claim spi channels for hsspi in dma-s3c2443
SoCs starting with the S3C2443 contain SPI controllers compatible with the
spi-s3c64xx driver and therefore need separate dma channels for rx and tx.
This patch introduces dma channel declarations for these and changes the
dma-s3c2443.c accordingly.
None of the older SoCs use the spi-dma at all. Most boards bitbang their
spi use and the spi-s3c24xx driver also does not use the dma system.
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s3c24xx/include')
-rw-r--r-- | arch/arm/mach-s3c24xx/include/mach/dma.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c24xx/include/mach/dma.h b/arch/arm/mach-s3c24xx/include/mach/dma.h index acbdfecd4186..454831b66037 100644 --- a/arch/arm/mach-s3c24xx/include/mach/dma.h +++ b/arch/arm/mach-s3c24xx/include/mach/dma.h @@ -47,6 +47,10 @@ enum dma_ch { DMACH_UART2_SRC2, DMACH_UART3, /* s3c2443 has extra uart */ DMACH_UART3_SRC2, + DMACH_SPI0_TX, /* s3c2443/2416/2450 hsspi0 */ + DMACH_SPI0_RX, /* s3c2443/2416/2450 hsspi0 */ + DMACH_SPI1_TX, /* s3c2443/2450 hsspi1 */ + DMACH_SPI1_RX, /* s3c2443/2450 hsspi1 */ DMACH_MAX, /* the end entry */ }; |