xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/samsung,tm2-audio.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSamsung Exynos5433 TM2(E) audio complex with WM5110 codec
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun
5*4882a593Smuzhiyun - compatible		 : "samsung,tm2-audio"
6*4882a593Smuzhiyun - model		 : the user-visible name of this sound complex
7*4882a593Smuzhiyun - audio-codec		 : the first entry should be phandle of the wm5110 audio
8*4882a593Smuzhiyun			   codec node, as described in ../mfd/arizona.txt;
9*4882a593Smuzhiyun			   the second entry should be phandle of the HDMI
10*4882a593Smuzhiyun			   transmitter node
11*4882a593Smuzhiyun - i2s-controller	 : the list of phandle and argument tuples pointing to
12*4882a593Smuzhiyun			   I2S controllers, the first entry should be I2S0 and
13*4882a593Smuzhiyun			   the second one I2S1
14*4882a593Smuzhiyun - audio-amplifier	 : the phandle of the MAX98504 amplifier
15*4882a593Smuzhiyun - samsung,audio-routing : a list of the connections between audio components;
16*4882a593Smuzhiyun			   each entry is a pair of strings, the first being the
17*4882a593Smuzhiyun			   connection's sink, the second being the connection's
18*4882a593Smuzhiyun			   source; valid names for sources and sinks are the
19*4882a593Smuzhiyun			   WM5110's and MAX98504's pins and the jacks on the
20*4882a593Smuzhiyun			   board: HP, SPK, Main Mic, Sub Mic, Third Mic,
21*4882a593Smuzhiyun			   Headset Mic
22*4882a593Smuzhiyun - mic-bias-gpios	 : GPIO pin that enables the Main Mic bias regulator
23*4882a593Smuzhiyun
24*4882a593Smuzhiyun
25*4882a593SmuzhiyunExample:
26*4882a593Smuzhiyun
27*4882a593Smuzhiyunsound {
28*4882a593Smuzhiyun	compatible = "samsung,tm2-audio";
29*4882a593Smuzhiyun	audio-codec = <&wm5110>, <&hdmi>;
30*4882a593Smuzhiyun	i2s-controller = <&i2s0 0>, <&i2s1 0>;
31*4882a593Smuzhiyun	audio-amplifier = <&max98504>;
32*4882a593Smuzhiyun	mic-bias-gpios = <&gpr3 2 0>;
33*4882a593Smuzhiyun	model = "wm5110";
34*4882a593Smuzhiyun	samsung,audio-routing =
35*4882a593Smuzhiyun		"HP", "HPOUT1L",
36*4882a593Smuzhiyun		"HP", "HPOUT1R",
37*4882a593Smuzhiyun		"SPK", "SPKOUT",
38*4882a593Smuzhiyun		"SPKOUT", "HPOUT2L",
39*4882a593Smuzhiyun		"SPKOUT", "HPOUT2R",
40*4882a593Smuzhiyun		"Main Mic", "MICBIAS2",
41*4882a593Smuzhiyun		"IN1R", "Main Mic";
42*4882a593Smuzhiyun};
43