Commit | Line | Data |
---|---|---|
fff8491c PU |
1 | * Texas Instruments SoC with twl4030 based audio setups |
2 | ||
3 | Required properties: | |
4 | - compatible: "ti,omap-twl4030" | |
5 | - ti,model: Name of the sound card (for example "omap3beagle") | |
6 | - ti,mcbsp: phandle for the McBSP node | |
fff8491c | 7 | |
bd0b286e | 8 | Optional properties: |
624ce761 | 9 | - ti,codec: phandle for the twl4030 audio node |
bd0b286e PU |
10 | - ti,mcbsp-voice: phandle for the McBSP node connected to the voice port of twl |
11 | - ti, jack-det-gpio: Jack detect GPIO | |
12 | - ti,audio-routing: List of connections between audio components. | |
13 | Each entry is a pair of strings, the first being the connection's sink, | |
14 | the second being the connection's source. | |
15 | If the routing is not provided all possible connection will be available | |
16 | ||
17 | Available audio endpoints for the audio-routing table: | |
18 | ||
19 | Board connectors: | |
20 | * Headset Stereophone | |
21 | * Earpiece Spk | |
22 | * Handsfree Spk | |
23 | * Ext Spk | |
24 | * Main Mic | |
25 | * Sub Mic | |
26 | * Headset Mic | |
27 | * Carkit Mic | |
28 | * Digital0 Mic | |
29 | * Digital1 Mic | |
30 | * Line In | |
31 | ||
32 | twl4030 pins: | |
33 | * HSOL | |
34 | * HSOR | |
35 | * EARPIECE | |
36 | * HFL | |
37 | * HFR | |
38 | * PREDRIVEL | |
39 | * PREDRIVER | |
40 | * CARKITL | |
41 | * CARKITR | |
42 | * MAINMIC | |
43 | * SUBMIC | |
44 | * HSMIC | |
45 | * DIGIMIC0 | |
46 | * DIGIMIC1 | |
47 | * CARKITMIC | |
48 | * AUXL | |
49 | * AUXR | |
50 | ||
51 | * Headset Mic Bias | |
52 | * Mic Bias 1 /* Used for Main Mic or Digimic0 */ | |
53 | * Mic Bias 2 /* Used for Sub Mic or Digimic1 */ | |
54 | ||
fff8491c PU |
55 | Example: |
56 | ||
57 | sound { | |
58 | compatible = "ti,omap-twl4030"; | |
59 | ti,model = "omap3beagle"; | |
60 | ||
61 | ti,mcbsp = <&mcbsp2>; | |
fff8491c | 62 | }; |