MERGE-master-patchset-edits
[linux-2.6/openmoko-kernel.git] / arch / arm / mach-s3c6400 / include / mach / dma.h
blob069dc29376c55db6a42bc64d17ab88601637fb49
1 /* linux/arch/arm/mach-s3c6400/include/mach/dma.h
3 * Copyright 2008 Openmoko, Inc.
4 * Copyright 2008 Simtec Electronics
5 * Ben Dooks <ben@simtec.co.uk>
6 * http://armlinux.simtec.co.uk/
8 * S3C6400 - DMA support
9 */
11 #ifndef __ASM_ARCH_DMA_H
12 #define __ASM_ARCH_DMA_H __FILE__
14 /* see mach-s3c2410/dma.h for notes on dma channel numbers */
16 /* Note, for the S3C64XX architecture we keep the DMACH_
17 * defines in the order they are allocated to [S]DMA0/[S]DMA1
18 * so that is easy to do DHACH_ -> DMA controller conversion
19 */
20 enum dma_ch {
21 /* DMA0/SDMA0 */
22 DMACH_UART0,
23 DMACH_UART0_SRC2,
24 DMACH_UART1,
25 DMACH_UART1_SRC2,
26 DMACH_UART2,
27 DMACH_UART2_SRC2,
28 DMACH_UART3,
29 DMACH_UART3_SRC2,
30 DMACH_PCM0_TX,
31 DMACH_PCM0_RX,
32 DMACH_I2S0_OUT,
33 DMACH_I2S0_IN,
34 DMACH_SPI0_TX,
35 DMACH_SPI0_RX,
36 DMACH_HSI_I2SV40_TX,
37 DMACH_HSI_I2SV40_RX,
39 /* DMA1/SDMA1 */
40 DMACH_PCM1_TX,
41 DMACH_PCM1_RX,
42 DMACH_I2S1_IN,
43 DMACH_I2S1_OUT,
44 DMACH_SPI1_TX,
45 DMACH_SPI1_RX,
46 DMACH_AC97_PCMOUT,
47 DMACH_AC97_PCMIN,
48 DMACH_AC97_MICIN,
49 DMACH_PWM,
50 DMACH_IRDA,
51 DMACH_EXTERNAL,
52 DMACH_RES1,
53 DMACH_RES2,
54 DMACH_SECURITY_RX, /* SDMA1 only */
55 DMACH_SECURITY_TX, /* SDMA1 only */
56 DMACH_MAX /* the end */
60 #include <plat/dma.h>
62 #endif /* __ASM_ARCH_IRQ_H */