summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-samsung/include/plat/dma-ops.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-ops.h
parent93ed55441245a39e3935f5cf1af3e22febcce905 (diff)
downloadop-kernel-dev-4972a80e16a206149729be887285f4494b6826dc.zip
op-kernel-dev-4972a80e16a206149729be887285f4494b6826dc.tar.gz
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-ops.h')
-rw-r--r--arch/arm/plat-samsung/include/plat/dma-ops.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/plat-samsung/include/plat/dma-ops.h b/arch/arm/plat-samsung/include/plat/dma-ops.h
index 4c1a363..22eafc3 100644
--- a/arch/arm/plat-samsung/include/plat/dma-ops.h
+++ b/arch/arm/plat-samsung/include/plat/dma-ops.h
@@ -31,6 +31,7 @@ struct samsung_dma_info {
enum dma_slave_buswidth width;
dma_addr_t fifo;
struct s3c2410_dma_client *client;
+ struct property *dt_dmach_prop;
};
struct samsung_dma_ops {
OpenPOWER on IntegriCloud