Merge branch 'iks_for_rmk' of git://git.linaro.org/people/nico/linux into devel-stable
[firefly-linux-kernel-4.4.55.git] / Documentation / devicetree / bindings / sound / nvidia,tegra-audio-alc5632.txt
1 NVIDIA Tegra audio complex
2
3 Required properties:
4 - compatible : "nvidia,tegra-audio-alc5632"
5 - clocks : Must contain an entry for each entry in clock-names.
6 - clock-names : Must include the following entries:
7   "pll_a" (The Tegra clock of that name),
8   "pll_a_out0" (The Tegra clock of that name),
9   "mclk" (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk)
10 - nvidia,model : The user-visible name of this sound complex.
11 - nvidia,audio-routing : A list of the connections between audio components.
12   Each entry is a pair of strings, the first being the connection's sink,
13   the second being the connection's source. Valid names for sources and
14   sinks are the ALC5632's pins as documented in the binding for the device
15   and:
16
17   * Headset Stereophone
18   * Int Spk
19   * Headset Mic
20   * Digital Mic
21
22 - nvidia,i2s-controller : The phandle of the Tegra I2S controller
23 - nvidia,audio-codec : The phandle of the ALC5632 audio codec
24
25 Example:
26
27 sound {
28         compatible = "nvidia,tegra-audio-alc5632-paz00",
29                                  "nvidia,tegra-audio-alc5632";
30
31         nvidia,model = "Compal PAZ00";
32
33         nvidia,audio-routing =
34                                 "Int Spk", "SPK_OUTP",
35                                 "Int Spk", "SPK_OUTN",
36                                 "Headset Mic","MICBIAS1",
37                                 "MIC1_N", "Headset Mic",
38                                 "MIC1_P", "Headset Mic",
39                                 "Headset Stereophone", "HP_OUT_R",
40                                 "Headset Stereophone", "HP_OUT_L";
41
42         nvidia,i2s-controller = <&tegra_i2s1>;
43         nvidia,audio-codec = <&alc5632>;
44
45         clocks = <&tegra_car 112>, <&tegra_car 113>, <&tegra_car 93>;
46         clock-names = "pll_a", "pll_a_out0", "mclk";
47 };