aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-06-10 13:28:45 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-10 13:28:45 -0400
commit77c32bbbe0d0e963ba5723b8d1f6c42c5d56858b (patch)
tree2b819d3b7c00173c072fe61cadb0fd82ba51f417 /Documentation/devicetree
parentfad0701eaa091beb8ce5ef2eef04b5e833617368 (diff)
parent06822788faa21529a9a97965e266d77a596dc921 (diff)
Merge branch 'for-linus' of git://git.infradead.org/users/vkoul/slave-dma
Pull slave-dmaengine updates from Vinod Koul: - new Xilixn VDMA driver from Srikanth - bunch of updates for edma driver by Thomas, Joel and Peter - fixes and updates on dw, ste_dma, freescale, mpc512x, sudmac etc * 'for-linus' of git://git.infradead.org/users/vkoul/slave-dma: (45 commits) dmaengine: sh: don't use dynamic static allocation dmaengine: sh: fix print specifier warnings dmaengine: sh: make shdma_prep_dma_cyclic static dmaengine: Kconfig: Update MXS_DMA help text to include MX6Q/MX6DL of: dma: Grammar s/requests/request/, s/used required/required/ dmaengine: shdma: Enable driver compilation with COMPILE_TEST dmaengine: rcar-hpbdma: Include linux/err.h dmaengine: sudmac: Include linux/err.h dmaengine: sudmac: Keep #include sorted alphabetically dmaengine: shdmac: Include linux/err.h dmaengine: shdmac: Keep #include sorted alphabetically dmaengine: s3c24xx-dma: Add cyclic transfer support dmaengine: s3c24xx-dma: Process whole SG chain dmaengine: imx: correct sdmac->status for cyclic dma tx dmaengine: pch: fix compilation for alpha target dmaengine: dw: check return code of dma_async_device_register() dmaengine: dw: fix regression in dw_probe() function dmaengine: dw: enable clock before access dma: pch_dma: Fix Kconfig dependencies dmaengine: mpc512x: add support for peripheral transfers ...
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r--Documentation/devicetree/bindings/dma/mmp-dma.txt11
-rw-r--r--Documentation/devicetree/bindings/dma/xilinx/xilinx_vdma.txt75
2 files changed, 82 insertions, 4 deletions
diff --git a/Documentation/devicetree/bindings/dma/mmp-dma.txt b/Documentation/devicetree/bindings/dma/mmp-dma.txt
index a4fa4efa1d83..7a802f64e5bd 100644
--- a/Documentation/devicetree/bindings/dma/mmp-dma.txt
+++ b/Documentation/devicetree/bindings/dma/mmp-dma.txt
@@ -1,17 +1,20 @@
1* MARVELL MMP DMA controller 1* MARVELL MMP DMA controller
2 2
3Marvell Peripheral DMA Controller 3Marvell Peripheral DMA Controller
4Used platfroms: pxa688, pxa910, pxa3xx, etc 4Used platforms: pxa688, pxa910, pxa3xx, etc
5 5
6Required properties: 6Required properties:
7- compatible: Should be "marvell,pdma-1.0" 7- compatible: Should be "marvell,pdma-1.0"
8- reg: Should contain DMA registers location and length. 8- reg: Should contain DMA registers location and length.
9- interrupts: Either contain all of the per-channel DMA interrupts 9- interrupts: Either contain all of the per-channel DMA interrupts
10 or one irq for pdma device 10 or one irq for pdma device
11- #dma-channels: Number of DMA channels supported by the controller. 11
12Optional properties:
13- #dma-channels: Number of DMA channels supported by the controller (defaults
14 to 32 when not specified)
12 15
13"marvell,pdma-1.0" 16"marvell,pdma-1.0"
14Used platfroms: pxa25x, pxa27x, pxa3xx, pxa93x, pxa168, pxa910, pxa688. 17Used platforms: pxa25x, pxa27x, pxa3xx, pxa93x, pxa168, pxa910, pxa688.
15 18
16Examples: 19Examples:
17 20
@@ -45,7 +48,7 @@ pdma: dma-controller@d4000000 {
45 48
46 49
47Marvell Two Channel DMA Controller used specifically for audio 50Marvell Two Channel DMA Controller used specifically for audio
48Used platfroms: pxa688, pxa910 51Used platforms: pxa688, pxa910
49 52
50Required properties: 53Required properties:
51- compatible: Should be "marvell,adma-1.0" or "marvell,pxa910-squ" 54- compatible: Should be "marvell,adma-1.0" or "marvell,pxa910-squ"
diff --git a/Documentation/devicetree/bindings/dma/xilinx/xilinx_vdma.txt b/Documentation/devicetree/bindings/dma/xilinx/xilinx_vdma.txt
new file mode 100644
index 000000000000..1405ed071bb4
--- /dev/null
+++ b/Documentation/devicetree/bindings/dma/xilinx/xilinx_vdma.txt
@@ -0,0 +1,75 @@
1Xilinx AXI VDMA engine, it does transfers between memory and video devices.
2It can be configured to have one channel or two channels. If configured
3as two channels, one is to transmit to the video device and another is
4to receive from the video device.
5
6Required properties:
7- compatible: Should be "xlnx,axi-vdma-1.00.a"
8- #dma-cells: Should be <1>, see "dmas" property below
9- reg: Should contain VDMA registers location and length.
10- xlnx,num-fstores: Should be the number of framebuffers as configured in h/w.
11- dma-channel child node: Should have at least one channel and can have up to
12 two channels per device. This node specifies the properties of each
13 DMA channel (see child node properties below).
14
15Optional properties:
16- xlnx,include-sg: Tells configured for Scatter-mode in
17 the hardware.
18- xlnx,flush-fsync: Tells which channel to Flush on Frame sync.
19 It takes following values:
20 {1}, flush both channels
21 {2}, flush mm2s channel
22 {3}, flush s2mm channel
23
24Required child node properties:
25- compatible: It should be either "xlnx,axi-vdma-mm2s-channel" or
26 "xlnx,axi-vdma-s2mm-channel".
27- interrupts: Should contain per channel VDMA interrupts.
28- xlnx,data-width: Should contain the stream data width, take values
29 {32,64...1024}.
30
31Optional child node properties:
32- xlnx,include-dre: Tells hardware is configured for Data
33 Realignment Engine.
34- xlnx,genlock-mode: Tells Genlock synchronization is
35 enabled/disabled in hardware.
36
37Example:
38++++++++
39
40axi_vdma_0: axivdma@40030000 {
41 compatible = "xlnx,axi-vdma-1.00.a";
42 #dma_cells = <1>;
43 reg = < 0x40030000 0x10000 >;
44 xlnx,num-fstores = <0x8>;
45 xlnx,flush-fsync = <0x1>;
46 dma-channel@40030000 {
47 compatible = "xlnx,axi-vdma-mm2s-channel";
48 interrupts = < 0 54 4 >;
49 xlnx,datawidth = <0x40>;
50 } ;
51 dma-channel@40030030 {
52 compatible = "xlnx,axi-vdma-s2mm-channel";
53 interrupts = < 0 53 4 >;
54 xlnx,datawidth = <0x40>;
55 } ;
56} ;
57
58
59* DMA client
60
61Required properties:
62- dmas: a list of <[Video DMA device phandle] [Channel ID]> pairs,
63 where Channel ID is '0' for write/tx and '1' for read/rx
64 channel.
65- dma-names: a list of DMA channel names, one per "dmas" entry
66
67Example:
68++++++++
69
70vdmatest_0: vdmatest@0 {
71 compatible ="xlnx,axi-vdma-test-1.00.a";
72 dmas = <&axi_vdma_0 0
73 &axi_vdma_0 1>;
74 dma-names = "vdma0", "vdma1";
75} ;