]> git.karo-electronics.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt
Merge tag 'v3.7-rc2' into drm-intel-next-queued
[karo-tx-linux.git] / Documentation / devicetree / bindings / sound / davinci-mcasp-audio.txt
1 Texas Instruments McASP controller
2
3 Required 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
19 Optional 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
27 Example:
28
29 mcasp0: 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 };