xref: /openbmc/linux/Documentation/devicetree/bindings/sound/mxs-audio-sgtl5000.txt (revision 552c69b36ebd966186573b9c7a286b390935cce1)
1e968194bSShawn Guo* Freescale MXS audio complex with SGTL5000 codec
2e968194bSShawn Guo
3e968194bSShawn GuoRequired properties:
4e968194bSShawn Guo- compatible		: "fsl,mxs-audio-sgtl5000"
5e968194bSShawn Guo- model			: The user-visible name of this sound complex
6e968194bSShawn Guo- saif-controllers	: The phandle list of the MXS SAIF controller
7e968194bSShawn Guo- audio-codec		: The phandle of the SGTL5000 audio codec
8*949293d4SChristian Fischer- audio-routing		: A list of the connections between audio components.
9*949293d4SChristian Fischer			  Each entry is a pair of strings, the first being the
10*949293d4SChristian Fischer			  connection's sink, the second being the connection's
11*949293d4SChristian Fischer			  source. Valid names could be power supplies, SGTL5000
12*949293d4SChristian Fischer			  pins, and the jacks on the board:
13*949293d4SChristian Fischer
14*949293d4SChristian Fischer			  Power supplies:
15*949293d4SChristian Fischer			   * Mic Bias
16*949293d4SChristian Fischer
17*949293d4SChristian Fischer			  SGTL5000 pins:
18*949293d4SChristian Fischer			   * MIC_IN
19*949293d4SChristian Fischer			   * LINE_IN
20*949293d4SChristian Fischer			   * HP_OUT
21*949293d4SChristian Fischer			   * LINE_OUT
22*949293d4SChristian Fischer
23*949293d4SChristian Fischer			  Board connectors:
24*949293d4SChristian Fischer			   * Mic Jack
25*949293d4SChristian Fischer			   * Line In Jack
26*949293d4SChristian Fischer			   * Headphone Jack
27*949293d4SChristian Fischer			   * Line Out Jack
28*949293d4SChristian Fischer			   * Ext Spk
29e968194bSShawn Guo
30e968194bSShawn GuoExample:
31e968194bSShawn Guo
32e968194bSShawn Guosound {
33e968194bSShawn Guo	compatible = "fsl,imx28-evk-sgtl5000",
34e968194bSShawn Guo		     "fsl,mxs-audio-sgtl5000";
35e968194bSShawn Guo	model = "imx28-evk-sgtl5000";
36e968194bSShawn Guo	saif-controllers = <&saif0 &saif1>;
37e968194bSShawn Guo	audio-codec = <&sgtl5000>;
38*949293d4SChristian Fischer	audio-routing =
39*949293d4SChristian Fischer		"MIC_IN", "Mic Jack",
40*949293d4SChristian Fischer		"Mic Jack", "Mic Bias",
41*949293d4SChristian Fischer		"Headphone Jack", "HP_OUT";
42e968194bSShawn Guo};
43