xref: /freebsd/sys/contrib/device-tree/Bindings/sound/mxs-audio-sgtl5000.txt (revision cfd6422a5217410fbd66f7a7a8a64d9d85e61229)
1* Freescale MXS audio complex with SGTL5000 codec
2
3Required 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
30Example:
31
32sound {
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};
43