Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / Documentation / devicetree / bindings / sound / omap-abe-twl6040.txt
blob462b04e8209f4d8de453005b52967ed16a63224b
1 * Texas Instruments OMAP4+ and twl6040 based audio setups
3 Required properties:
4 - compatible: "ti,abe-twl6040"
5 - ti,model: Name of the sound card ( for example "SDP4430")
6 - ti,mclk-freq: MCLK frequency for HPPLL operation
7 - ti,mcpdm: phandle for the McPDM node
8 - ti,twl6040: phandle for the twl6040 core node
9 - ti,audio-routing: List of connections between audio components.
10   Each entry is a pair of strings, the first being the connection's sink,
11   the second being the connection's source.
13 Optional properties:
14 - ti,dmic: phandle for the OMAP dmic node if the machine have it connected
15 - ti,jack-detection: Need to be present if the board capable to detect jack
16   insertion, removal.
18 Available audio endpoints for the audio-routing table:
20 Board connectors:
21  * Headset Stereophone
22  * Earphone Spk
23  * Ext Spk
24  * Line Out
25  * Vibrator
26  * Headset Mic
27  * Main Handset Mic
28  * Sub Handset Mic
29  * Line In
30  * Digital Mic
32 twl6040 pins:
33  * HSOL
34  * HSOR
35  * EP
36  * HFL
37  * HFR
38  * AUXL
39  * AUXR
40  * VIBRAL
41  * VIBRAR
42  * HSMIC
43  * MAINMIC
44  * SUBMIC
45  * AFML
46  * AFMR
48  * Headset Mic Bias
49  * Main Mic Bias
50  * Digital Mic1 Bias
51  * Digital Mic2 Bias
53 Digital mic pins:
54  * DMic
56 Example:
58 sound {
59         compatible = "ti,abe-twl6040";
60         ti,model = "SDP4430";
62         ti,jack-detection;
63         ti,mclk-freq = <38400000>;
65         ti,mcpdm = <&mcpdm>;
66         ti,dmic = <&dmic>;
68         ti,twl6040 = <&twl6040>;
70         /* Audio routing */
71         ti,audio-routing =
72                 "Headset Stereophone", "HSOL",
73                 "Headset Stereophone", "HSOR",
74                 "Earphone Spk", "EP",
75                 "Ext Spk", "HFL",
76                 "Ext Spk", "HFR",
77                 "Line Out", "AUXL",
78                 "Line Out", "AUXR",
79                 "Vibrator", "VIBRAL",
80                 "Vibrator", "VIBRAR",
81                 "HSMIC", "Headset Mic",
82                 "Headset Mic", "Headset Mic Bias",
83                 "MAINMIC", "Main Handset Mic",
84                 "Main Handset Mic", "Main Mic Bias",
85                 "SUBMIC", "Sub Handset Mic",
86                 "Sub Handset Mic", "Main Mic Bias",
87                 "AFML", "Line In",
88                 "AFMR", "Line In",
89                 "DMic", "Digital Mic",
90                 "Digital Mic", "Digital Mic1 Bias";