diff options
author | Thomas Abraham <thomas.abraham@linaro.org> | 2011-10-24 11:43:38 +0200 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2011-12-23 02:07:05 +0100 |
commit | 4972a80e16a206149729be887285f4494b6826dc (patch) | |
tree | 4d3e703f4337389c409098eceb767e3f44c31b87 /arch/arm/plat-samsung/include/plat/dma-ops.h | |
parent | DMA: PL330: Add device tree support (diff) | |
download | linux-4972a80e16a206149729be887285f4494b6826dc.tar.xz linux-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-ops.h')
-rw-r--r-- | arch/arm/plat-samsung/include/plat/dma-ops.h | 1 |
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 4c1a363526cf..22eafc310bd7 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 { |