18c2ecf20Sopenharmony_ci* Texas Instruments SoC with twl4030 based audio setups
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciRequired properties:
48c2ecf20Sopenharmony_ci- compatible: "ti,omap-twl4030"
58c2ecf20Sopenharmony_ci- ti,model: Name of the sound card (for example "omap3beagle")
68c2ecf20Sopenharmony_ci- ti,mcbsp: phandle for the McBSP node
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ciOptional properties:
98c2ecf20Sopenharmony_ci- ti,codec: phandle for the twl4030 audio node
108c2ecf20Sopenharmony_ci- ti,mcbsp-voice: phandle for the McBSP node connected to the voice port of twl
118c2ecf20Sopenharmony_ci- ti, jack-det-gpio: Jack detect GPIO
128c2ecf20Sopenharmony_ci- ti,audio-routing: List of connections between audio components.
138c2ecf20Sopenharmony_ci  Each entry is a pair of strings, the first being the connection's sink,
148c2ecf20Sopenharmony_ci  the second being the connection's source.
158c2ecf20Sopenharmony_ci  If the routing is not provided all possible connection will be available
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ciAvailable audio endpoints for the audio-routing table:
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ciBoard connectors:
208c2ecf20Sopenharmony_ci * Headset Stereophone
218c2ecf20Sopenharmony_ci * Earpiece Spk
228c2ecf20Sopenharmony_ci * Handsfree Spk
238c2ecf20Sopenharmony_ci * Ext Spk
248c2ecf20Sopenharmony_ci * Main Mic
258c2ecf20Sopenharmony_ci * Sub Mic
268c2ecf20Sopenharmony_ci * Headset Mic
278c2ecf20Sopenharmony_ci * Carkit Mic
288c2ecf20Sopenharmony_ci * Digital0 Mic
298c2ecf20Sopenharmony_ci * Digital1 Mic
308c2ecf20Sopenharmony_ci * Line In
318c2ecf20Sopenharmony_ci
328c2ecf20Sopenharmony_citwl4030 pins:
338c2ecf20Sopenharmony_ci * HSOL
348c2ecf20Sopenharmony_ci * HSOR
358c2ecf20Sopenharmony_ci * EARPIECE
368c2ecf20Sopenharmony_ci * HFL
378c2ecf20Sopenharmony_ci * HFR
388c2ecf20Sopenharmony_ci * PREDRIVEL
398c2ecf20Sopenharmony_ci * PREDRIVER
408c2ecf20Sopenharmony_ci * CARKITL
418c2ecf20Sopenharmony_ci * CARKITR
428c2ecf20Sopenharmony_ci * MAINMIC
438c2ecf20Sopenharmony_ci * SUBMIC
448c2ecf20Sopenharmony_ci * HSMIC
458c2ecf20Sopenharmony_ci * DIGIMIC0
468c2ecf20Sopenharmony_ci * DIGIMIC1
478c2ecf20Sopenharmony_ci * CARKITMIC
488c2ecf20Sopenharmony_ci * AUXL
498c2ecf20Sopenharmony_ci * AUXR
508c2ecf20Sopenharmony_ci
518c2ecf20Sopenharmony_ci * Headset Mic Bias
528c2ecf20Sopenharmony_ci * Mic Bias 1 /* Used for Main Mic or Digimic0 */
538c2ecf20Sopenharmony_ci * Mic Bias 2 /* Used for Sub Mic or Digimic1 */
548c2ecf20Sopenharmony_ci
558c2ecf20Sopenharmony_ciExample:
568c2ecf20Sopenharmony_ci
578c2ecf20Sopenharmony_cisound {
588c2ecf20Sopenharmony_ci	compatible = "ti,omap-twl4030";
598c2ecf20Sopenharmony_ci	ti,model = "omap3beagle";
608c2ecf20Sopenharmony_ci
618c2ecf20Sopenharmony_ci	ti,mcbsp = <&mcbsp2>;
628c2ecf20Sopenharmony_ci};
63