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