]> Pileus Git - ~andy/linux/blob - Documentation/devicetree/bindings/sound/nvidia,tegra-audio-wm8753.txt
Merge branch 'late/dt' into next/dt2
[~andy/linux] / Documentation / devicetree / bindings / sound / nvidia,tegra-audio-wm8753.txt
1 NVIDIA Tegra audio complex
2
3 Required properties:
4 - compatible : "nvidia,tegra-audio-wm8753"
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 WM8753's pins, and the jacks on the board:
15
16   WM8753 pins:
17
18   * LOUT1
19   * LOUT2
20   * ROUT1
21   * ROUT2
22   * MONO1
23   * MONO2
24   * OUT3
25   * OUT4
26   * LINE1
27   * LINE2
28   * RXP
29   * RXN
30   * ACIN
31   * ACOP
32   * MIC1N
33   * MIC1
34   * MIC2N
35   * MIC2
36   * Mic Bias
37
38   Board connectors:
39
40   * Headphone Jack
41   * Mic Jack
42
43 - nvidia,i2s-controller : The phandle of the Tegra I2S1 controller
44 - nvidia,audio-codec : The phandle of the WM8753 audio codec
45 Example:
46
47 sound {
48         compatible = "nvidia,tegra-audio-wm8753-whistler",
49                      "nvidia,tegra-audio-wm8753"
50         nvidia,model = "tegra-wm8753-harmony";
51
52         nvidia,audio-routing =
53                 "Headphone Jack", "LOUT1",
54                 "Headphone Jack", "ROUT1";
55
56         nvidia,i2s-controller = <&i2s1>;
57         nvidia,audio-codec = <&wm8753>;
58
59         clocks = <&tegra_car 112>, <&tegra_car 113>, <&tegra_car 93>;
60         clock-names = "pll_a", "pll_a_out0", "mclk";
61 };
62