]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
dt-bindings: dma: add binding for the Marvell XOR v2 engine
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 16 Jun 2016 12:28:33 +0000 (14:28 +0200)
committerVinod Koul <vinod.koul@intel.com>
Tue, 12 Jul 2016 04:37:41 +0000 (10:07 +0530)
This commit adds the Device Tree binding documentation for the Marvell
XOR v2 engine, which is found on Marvell Armada 7K/8K ARM64 SoCs.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Documentation/devicetree/bindings/dma/mv-xor-v2.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/dma/mv-xor-v2.txt b/Documentation/devicetree/bindings/dma/mv-xor-v2.txt
new file mode 100644 (file)
index 0000000..217a90e
--- /dev/null
@@ -0,0 +1,24 @@
+* Marvell XOR v2 engines
+
+Required properties:
+- compatible: one of the following values:
+    "marvell,armada-7k-xor"
+    "marvell,xor-v2"
+- reg: Should contain registers location and length (two sets)
+    the first set is the DMA registers
+    the second set is the global registers
+- msi-parent: Phandle to the MSI-capable interrupt controller used for
+  interrupts.
+
+Optional properties:
+- clocks: Optional reference to the clock used by the XOR engine.
+
+Example:
+
+       xor0@400000 {
+               compatible = "marvell,xor-v2";
+               reg = <0x400000 0x1000>,
+                     <0x410000 0x1000>;
+               msi-parent = <&gic_v2m0>;
+               dma-coherent;
+       };