Back to home page

OSCL-LXR

 
 

    


0001 * Freescale Direct Memory Access (DMA) Controller for i.MX
0002 
0003 This document will only describe differences to the generic DMA Controller and
0004 DMA request bindings as described in dma/dma.txt .
0005 
0006 * DMA controller
0007 
0008 Required properties:
0009 - compatible : Should be "fsl,<chip>-dma". chip can be imx1, imx21 or imx27
0010 - reg : Should contain DMA registers location and length
0011 - interrupts : First item should be DMA interrupt, second one is optional and
0012     should contain DMA Error interrupt
0013 - #dma-cells : Has to be 1. imx-dma does not support anything else.
0014 
0015 Optional properties:
0016 - dma-channels : Number of DMA channels supported. Should be 16.
0017 - #dma-channels : deprecated
0018 - dma-requests : Number of DMA requests supported.
0019 - #dma-requests : deprecated
0020 
0021 Example:
0022 
0023         dma: dma@10001000 {
0024                 compatible = "fsl,imx27-dma";
0025                 reg = <0x10001000 0x1000>;
0026                 interrupts = <32 33>;
0027                 #dma-cells = <1>;
0028                 dma-channels = <16>;
0029         };
0030 
0031 
0032 * DMA client
0033 
0034 Clients have to specify the DMA requests with phandles in a list.
0035 
0036 Required properties:
0037 - dmas: List of one or more DMA request specifiers. One DMA request specifier
0038     consists of a phandle to the DMA controller followed by the integer
0039     specifying the request line.
0040 - dma-names: List of string identifiers for the DMA requests. For the correct
0041     names, have a look at the specific client driver.
0042 
0043 Example:
0044 
0045         sdhci1: sdhci@10013000 {
0046                 ...
0047                 dmas = <&dma 7>;
0048                 dma-names = "rx-tx";
0049                 ...
0050         };