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