18c2ecf20Sopenharmony_ciSamsung Exynos5433 TM2(E) audio complex with WM5110 codec
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciRequired properties:
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ci - compatible		 : "samsung,tm2-audio"
68c2ecf20Sopenharmony_ci - model		 : the user-visible name of this sound complex
78c2ecf20Sopenharmony_ci - audio-codec		 : the first entry should be phandle of the wm5110 audio
88c2ecf20Sopenharmony_ci			   codec node, as described in ../mfd/arizona.txt;
98c2ecf20Sopenharmony_ci			   the second entry should be phandle of the HDMI
108c2ecf20Sopenharmony_ci			   transmitter node
118c2ecf20Sopenharmony_ci - i2s-controller	 : the list of phandle and argument tuples pointing to
128c2ecf20Sopenharmony_ci			   I2S controllers, the first entry should be I2S0 and
138c2ecf20Sopenharmony_ci			   the second one I2S1
148c2ecf20Sopenharmony_ci - audio-amplifier	 : the phandle of the MAX98504 amplifier
158c2ecf20Sopenharmony_ci - samsung,audio-routing : a list of the connections between audio components;
168c2ecf20Sopenharmony_ci			   each entry is a pair of strings, the first being the
178c2ecf20Sopenharmony_ci			   connection's sink, the second being the connection's
188c2ecf20Sopenharmony_ci			   source; valid names for sources and sinks are the
198c2ecf20Sopenharmony_ci			   WM5110's and MAX98504's pins and the jacks on the
208c2ecf20Sopenharmony_ci			   board: HP, SPK, Main Mic, Sub Mic, Third Mic,
218c2ecf20Sopenharmony_ci			   Headset Mic
228c2ecf20Sopenharmony_ci - mic-bias-gpios	 : GPIO pin that enables the Main Mic bias regulator
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ciExample:
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_cisound {
288c2ecf20Sopenharmony_ci	compatible = "samsung,tm2-audio";
298c2ecf20Sopenharmony_ci	audio-codec = <&wm5110>, <&hdmi>;
308c2ecf20Sopenharmony_ci	i2s-controller = <&i2s0 0>, <&i2s1 0>;
318c2ecf20Sopenharmony_ci	audio-amplifier = <&max98504>;
328c2ecf20Sopenharmony_ci	mic-bias-gpios = <&gpr3 2 0>;
338c2ecf20Sopenharmony_ci	model = "wm5110";
348c2ecf20Sopenharmony_ci	samsung,audio-routing =
358c2ecf20Sopenharmony_ci		"HP", "HPOUT1L",
368c2ecf20Sopenharmony_ci		"HP", "HPOUT1R",
378c2ecf20Sopenharmony_ci		"SPK", "SPKOUT",
388c2ecf20Sopenharmony_ci		"SPKOUT", "HPOUT2L",
398c2ecf20Sopenharmony_ci		"SPKOUT", "HPOUT2R",
408c2ecf20Sopenharmony_ci		"Main Mic", "MICBIAS2",
418c2ecf20Sopenharmony_ci		"IN1R", "Main Mic";
428c2ecf20Sopenharmony_ci};
43