summaryrefslogtreecommitdiff
path: root/arch/arm/plat-samsung/include/plat/dma-pl330.h
diff options
context:
space:
mode:
authorThomas Abraham <thomas.abraham@linaro.org>2011-10-24 11:43:38 +0200
committerKukjin Kim <kgene.kim@samsung.com>2011-12-23 10:07:05 +0900
commit4972a80e16a206149729be887285f4494b6826dc (patch)
tree4d3e703f4337389c409098eceb767e3f44c31b87 /arch/arm/plat-samsung/include/plat/dma-pl330.h
parent93ed55441245a39e3935f5cf1af3e22febcce905 (diff)
downloadlinux-3.10-4972a80e16a206149729be887285f4494b6826dc.tar.gz
linux-3.10-4972a80e16a206149729be887285f4494b6826dc.tar.bz2
linux-3.10-4972a80e16a206149729be887285f4494b6826dc.zip
ARM: SAMSUNG: Add device tree support for pl330 dma engine wrappers
A new dma request id 'DMACH_DT_PROP' is introduced for client drivers requesting a dma channel. This request indicates that a device tree node property represting the dma channel is available in 'struct samsung_dma_info'. The dma channel request wrapper uses the node property value as the value for the filter parameter. Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org> Acked-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/plat-samsung/include/plat/dma-pl330.h')
-rw-r--r--arch/arm/plat-samsung/include/plat/dma-pl330.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/plat-samsung/include/plat/dma-pl330.h b/arch/arm/plat-samsung/include/plat/dma-pl330.h
index 2e55e595867..c5eaad529de 100644
--- a/arch/arm/plat-samsung/include/plat/dma-pl330.h
+++ b/arch/arm/plat-samsung/include/plat/dma-pl330.h
@@ -21,7 +21,8 @@
* use these just as IDs.
*/
enum dma_ch {
- DMACH_UART0_RX,
+ DMACH_DT_PROP = -1,
+ DMACH_UART0_RX = 0,
DMACH_UART0_TX,
DMACH_UART1_RX,
DMACH_UART1_TX,