aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-09-22 12:31:08 -0400
committerTakashi Iwai <tiwai@suse.de>2012-09-22 12:31:08 -0400
commit3d98c21d064bfbb8c6fddc659471acb4950320fa (patch)
treea506fbe4cca3616f328cdf761a45d0a09ce38237 /Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt
parent99df18b31db389ec6abc8ad5415c14e7bb752b58 (diff)
parentddfb43f3881edb47aa0083651ad31983cdc42c33 (diff)
Merge tag 'asoc-3.7' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-next
ASoC: Updates for v3.7 Lots and lots of driver specific cleanups and enhancements but the only substantial framework feature this time round is the compressed API binding: - Addition of ASoC bindings for the compressed API, used by the mid-x86 drivers. - Lots of cleanups and API refreshes for CODEC drivers and DaVinci. - Conversion of OMAP to dmaengine. - New machine driver for Wolfson Microelectronics Bells. - New CODEC driver for Wolfson Microelectronics WM0010.
Diffstat (limited to 'Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt')
-rw-r--r--Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt45
1 files changed, 45 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt b/Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt
new file mode 100644
index 000000000000..374e145c2ef1
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt
@@ -0,0 +1,45 @@
1Texas Instruments McASP controller
2
3Required properties:
4- compatible :
5 "ti,dm646x-mcasp-audio" : for DM646x platforms
6 "ti,da830-mcasp-audio" : for both DA830 & DA850 platforms
7 "ti,omap2-mcasp-audio" : for OMAP2 platforms (TI81xx, AM33xx)
8
9- reg : Should contain McASP registers offset and length
10- interrupts : Interrupt number for McASP
11- op-mode : I2S/DIT ops mode.
12- tdm-slots : Slots for TDM operation.
13- num-serializer : Serializers used by McASP.
14- serial-dir : A list of serializer pin mode. The list number should be equal
15 to "num-serializer" parameter. Each entry is a number indication
16 serializer pin direction. (0 - INACTIVE, 1 - TX, 2 - RX)
17
18
19Optional properties:
20
21- ti,hwmods : Must be "mcasp<n>", n is controller instance starting 0
22- tx-num-evt : FIFO levels.
23- rx-num-evt : FIFO levels.
24- sram-size-playback : size of sram to be allocated during playback
25- sram-size-capture : size of sram to be allocated during capture
26
27Example:
28
29mcasp0: mcasp0@1d00000 {
30 compatible = "ti,da830-mcasp-audio";
31 #address-cells = <1>;
32 #size-cells = <0>;
33 reg = <0x100000 0x3000>;
34 interrupts = <82 83>;
35 op-mode = <0>; /* MCASP_IIS_MODE */
36 tdm-slots = <2>;
37 num-serializer = <16>;
38 serial-dir = <
39 0 0 0 0 /* 0: INACTIVE, 1: TX, 2: RX */
40 0 0 0 0
41 0 0 0 1
42 2 0 0 0 >;
43 tx-num-evt = <1>;
44 rx-num-evt = <1>;
45};