xref: /freebsd/sys/contrib/device-tree/Bindings/sound/nvidia,tegra-audio-alc5632.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotNVIDIA Tegra audio complex
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot- compatible : "nvidia,tegra-audio-alc5632"
5*c66ec88fSEmmanuel Vadot- clocks : Must contain an entry for each entry in clock-names.
6*c66ec88fSEmmanuel Vadot  See ../clocks/clock-bindings.txt for details.
7*c66ec88fSEmmanuel Vadot- clock-names : Must include the following entries:
8*c66ec88fSEmmanuel Vadot  - pll_a
9*c66ec88fSEmmanuel Vadot  - pll_a_out0
10*c66ec88fSEmmanuel Vadot  - mclk (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk)
11*c66ec88fSEmmanuel Vadot- nvidia,model : The user-visible name of this sound complex.
12*c66ec88fSEmmanuel Vadot- nvidia,audio-routing : A list of the connections between audio components.
13*c66ec88fSEmmanuel Vadot  Each entry is a pair of strings, the first being the connection's sink,
14*c66ec88fSEmmanuel Vadot  the second being the connection's source. Valid names for sources and
15*c66ec88fSEmmanuel Vadot  sinks are the ALC5632's pins as documented in the binding for the device
16*c66ec88fSEmmanuel Vadot  and:
17*c66ec88fSEmmanuel Vadot
18*c66ec88fSEmmanuel Vadot  * Headset Stereophone
19*c66ec88fSEmmanuel Vadot  * Int Spk
20*c66ec88fSEmmanuel Vadot  * Headset Mic
21*c66ec88fSEmmanuel Vadot  * Digital Mic
22*c66ec88fSEmmanuel Vadot
23*c66ec88fSEmmanuel Vadot- nvidia,i2s-controller : The phandle of the Tegra I2S controller
24*c66ec88fSEmmanuel Vadot- nvidia,audio-codec : The phandle of the ALC5632 audio codec
25*c66ec88fSEmmanuel Vadot
26*c66ec88fSEmmanuel VadotExample:
27*c66ec88fSEmmanuel Vadot
28*c66ec88fSEmmanuel Vadotsound {
29*c66ec88fSEmmanuel Vadot	compatible = "nvidia,tegra-audio-alc5632-paz00",
30*c66ec88fSEmmanuel Vadot				 "nvidia,tegra-audio-alc5632";
31*c66ec88fSEmmanuel Vadot
32*c66ec88fSEmmanuel Vadot	nvidia,model = "Compal PAZ00";
33*c66ec88fSEmmanuel Vadot
34*c66ec88fSEmmanuel Vadot	nvidia,audio-routing =
35*c66ec88fSEmmanuel Vadot				"Int Spk", "SPK_OUTP",
36*c66ec88fSEmmanuel Vadot				"Int Spk", "SPK_OUTN",
37*c66ec88fSEmmanuel Vadot				"Headset Mic","MICBIAS1",
38*c66ec88fSEmmanuel Vadot				"MIC1_N", "Headset Mic",
39*c66ec88fSEmmanuel Vadot				"MIC1_P", "Headset Mic",
40*c66ec88fSEmmanuel Vadot				"Headset Stereophone", "HP_OUT_R",
41*c66ec88fSEmmanuel Vadot				"Headset Stereophone", "HP_OUT_L";
42*c66ec88fSEmmanuel Vadot
43*c66ec88fSEmmanuel Vadot	nvidia,i2s-controller = <&tegra_i2s1>;
44*c66ec88fSEmmanuel Vadot	nvidia,audio-codec = <&alc5632>;
45*c66ec88fSEmmanuel Vadot
46*c66ec88fSEmmanuel Vadot	clocks = <&tegra_car 112>, <&tegra_car 113>, <&tegra_car 93>;
47*c66ec88fSEmmanuel Vadot	clock-names = "pll_a", "pll_a_out0", "mclk";
48*c66ec88fSEmmanuel Vadot};
49