Commit | Line | Data |
---|---|---|
c448303e SG |
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 | |
172b4c5c SG |
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 | ||
c448303e SG |
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>; | |
172b4c5c | 43 | audio-routing = |
065899c9 | 44 | "MIC_IN", "Mic Jack", |
172b4c5c | 45 | "Mic Jack", "Mic Bias", |
172b4c5c | 46 | "Headphone Jack", "HP_OUT"; |
c448303e SG |
47 | mux-int-port = <1>; |
48 | mux-ext-port = <3>; | |
49 | }; |