diff options
Diffstat (limited to 'Documentation/devicetree/bindings/sound/tegra-audio-alc5632.txt')
-rw-r--r-- | Documentation/devicetree/bindings/sound/tegra-audio-alc5632.txt | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/tegra-audio-alc5632.txt b/Documentation/devicetree/bindings/sound/tegra-audio-alc5632.txt new file mode 100644 index 000000000000..b77a97c9101e --- /dev/null +++ b/Documentation/devicetree/bindings/sound/tegra-audio-alc5632.txt | |||
@@ -0,0 +1,59 @@ | |||
1 | NVIDIA Tegra audio complex | ||
2 | |||
3 | Required properties: | ||
4 | - compatible : "nvidia,tegra-audio-alc5632" | ||
5 | - nvidia,model : The user-visible name of this sound complex. | ||
6 | - nvidia,audio-routing : A list of the connections between audio components. | ||
7 | Each entry is a pair of strings, the first being the connection's sink, | ||
8 | the second being the connection's source. Valid names for sources and | ||
9 | sinks are the ALC5632's pins: | ||
10 | |||
11 | ALC5632 pins: | ||
12 | |||
13 | * SPK_OUTP | ||
14 | * SPK_OUTN | ||
15 | * HP_OUT_L | ||
16 | * HP_OUT_R | ||
17 | * AUX_OUT_P | ||
18 | * AUX_OUT_N | ||
19 | * LINE_IN_L | ||
20 | * LINE_IN_R | ||
21 | * PHONE_P | ||
22 | * PHONE_N | ||
23 | * MIC1_P | ||
24 | * MIC1_N | ||
25 | * MIC2_P | ||
26 | * MIC2_N | ||
27 | * MICBIAS1 | ||
28 | * DMICDAT | ||
29 | |||
30 | Board connectors: | ||
31 | |||
32 | * Headset Stereophone | ||
33 | * Int Spk | ||
34 | * Headset Mic | ||
35 | * Digital Mic | ||
36 | |||
37 | - nvidia,i2s-controller : The phandle of the Tegra I2S controller | ||
38 | - nvidia,audio-codec : The phandle of the ALC5632 audio codec | ||
39 | |||
40 | Example: | ||
41 | |||
42 | sound { | ||
43 | compatible = "nvidia,tegra-audio-alc5632-paz00", | ||
44 | "nvidia,tegra-audio-alc5632"; | ||
45 | |||
46 | nvidia,model = "Compal PAZ00"; | ||
47 | |||
48 | nvidia,audio-routing = | ||
49 | "Int Spk", "SPK_OUTP", | ||
50 | "Int Spk", "SPK_OUTN", | ||
51 | "Headset Mic","MICBIAS1", | ||
52 | "MIC1_N", "Headset Mic", | ||
53 | "MIC1_P", "Headset Mic", | ||
54 | "Headset Stereophone", "HP_OUT_R", | ||
55 | "Headset Stereophone", "HP_OUT_L"; | ||
56 | |||
57 | nvidia,i2s-controller = <&tegra_i2s1>; | ||
58 | nvidia,audio-codec = <&alc5632>; | ||
59 | }; | ||