aboutsummaryrefslogtreecommitdiff
path: root/Bindings/dma/arm-pl330.txt
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2014-02-27 19:39:44 +0000
committerWarner Losh <imp@FreeBSD.org>2014-02-27 19:39:44 +0000
commit0d4a4b13019e01c1eab30b74c983040450010b81 (patch)
treeff6e99cffa59c3e85a311d8dd06e6f6dab4988b2 /Bindings/dma/arm-pl330.txt
downloadsrc-0d4a4b13019e01c1eab30b74c983040450010b81.tar.gz
src-0d4a4b13019e01c1eab30b74c983040450010b81.zip
Bring in Ian Campbell's pruned dts repo.vendor/device-tree/ianc-efa963ec
From git://xenbits.xen.org/people/ianc/device-tree-rebasing.git commit efa963ec806366c9628dfd1269316bb93b7ecb15 Merge: a72ba09 459c249 Author: Ian Campbell <ian.campbell@citrix.com> Date: Wed Feb 26 08:39:16 2014 +0000 Merge tag 'v3.14-rc4-dts' Linux 3.14-rc4
Notes
Notes: svn path=/vendor/device-tree/; revision=262569 svn path=/vendor/device-tree/ianc-efa963ec/; revision=262576; tag=vendor/device-tree/ianc-efa963ec
Diffstat (limited to 'Bindings/dma/arm-pl330.txt')
-rw-r--r--Bindings/dma/arm-pl330.txt44
1 files changed, 44 insertions, 0 deletions
diff --git a/Bindings/dma/arm-pl330.txt b/Bindings/dma/arm-pl330.txt
new file mode 100644
index 000000000000..267565894db9
--- /dev/null
+++ b/Bindings/dma/arm-pl330.txt
@@ -0,0 +1,44 @@
+* ARM PrimeCell PL330 DMA Controller
+
+The ARM PrimeCell PL330 DMA controller can move blocks of memory contents
+between memory and peripherals or memory to memory.
+
+Required properties:
+ - compatible: should include both "arm,pl330" and "arm,primecell".
+ - reg: physical base address of the controller and length of memory mapped
+ region.
+ - interrupts: interrupt number to the cpu.
+
+Optional properties:
+ - dma-coherent : Present if dma operations are coherent
+ - #dma-cells: must be <1>. used to represent the number of integer
+ cells in the dmas property of client device.
+ - dma-channels: contains the total number of DMA channels supported by the DMAC
+ - dma-requests: contains the total number of DMA requests supported by the DMAC
+
+Example:
+
+ pdma0: pdma@12680000 {
+ compatible = "arm,pl330", "arm,primecell";
+ reg = <0x12680000 0x1000>;
+ interrupts = <99>;
+ #dma-cells = <1>;
+ #dma-channels = <8>;
+ #dma-requests = <32>;
+ };
+
+Client drivers (device nodes requiring dma transfers from dev-to-mem or
+mem-to-dev) should specify the DMA channel numbers and dma channel names
+as shown below.
+
+ [property name] = <[phandle of the dma controller] [dma request id]>;
+ [property name] = <[dma channel name]>
+
+ where 'dma request id' is the dma request number which is connected
+ to the client controller. The 'property name' 'dmas' and 'dma-names'
+ as required by the generic dma device tree binding helpers. The dma
+ names correspond 1:1 with the dma request ids in the dmas property.
+
+ Example: dmas = <&pdma0 12
+ &pdma1 11>;
+ dma-names = "tx", "rx";