xref: /freebsd/sys/contrib/device-tree/Bindings/sound/nvidia,tegra-audio-wm9712.txt (revision 59c8e88e72633afbc47a4ace0d2170d00d51f7dc)
1NVIDIA Tegra audio complex
2
3Required properties:
4- compatible : "nvidia,tegra-audio-wm9712"
5- clocks : Must contain an entry for each entry in clock-names.
6  See ../clocks/clock-bindings.txt for details.
7- clock-names : Must include the following entries:
8  - pll_a
9  - pll_a_out0
10  - mclk (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk)
11- nvidia,model : The user-visible name of this sound complex.
12- nvidia,audio-routing : A list of the connections between audio components.
13  Each entry is a pair of strings, the first being the connection's sink,
14  the second being the connection's source. Valid names for sources and
15  sinks are the WM9712's pins, and the jacks on the board:
16
17  WM9712 pins:
18
19  * MONOOUT
20  * HPOUTL
21  * HPOUTR
22  * LOUT2
23  * ROUT2
24  * OUT3
25  * LINEINL
26  * LINEINR
27  * PHONE
28  * PCBEEP
29  * MIC1
30  * MIC2
31  * Mic Bias
32
33  Board connectors:
34
35  * Headphone
36  * LineIn
37  * Mic
38
39- nvidia,ac97-controller : The phandle of the Tegra AC97 controller
40
41
42Example:
43
44sound {
45	compatible = "nvidia,tegra-audio-wm9712-colibri_t20",
46		         "nvidia,tegra-audio-wm9712";
47	nvidia,model = "Toradex Colibri T20";
48
49	nvidia,audio-routing =
50		"Headphone", "HPOUTL",
51		"Headphone", "HPOUTR",
52		"LineIn", "LINEINL",
53		"LineIn", "LINEINR",
54		"Mic", "MIC1";
55
56	nvidia,ac97-controller = <&ac97>;
57
58	clocks = <&tegra_car 112>, <&tegra_car 113>, <&tegra_car 93>;
59	clock-names = "pll_a", "pll_a_out0", "mclk";
60};
61