92 lines · plain
1* Texas Instruments OMAP4+ and twl6040 based audio setups2 3Required 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 operation7- ti,mcpdm: phandle for the McPDM node8- ti,twl6040: phandle for the twl6040 core node9- 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.12 13Optional properties:14- ti,dmic: phandle for the OMAP dmic node if the machine have it connected15- ti,jack-detection: Need to be present if the board capable to detect jack16 insertion, removal.17 18Available audio endpoints for the audio-routing table:19 20Board connectors:21 * Headset Stereophone22 * Earphone Spk23 * Ext Spk24 * Line Out25 * Vibrator26 * Headset Mic27 * Main Handset Mic28 * Sub Handset Mic29 * Line In30 * Digital Mic31 32twl6040 pins:33 * HSOL34 * HSOR35 * EP36 * HFL37 * HFR38 * AUXL39 * AUXR40 * VIBRAL41 * VIBRAR42 * HSMIC43 * MAINMIC44 * SUBMIC45 * AFML46 * AFMR47 48 * Headset Mic Bias49 * Main Mic Bias50 * Digital Mic1 Bias51 * Digital Mic2 Bias52 53Digital mic pins:54 * DMic55 56Example:57 58sound {59 compatible = "ti,abe-twl6040";60 ti,model = "SDP4430";61 62 ti,jack-detection;63 ti,mclk-freq = <38400000>;64 65 ti,mcpdm = <&mcpdm>;66 ti,dmic = <&dmic>;67 68 ti,twl6040 = <&twl6040>;69 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";91};92