Commit | Line | Data |
---|---|---|
d8259ca5 SW |
1 | NVIDIA Tegra audio complex |
2 | ||
3 | Required properties: | |
4 | - compatible : "nvidia,tegra-audio-wm8753" | |
f9cd2b3b | 5 | - clocks : Must contain an entry for each entry in clock-names. |
d8f64797 | 6 | See ../clocks/clock-bindings.txt for details. |
f9cd2b3b | 7 | - clock-names : Must include the following entries: |
d8f64797 SW |
8 | - pll_a |
9 | - pll_a_out0 | |
10 | - mclk (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk) | |
d8259ca5 SW |
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 | |
1d61210c MB |
15 | sinks are the WM8753's pins as documented in the binding for the WM8753, |
16 | and the jacks on the board: | |
d8259ca5 SW |
17 | |
18 | * Headphone Jack | |
19 | * Mic Jack | |
20 | ||
21 | - nvidia,i2s-controller : The phandle of the Tegra I2S1 controller | |
22 | - nvidia,audio-codec : The phandle of the WM8753 audio codec | |
23 | Example: | |
24 | ||
25 | sound { | |
26 | compatible = "nvidia,tegra-audio-wm8753-whistler", | |
27 | "nvidia,tegra-audio-wm8753" | |
28 | nvidia,model = "tegra-wm8753-harmony"; | |
29 | ||
30 | nvidia,audio-routing = | |
31 | "Headphone Jack", "LOUT1", | |
32 | "Headphone Jack", "ROUT1"; | |
33 | ||
34 | nvidia,i2s-controller = <&i2s1>; | |
35 | nvidia,audio-codec = <&wm8753>; | |
f9cd2b3b SW |
36 | |
37 | clocks = <&tegra_car 112>, <&tegra_car 113>, <&tegra_car 93>; | |
38 | clock-names = "pll_a", "pll_a_out0", "mclk"; | |
d8259ca5 SW |
39 | }; |
40 |