Merge tag 'arc-4.15-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / sound / mxs-audio-sgtl5000.txt
1 * Freescale MXS audio complex with SGTL5000 codec
2
3 Required properties:
4 - compatible            : "fsl,mxs-audio-sgtl5000"
5 - model                 : The user-visible name of this sound complex
6 - saif-controllers      : The phandle list of the MXS SAIF 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
10                           connection's sink, the second being the connection's
11                           source. Valid names could be power supplies, SGTL5000
12                           pins, and the jacks on the board:
13
14                           Power supplies:
15                            * Mic Bias
16
17                           SGTL5000 pins:
18                            * MIC_IN
19                            * LINE_IN
20                            * HP_OUT
21                            * LINE_OUT
22
23                           Board connectors:
24                            * Mic Jack
25                            * Line In Jack
26                            * Headphone Jack
27                            * Line Out Jack
28                            * Ext Spk
29
30 Example:
31
32 sound {
33         compatible = "fsl,imx28-evk-sgtl5000",
34                      "fsl,mxs-audio-sgtl5000";
35         model = "imx28-evk-sgtl5000";
36         saif-controllers = <&saif0 &saif1>;
37         audio-codec = <&sgtl5000>;
38         audio-routing =
39                 "MIC_IN", "Mic Jack",
40                 "Mic Jack", "Mic Bias",
41                 "Headphone Jack", "HP_OUT";
42 };