18c2ecf20Sopenharmony_ciNVIDIA Tegra audio complex
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciRequired properties:
48c2ecf20Sopenharmony_ci- compatible : "nvidia,tegra-audio-wm9712"
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 WM9712's pins, and the jacks on the board:
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ci  WM9712 pins:
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ci  * MONOOUT
208c2ecf20Sopenharmony_ci  * HPOUTL
218c2ecf20Sopenharmony_ci  * HPOUTR
228c2ecf20Sopenharmony_ci  * LOUT2
238c2ecf20Sopenharmony_ci  * ROUT2
248c2ecf20Sopenharmony_ci  * OUT3
258c2ecf20Sopenharmony_ci  * LINEINL
268c2ecf20Sopenharmony_ci  * LINEINR
278c2ecf20Sopenharmony_ci  * PHONE
288c2ecf20Sopenharmony_ci  * PCBEEP
298c2ecf20Sopenharmony_ci  * MIC1
308c2ecf20Sopenharmony_ci  * MIC2
318c2ecf20Sopenharmony_ci  * Mic Bias
328c2ecf20Sopenharmony_ci
338c2ecf20Sopenharmony_ci  Board connectors:
348c2ecf20Sopenharmony_ci
358c2ecf20Sopenharmony_ci  * Headphone
368c2ecf20Sopenharmony_ci  * LineIn
378c2ecf20Sopenharmony_ci  * Mic
388c2ecf20Sopenharmony_ci
398c2ecf20Sopenharmony_ci- nvidia,ac97-controller : The phandle of the Tegra AC97 controller
408c2ecf20Sopenharmony_ci
418c2ecf20Sopenharmony_ci
428c2ecf20Sopenharmony_ciExample:
438c2ecf20Sopenharmony_ci
448c2ecf20Sopenharmony_cisound {
458c2ecf20Sopenharmony_ci	compatible = "nvidia,tegra-audio-wm9712-colibri_t20",
468c2ecf20Sopenharmony_ci		         "nvidia,tegra-audio-wm9712";
478c2ecf20Sopenharmony_ci	nvidia,model = "Toradex Colibri T20";
488c2ecf20Sopenharmony_ci
498c2ecf20Sopenharmony_ci	nvidia,audio-routing =
508c2ecf20Sopenharmony_ci		"Headphone", "HPOUTL",
518c2ecf20Sopenharmony_ci		"Headphone", "HPOUTR",
528c2ecf20Sopenharmony_ci		"LineIn", "LINEINL",
538c2ecf20Sopenharmony_ci		"LineIn", "LINEINR",
548c2ecf20Sopenharmony_ci		"Mic", "MIC1";
558c2ecf20Sopenharmony_ci
568c2ecf20Sopenharmony_ci	nvidia,ac97-controller = <&ac97>;
578c2ecf20Sopenharmony_ci
588c2ecf20Sopenharmony_ci	clocks = <&tegra_car 112>, <&tegra_car 113>, <&tegra_car 93>;
598c2ecf20Sopenharmony_ci	clock-names = "pll_a", "pll_a_out0", "mclk";
608c2ecf20Sopenharmony_ci};
61