1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (C) 2003-2006 Simtec Electronics
4 * Ben Dooks <ben@simtec.co.uk>
6 * Samsung S3C24XX DMA support
9 #ifndef __ASM_ARCH_DMA_H
10 #define __ASM_ARCH_DMA_H __FILE__
12 #include <linux/device.h>
14 /* We use `virtual` dma channels to hide the fact we have only a limited
15 * number of DMA channels, and not of all of them (dependent on the device)
16 * can be attached to any DMA source. We therefore let the DMA core handle
17 * the allocation of hardware channels to clients.
39 DMACH_UART0_SRC2
, /* s3c2412 second uart sources */
42 DMACH_UART3
, /* s3c2443 has extra uart */
44 DMACH_SPI0_TX
, /* s3c2443/2416/2450 hsspi0 */
45 DMACH_SPI0_RX
, /* s3c2443/2416/2450 hsspi0 */
46 DMACH_SPI1_TX
, /* s3c2443/2450 hsspi1 */
47 DMACH_SPI1_RX
, /* s3c2443/2450 hsspi1 */
48 DMACH_MAX
, /* the end entry */
51 #endif /* __ASM_ARCH_DMA_H */