About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / devicetree / bindings / dma / fsl-imx-sdma.txt




Custom Search

Based on kernel version 3.13. Page generated on 2014-01-20 22:00 EST.

1	* Freescale Smart Direct Memory Access (SDMA) Controller for i.MX
2	
3	Required properties:
4	- compatible : Should be "fsl,imx31-sdma", "fsl,imx31-to1-sdma",
5	  "fsl,imx31-to2-sdma", "fsl,imx35-sdma", "fsl,imx35-to1-sdma",
6	  "fsl,imx35-to2-sdma", "fsl,imx51-sdma", "fsl,imx53-sdma" or
7	  "fsl,imx6q-sdma". The -to variants should be preferred since they
8	  allow to determnine the correct ROM script addresses needed for
9	  the driver to work without additional firmware.
10	- reg : Should contain SDMA registers location and length
11	- interrupts : Should contain SDMA interrupt
12	- #dma-cells : Must be <3>.
13	  The first cell specifies the DMA request/event ID.  See details below
14	  about the second and third cell.
15	- fsl,sdma-ram-script-name : Should contain the full path of SDMA RAM
16	  scripts firmware
17	
18	The second cell of dma phandle specifies the peripheral type of DMA transfer.
19	The full ID of peripheral types can be found below.
20	
21		ID	transfer type
22		---------------------
23		0	MCU domain SSI
24		1	Shared SSI
25		2	MMC
26		3	SDHC
27		4	MCU domain UART
28		5	Shared UART
29		6	FIRI
30		7	MCU domain CSPI
31		8	Shared CSPI
32		9	SIM
33		10	ATA
34		11	CCM
35		12	External peripheral
36		13	Memory Stick Host Controller
37		14	Shared Memory Stick Host Controller
38		15	DSP
39		16	Memory
40		17	FIFO type Memory
41		18	SPDIF
42		19	IPU Memory
43		20	ASRC
44		21	ESAI
45	
46	The third cell specifies the transfer priority as below.
47	
48		ID	transfer priority
49		-------------------------
50		0	High
51		1	Medium
52		2	Low
53	
54	Examples:
55	
56	sdma@83fb0000 {
57		compatible = "fsl,imx51-sdma", "fsl,imx35-sdma";
58		reg = <0x83fb0000 0x4000>;
59		interrupts = <6>;
60		#dma-cells = <3>;
61		fsl,sdma-ram-script-name = "sdma-imx51.bin";
62	};
63	
64	DMA clients connected to the i.MX SDMA controller must use the format
65	described in the dma.txt file.
66	
67	Examples:
68	
69	ssi2: ssi@70014000 {
70		compatible = "fsl,imx51-ssi", "fsl,imx21-ssi";
71		reg = <0x70014000 0x4000>;
72		interrupts = <30>;
73		clocks = <&clks 49>;
74		dmas = <&sdma 24 1 0>,
75		       <&sdma 25 1 0>;
76		dma-names = "rx", "tx";
77		fsl,fifo-depth = <15>;
78	};
Hide Line Numbers
About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Information is copyright its respective author. All material is available from the Linux Kernel Source distributed under a GPL License. This page is provided as a free service by mjmwired.net.