diff options
Diffstat (limited to 'Documentation/devicetree/bindings/sound/imx-audio-sgtl5000.txt')
-rw-r--r-- | Documentation/devicetree/bindings/sound/imx-audio-sgtl5000.txt | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/imx-audio-sgtl5000.txt b/Documentation/devicetree/bindings/sound/imx-audio-sgtl5000.txt new file mode 100644 index 00000000000..e4acdd891e4 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/imx-audio-sgtl5000.txt | |||
@@ -0,0 +1,49 @@ | |||
1 | Freescale i.MX audio complex with SGTL5000 codec | ||
2 | |||
3 | Required properties: | ||
4 | - compatible : "fsl,imx-audio-sgtl5000" | ||
5 | - model : The user-visible name of this sound complex | ||
6 | - ssi-controller : The phandle of the i.MX SSI controller | ||
7 | - audio-codec : The phandle of the SGTL5000 audio codec | ||
8 | - audio-routing : A list of the connections between audio components. | ||
9 | Each entry is a pair of strings, the first being the connection's sink, | ||
10 | the second being the connection's source. Valid names could be power | ||
11 | supplies, SGTL5000 pins, and the jacks on the board: | ||
12 | |||
13 | Power supplies: | ||
14 | * Mic Bias | ||
15 | |||
16 | SGTL5000 pins: | ||
17 | * MIC_IN | ||
18 | * LINE_IN | ||
19 | * HP_OUT | ||
20 | * LINE_OUT | ||
21 | |||
22 | Board connectors: | ||
23 | * Mic Jack | ||
24 | * Line In Jack | ||
25 | * Headphone Jack | ||
26 | * Line Out Jack | ||
27 | * Ext Spk | ||
28 | |||
29 | - mux-int-port : The internal port of the i.MX audio muxer (AUDMUX) | ||
30 | - mux-ext-port : The external port of the i.MX audio muxer | ||
31 | |||
32 | Note: The AUDMUX port numbering should start at 1, which is consistent with | ||
33 | hardware manual. | ||
34 | |||
35 | Example: | ||
36 | |||
37 | sound { | ||
38 | compatible = "fsl,imx51-babbage-sgtl5000", | ||
39 | "fsl,imx-audio-sgtl5000"; | ||
40 | model = "imx51-babbage-sgtl5000"; | ||
41 | ssi-controller = <&ssi1>; | ||
42 | audio-codec = <&sgtl5000>; | ||
43 | audio-routing = | ||
44 | "MIC_IN", "Mic Jack", | ||
45 | "Mic Jack", "Mic Bias", | ||
46 | "Headphone Jack", "HP_OUT"; | ||
47 | mux-int-port = <1>; | ||
48 | mux-ext-port = <3>; | ||
49 | }; | ||