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