Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / Documentation / devicetree / bindings / sound / imx-audio-sgtl5000.txt
blob2f89db88fd57c7f121bdaeb4244b4e525578fc9e
1 Freescale i.MX audio complex with SGTL5000 codec
3 Required properties:
5   - compatible          : "fsl,imx-audio-sgtl5000"
7   - model               : The user-visible name of this sound complex
9   - ssi-controller      : The phandle of the i.MX SSI controller
11   - audio-codec         : The phandle of the SGTL5000 audio codec
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:
19                           Power supplies:
20                            * Mic Bias
22                           SGTL5000 pins:
23                            * MIC_IN
24                            * LINE_IN
25                            * HP_OUT
26                            * LINE_OUT
28                           Board connectors:
29                            * Mic Jack
30                            * Line In Jack
31                            * Headphone Jack
32                            * Line Out Jack
33                            * Ext Spk
35   - mux-int-port        : The internal port of the i.MX audio muxer (AUDMUX)
37   - mux-ext-port        : The external port of the i.MX audio muxer
39 Note: The AUDMUX port numbering should start at 1, which is consistent with
40 hardware manual.
42 Example:
44 sound {
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>;