aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s5pv310/include/mach/dma.h
diff options
context:
space:
mode:
authorJassi Brar <jassi.brar@samsung.com>2010-11-19 08:49:43 +0900
committerKukjin Kim <kgene.kim@samsung.com>2010-11-19 08:49:43 +0900
commit8b0ae0b719d4ea9aee4ed3a7a09d5ff76557fadf (patch)
treed32eef922eb5dd3b7b519ac427eeecc6aac2d7c6 /arch/arm/mach-s5pv310/include/mach/dma.h
parente53beacd23d9cb47590da6a7a7f6d417b941a994 (diff)
downloadkernel_samsung_smdk4412-8b0ae0b719d4ea9aee4ed3a7a09d5ff76557fadf.zip
kernel_samsung_smdk4412-8b0ae0b719d4ea9aee4ed3a7a09d5ff76557fadf.tar.gz
kernel_samsung_smdk4412-8b0ae0b719d4ea9aee4ed3a7a09d5ff76557fadf.tar.bz2
ARM: S5PV310: Add platform devices for PL330 DMACs
Samsung's Soc S5PV310 has three PL330 DMACs. First is dedicated for Memory->Memory data transfer while the other two meant for data transfer with peripherals. Define and add latter two PL330 DMACs as platform devices on the S5PV310 platform. Signed-off-by: Jassi Brar <jassi.brar@samsung.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s5pv310/include/mach/dma.h')
-rw-r--r--arch/arm/mach-s5pv310/include/mach/dma.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pv310/include/mach/dma.h b/arch/arm/mach-s5pv310/include/mach/dma.h
new file mode 100644
index 0000000..81209eb
--- /dev/null
+++ b/arch/arm/mach-s5pv310/include/mach/dma.h
@@ -0,0 +1,26 @@
+/*
+ * Copyright (C) 2010 Samsung Electronics Co. Ltd.
+ * Jaswinder Singh <jassi.brar@samsung.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+#ifndef __MACH_DMA_H
+#define __MACH_DMA_H
+
+/* This platform uses the common S3C DMA API driver for PL330 */
+#include <plat/s3c-dma-pl330.h>
+
+#endif /* __MACH_DMA_H */