Commit | Line | Data |
---|---|---|
761bfdd9 LR |
1 | NVIDIA Tegra audio complex |
2 | ||
3 | Required properties: | |
4 | - compatible : "nvidia,tegra-audio-alc5632" | |
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) | |
761bfdd9 LR |
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 | |
81164e61 MB |
15 | sinks are the ALC5632's pins as documented in the binding for the device |
16 | and: | |
761bfdd9 LR |
17 | |
18 | * Headset Stereophone | |
19 | * Int Spk | |
20 | * Headset Mic | |
6334018f | 21 | * Digital Mic |
761bfdd9 LR |
22 | |
23 | - nvidia,i2s-controller : The phandle of the Tegra I2S controller | |
24 | - nvidia,audio-codec : The phandle of the ALC5632 audio codec | |
25 | ||
26 | Example: | |
27 | ||
28 | sound { | |
29 | compatible = "nvidia,tegra-audio-alc5632-paz00", | |
30 | "nvidia,tegra-audio-alc5632"; | |
31 | ||
32 | nvidia,model = "Compal PAZ00"; | |
33 | ||
34 | nvidia,audio-routing = | |
35 | "Int Spk", "SPK_OUTP", | |
36 | "Int Spk", "SPK_OUTN", | |
37 | "Headset Mic","MICBIAS1", | |
38 | "MIC1_N", "Headset Mic", | |
39 | "MIC1_P", "Headset Mic", | |
40 | "Headset Stereophone", "HP_OUT_R", | |
41 | "Headset Stereophone", "HP_OUT_L"; | |
42 | ||
43 | nvidia,i2s-controller = <&tegra_i2s1>; | |
44 | nvidia,audio-codec = <&alc5632>; | |
f9cd2b3b SW |
45 | |
46 | clocks = <&tegra_car 112>, <&tegra_car 113>, <&tegra_car 93>; | |
47 | clock-names = "pll_a", "pll_a_out0", "mclk"; | |
761bfdd9 | 48 | }; |