aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt24
1 files changed, 15 insertions, 9 deletions
diff --git a/Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt b/Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt
index 1945aecf0a3a..b925bf955731 100644
--- a/Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt
+++ b/Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt
@@ -11,13 +11,14 @@ Required properties:
11 * "mpu" for the main registers (required). For compatibility with 11 * "mpu" for the main registers (required). For compatibility with
12 existing software, it is recommended this is the first entry. 12 existing software, it is recommended this is the first entry.
13 * "dat" for separate data port register access (optional). 13 * "dat" for separate data port register access (optional).
14- interrupts : Interrupt number for McASP 14- op-mode : I2S/DIT ops mode. 0 for I2S mode. 1 for DIT mode used for S/PDIF,
15- op-mode : I2S/DIT ops mode. 15 IEC60958-1, and AES-3 formats.
16- tdm-slots : Slots for TDM operation. 16- tdm-slots : Slots for TDM operation. Indicates number of channels transmitted
17 or received over one serializer.
17- num-serializer : Serializers used by McASP. 18- num-serializer : Serializers used by McASP.
18- serial-dir : A list of serializer pin mode. The list number should be equal 19- serial-dir : A list of serializer configuration. Each entry is a number
19 to "num-serializer" parameter. Each entry is a number indication 20 indication for serializer pin direction.
20 serializer pin direction. (0 - INACTIVE, 1 - TX, 2 - RX) 21 (0 - INACTIVE, 1 - TX, 2 - RX)
21- dmas: two element list of DMA controller phandles and DMA request line 22- dmas: two element list of DMA controller phandles and DMA request line
22 ordered pairs. 23 ordered pairs.
23- dma-names: identifier string for each DMA request line in the dmas property. 24- dma-names: identifier string for each DMA request line in the dmas property.
@@ -31,16 +32,21 @@ Optional properties:
31- rx-num-evt : FIFO levels. 32- rx-num-evt : FIFO levels.
32- sram-size-playback : size of sram to be allocated during playback 33- sram-size-playback : size of sram to be allocated during playback
33- sram-size-capture : size of sram to be allocated during capture 34- sram-size-capture : size of sram to be allocated during capture
35- interrupts : Interrupt numbers for McASP, currently not used by the driver
36- interrupt-names : Known interrupt names are "tx" and "rx"
37- pinctrl-0: Should specify pin control group used for this controller.
38- pinctrl-names: Should contain only one value - "default", for more details
39 please refer to pinctrl-bindings.txt
40
34 41
35Example: 42Example:
36 43
37mcasp0: mcasp0@1d00000 { 44mcasp0: mcasp0@1d00000 {
38 compatible = "ti,da830-mcasp-audio"; 45 compatible = "ti,da830-mcasp-audio";
39 #address-cells = <1>;
40 #size-cells = <0>;
41 reg = <0x100000 0x3000>; 46 reg = <0x100000 0x3000>;
42 reg-names "mpu"; 47 reg-names "mpu";
43 interrupts = <82 83>; 48 interrupts = <82>, <83>;
49 interrupts-names = "tx", "rx";
44 op-mode = <0>; /* MCASP_IIS_MODE */ 50 op-mode = <0>; /* MCASP_IIS_MODE */
45 tdm-slots = <2>; 51 tdm-slots = <2>;
46 num-serializer = <16>; 52 num-serializer = <16>;