Thread (1 message) 1 message, 1 author, 2014-03-14

Re: [PATCH RFC v9 5/6] dma: mpc512x: add device tree binding document

From: Arnd Bergmann <arnd@arndb.de>
Date: 2014-03-14 10:43:01
Also in: linux-devicetree

On Thursday 13 March 2014, Mark Rutland wrote:
quoted
+
+Example:
+
+     dma0: dma@14000 {
+             compatible = "fsl,mpc5121-dma";
+             reg = <0x14000 0x1800>;
+             interrupts = <65 0x8>;
+             #dma-cells = <1>;
+     };
+
+
+Client node properties:
+
+Required properties:
+- dmas:                      list of DMA specifiers, consisting each of a handle
+                     for the DMA controller and integer cells to specify
+                     the channel used within the DMA controller
+- dma-names:         list of identifier strings for the DMA specifiers,
+                     client device driver code uses these strings to
+                     have DMA channels looked up at the controller
List the exact names you expect, or the dma-names property is useless.
Listing specific names makes no sense in the binding for the provider,
they should be part of the slave device binding. A reference to the
generic bindings/dma/dma.txt file should be enough here.

	Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help