aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-spear/include
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@st.com>2012-03-26 10:29:23 +0530
committerArnd Bergmann <arnd@arndb.de>2012-04-22 22:41:35 +0200
commit0b7ee71794b043de8a02d8887b69a57e4003106a (patch)
treefb4386d24146993d3c1400abbc6974c27c16722d /arch/arm/plat-spear/include
parentARM: SPEAr3xx: Add device-tree support to SPEAr3xx architecture (diff)
downloadlinux-dev-0b7ee71794b043de8a02d8887b69a57e4003106a.tar.xz
linux-dev-0b7ee71794b043de8a02d8887b69a57e4003106a.zip
SPEAr: Add PL080 DMA support for 3xx and 6xx
Both SPEAr3xx and SPEAr6xx families have one instance of ARM PL080 DMA controller. This patch adds in support for that. Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Diffstat (limited to 'arch/arm/plat-spear/include')
-rw-r--r--arch/arm/plat-spear/include/plat/pl080.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm/plat-spear/include/plat/pl080.h b/arch/arm/plat-spear/include/plat/pl080.h
new file mode 100644
index 000000000000..e14a3e4932f9
--- /dev/null
+++ b/arch/arm/plat-spear/include/plat/pl080.h
@@ -0,0 +1,21 @@
+/*
+ * arch/arm/plat-spear/include/plat/pl080.h
+ *
+ * DMAC pl080 definitions for SPEAr platform
+ *
+ * Copyright (C) 2012 ST Microelectronics
+ * Viresh Kumar <viresh.kumar@st.com>
+ *
+ * This file is licensed under the terms of the GNU General Public
+ * License version 2. This program is licensed "as is" without any
+ * warranty of any kind, whether express or implied.
+ */
+
+#ifndef __PLAT_PL080_H
+#define __PLAT_PL080_H
+
+struct pl08x_dma_chan;
+int pl080_get_signal(struct pl08x_dma_chan *ch);
+void pl080_put_signal(struct pl08x_dma_chan *ch);
+
+#endif /* __PLAT_PL080_H */