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