1ee2f615dSHebbar, Gururaja* Texas Instruments SoC audio setups with TLV320AIC3X Codec 2ee2f615dSHebbar, Gururaja 3ee2f615dSHebbar, GururajaRequired properties: 4ee2f615dSHebbar, Gururaja- compatible : "ti,da830-evm-audio" : forDM365/DA8xx/OMAPL1x/AM33xx 5ee2f615dSHebbar, Gururaja- ti,model : The user-visible name of this sound complex. 6ee2f615dSHebbar, Gururaja- ti,audio-codec : The phandle of the TLV320AIC3x audio codec 7ee2f615dSHebbar, Gururaja- ti,mcasp-controller : The phandle of the McASP controller 8ee2f615dSHebbar, Gururaja- ti,audio-routing : A list of the connections between audio components. 9ee2f615dSHebbar, Gururaja Each entry is a pair of strings, the first being the connection's sink, 10ee2f615dSHebbar, Gururaja the second being the connection's source. Valid names for sources and 11ee2f615dSHebbar, Gururaja sinks are the codec's pins, and the jacks on the board: 12ee2f615dSHebbar, Gururaja 13*5ad8865bSJyri SarhaOptional properties: 14*5ad8865bSJyri Sarha- ti,codec-clock-rate : The Codec Clock rate (in Hz) applied to the Codec. 15*5ad8865bSJyri Sarha- clocks : Reference to the master clock 16*5ad8865bSJyri Sarha- clock-names : The clock should be named "mclk" 17*5ad8865bSJyri Sarha- Either codec-clock-rate or the codec-clock reference has to be defined. If 18*5ad8865bSJyri Sarha the both are defined the driver attempts to set referenced clock to the 19*5ad8865bSJyri Sarha defined rate and takes the rate from the clock reference. 20*5ad8865bSJyri Sarha 21ee2f615dSHebbar, Gururaja Board connectors: 22ee2f615dSHebbar, Gururaja 23ee2f615dSHebbar, Gururaja * Headphone Jack 24ee2f615dSHebbar, Gururaja * Line Out 25ee2f615dSHebbar, Gururaja * Mic Jack 26ee2f615dSHebbar, Gururaja * Line In 27ee2f615dSHebbar, Gururaja 28ee2f615dSHebbar, Gururaja 29ee2f615dSHebbar, GururajaExample: 30ee2f615dSHebbar, Gururaja 31ee2f615dSHebbar, Gururajasound { 32ee2f615dSHebbar, Gururaja compatible = "ti,da830-evm-audio"; 33ee2f615dSHebbar, Gururaja ti,model = "DA830 EVM"; 34ee2f615dSHebbar, Gururaja ti,audio-codec = <&tlv320aic3x>; 35ee2f615dSHebbar, Gururaja ti,mcasp-controller = <&mcasp1>; 36ee2f615dSHebbar, Gururaja ti,codec-clock-rate = <12000000>; 37ee2f615dSHebbar, Gururaja ti,audio-routing = 38ee2f615dSHebbar, Gururaja "Headphone Jack", "HPLOUT", 39ee2f615dSHebbar, Gururaja "Headphone Jack", "HPROUT", 40ee2f615dSHebbar, Gururaja "Line Out", "LLOUT", 41ee2f615dSHebbar, Gururaja "Line Out", "RLOUT", 42ee2f615dSHebbar, Gururaja "MIC3L", "Mic Bias 2V", 43ee2f615dSHebbar, Gururaja "MIC3R", "Mic Bias 2V", 44ee2f615dSHebbar, Gururaja "Mic Bias 2V", "Mic Jack", 45ee2f615dSHebbar, Gururaja "LINE1L", "Line In", 46ee2f615dSHebbar, Gururaja "LINE2L", "Line In", 47ee2f615dSHebbar, Gururaja "LINE1R", "Line In", 48ee2f615dSHebbar, Gururaja "LINE2R", "Line In"; 49ee2f615dSHebbar, Gururaja}; 50