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