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