18c2ecf20Sopenharmony_ci* Texas Instruments SoC audio setups with TLV320AIC3X Codec 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciRequired properties: 48c2ecf20Sopenharmony_ci- compatible : "ti,da830-evm-audio" : forDM365/DA8xx/OMAPL1x/AM33xx 58c2ecf20Sopenharmony_ci- ti,model : The user-visible name of this sound complex. 68c2ecf20Sopenharmony_ci- ti,audio-codec : The phandle of the TLV320AIC3x audio codec 78c2ecf20Sopenharmony_ci- ti,mcasp-controller : The phandle of the McASP controller 88c2ecf20Sopenharmony_ci- ti,audio-routing : A list of the connections between audio components. 98c2ecf20Sopenharmony_ci Each entry is a pair of strings, the first being the connection's sink, 108c2ecf20Sopenharmony_ci the second being the connection's source. Valid names for sources and 118c2ecf20Sopenharmony_ci sinks are the codec's pins, and the jacks on the board: 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ciOptional properties: 148c2ecf20Sopenharmony_ci- ti,codec-clock-rate : The Codec Clock rate (in Hz) applied to the Codec. 158c2ecf20Sopenharmony_ci- clocks : Reference to the master clock 168c2ecf20Sopenharmony_ci- clock-names : The clock should be named "mclk" 178c2ecf20Sopenharmony_ci- Either codec-clock-rate or the codec-clock reference has to be defined. If 188c2ecf20Sopenharmony_ci the both are defined the driver attempts to set referenced clock to the 198c2ecf20Sopenharmony_ci defined rate and takes the rate from the clock reference. 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ci Board connectors: 228c2ecf20Sopenharmony_ci 238c2ecf20Sopenharmony_ci * Headphone Jack 248c2ecf20Sopenharmony_ci * Line Out 258c2ecf20Sopenharmony_ci * Mic Jack 268c2ecf20Sopenharmony_ci * Line In 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_ci 298c2ecf20Sopenharmony_ciExample: 308c2ecf20Sopenharmony_ci 318c2ecf20Sopenharmony_cisound { 328c2ecf20Sopenharmony_ci compatible = "ti,da830-evm-audio"; 338c2ecf20Sopenharmony_ci ti,model = "DA830 EVM"; 348c2ecf20Sopenharmony_ci ti,audio-codec = <&tlv320aic3x>; 358c2ecf20Sopenharmony_ci ti,mcasp-controller = <&mcasp1>; 368c2ecf20Sopenharmony_ci ti,codec-clock-rate = <12000000>; 378c2ecf20Sopenharmony_ci ti,audio-routing = 388c2ecf20Sopenharmony_ci "Headphone Jack", "HPLOUT", 398c2ecf20Sopenharmony_ci "Headphone Jack", "HPROUT", 408c2ecf20Sopenharmony_ci "Line Out", "LLOUT", 418c2ecf20Sopenharmony_ci "Line Out", "RLOUT", 428c2ecf20Sopenharmony_ci "MIC3L", "Mic Bias 2V", 438c2ecf20Sopenharmony_ci "MIC3R", "Mic Bias 2V", 448c2ecf20Sopenharmony_ci "Mic Bias 2V", "Mic Jack", 458c2ecf20Sopenharmony_ci "LINE1L", "Line In", 468c2ecf20Sopenharmony_ci "LINE2L", "Line In", 478c2ecf20Sopenharmony_ci "LINE1R", "Line In", 488c2ecf20Sopenharmony_ci "LINE2R", "Line In"; 498c2ecf20Sopenharmony_ci}; 50