Merge branch 'drm-dwhdmi-devel' of git://ftp.arm.linux.org.uk/~rmk/linux-arm into...
[firefly-linux-kernel-4.4.55.git] / Documentation / devicetree / bindings / dma / dma.txt
index 82104271e754aec2d423161b76968f23919f2a31..6312fb00ce8d31d0c8c455af0e82e3a3d86ff008 100644 (file)
@@ -31,6 +31,34 @@ Example:
                dma-requests = <127>;
        };
 
+* DMA router
+
+DMA routers are transparent IP blocks used to route DMA request lines from
+devices to the DMA controller. Some SoCs (like TI DRA7x) have more peripherals
+integrated with DMA requests than what the DMA controller can handle directly.
+
+Required property:
+- dma-masters:         phandle of the DMA controller or list of phandles for
+                       the DMA controllers the router can direct the signal to.
+- #dma-cells:          Must be at least 1. Used to provide DMA router specific
+                       information. See DMA client binding below for more
+                       details.
+
+Optional properties:
+- dma-requests:        Number of incoming request lines the router can handle.
+- In the node pointed by the dma-masters:
+       - dma-requests: The router driver might need to look for this in order
+                       to configure the routing.
+
+Example:
+       sdma_xbar: dma-router@4a002b78 {
+               compatible = "ti,dra7-dma-crossbar";
+               reg = <0x4a002b78 0xfc>;
+               #dma-cells = <1>;
+               dma-requests = <205>;
+               ti,dma-safe-map = <0>;
+               dma-masters = <&sdma>;
+       };
 
 * DMA client