blob: 57f40f93453ecabbf89763ef66a2f709ca29af7b [file] [log] [blame]
Kyle Swenson8d8f6542021-03-15 11:02:55 -06001NVIDIA Tegra audio complex
2
3Required properties:
4- compatible : "nvidia,tegra-audio-alc5632"
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 ALC5632's pins as documented in the binding for the device
16 and:
17
18 * Headset Stereophone
19 * Int Spk
20 * Headset Mic
21 * Digital Mic
22
23- nvidia,i2s-controller : The phandle of the Tegra I2S controller
24- nvidia,audio-codec : The phandle of the ALC5632 audio codec
25
26Example:
27
28sound {
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>;
45
46 clocks = <&tegra_car 112>, <&tegra_car 113>, <&tegra_car 93>;
47 clock-names = "pll_a", "pll_a_out0", "mclk";
48};