18c2ecf20Sopenharmony_ciNVIDIA Tegra audio complex
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciRequired properties:
48c2ecf20Sopenharmony_ci- compatible : "nvidia,tegra-audio-alc5632"
58c2ecf20Sopenharmony_ci- clocks : Must contain an entry for each entry in clock-names.
68c2ecf20Sopenharmony_ci  See ../clocks/clock-bindings.txt for details.
78c2ecf20Sopenharmony_ci- clock-names : Must include the following entries:
88c2ecf20Sopenharmony_ci  - pll_a
98c2ecf20Sopenharmony_ci  - pll_a_out0
108c2ecf20Sopenharmony_ci  - mclk (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk)
118c2ecf20Sopenharmony_ci- nvidia,model : The user-visible name of this sound complex.
128c2ecf20Sopenharmony_ci- nvidia,audio-routing : A list of the connections between audio components.
138c2ecf20Sopenharmony_ci  Each entry is a pair of strings, the first being the connection's sink,
148c2ecf20Sopenharmony_ci  the second being the connection's source. Valid names for sources and
158c2ecf20Sopenharmony_ci  sinks are the ALC5632's pins as documented in the binding for the device
168c2ecf20Sopenharmony_ci  and:
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ci  * Headset Stereophone
198c2ecf20Sopenharmony_ci  * Int Spk
208c2ecf20Sopenharmony_ci  * Headset Mic
218c2ecf20Sopenharmony_ci  * Digital Mic
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ci- nvidia,i2s-controller : The phandle of the Tegra I2S controller
248c2ecf20Sopenharmony_ci- nvidia,audio-codec : The phandle of the ALC5632 audio codec
258c2ecf20Sopenharmony_ci
268c2ecf20Sopenharmony_ciExample:
278c2ecf20Sopenharmony_ci
288c2ecf20Sopenharmony_cisound {
298c2ecf20Sopenharmony_ci	compatible = "nvidia,tegra-audio-alc5632-paz00",
308c2ecf20Sopenharmony_ci				 "nvidia,tegra-audio-alc5632";
318c2ecf20Sopenharmony_ci
328c2ecf20Sopenharmony_ci	nvidia,model = "Compal PAZ00";
338c2ecf20Sopenharmony_ci
348c2ecf20Sopenharmony_ci	nvidia,audio-routing =
358c2ecf20Sopenharmony_ci				"Int Spk", "SPK_OUTP",
368c2ecf20Sopenharmony_ci				"Int Spk", "SPK_OUTN",
378c2ecf20Sopenharmony_ci				"Headset Mic","MICBIAS1",
388c2ecf20Sopenharmony_ci				"MIC1_N", "Headset Mic",
398c2ecf20Sopenharmony_ci				"MIC1_P", "Headset Mic",
408c2ecf20Sopenharmony_ci				"Headset Stereophone", "HP_OUT_R",
418c2ecf20Sopenharmony_ci				"Headset Stereophone", "HP_OUT_L";
428c2ecf20Sopenharmony_ci
438c2ecf20Sopenharmony_ci	nvidia,i2s-controller = <&tegra_i2s1>;
448c2ecf20Sopenharmony_ci	nvidia,audio-codec = <&alc5632>;
458c2ecf20Sopenharmony_ci
468c2ecf20Sopenharmony_ci	clocks = <&tegra_car 112>, <&tegra_car 113>, <&tegra_car 93>;
478c2ecf20Sopenharmony_ci	clock-names = "pll_a", "pll_a_out0", "mclk";
488c2ecf20Sopenharmony_ci};
49