GNU Linux-libre 4.14.294-gnu1
[releases.git] / Documentation / devicetree / bindings / sound / samsung,tm2-audio.txt
1 Samsung Exynos5433 TM2(E) audio complex with WM5110 codec
2
3 Required properties:
4
5  - compatible            : "samsung,tm2-audio"
6  - model                 : the user-visible name of this sound complex
7  - audio-codec           : the phandle of the wm5110 audio codec node,
8                            as described in ../mfd/arizona.txt
9  - i2s-controller        : the phandle of the I2S controller
10  - audio-amplifier       : the phandle of the MAX98504 amplifier
11  - samsung,audio-routing : a list of the connections between audio components;
12                            each entry is a pair of strings, the first being the
13                            connection's sink, the second being the connection's
14                            source; valid names for sources and sinks are the
15                            WM5110's and MAX98504's pins and the jacks on the
16                            board: HP, SPK, Main Mic, Sub Mic, Third Mic,
17                            Headset Mic
18  - mic-bias-gpios        : GPIO pin that enables the Main Mic bias regulator
19
20
21 Example:
22
23 sound {
24         compatible = "samsung,tm2-audio";
25         audio-codec = <&wm5110>;
26         i2s-controller = <&i2s0>;
27         audio-amplifier = <&max98504>;
28         mic-bias-gpios = <&gpr3 2 0>;
29         model = "wm5110";
30         samsung,audio-routing =
31                 "HP", "HPOUT1L",
32                 "HP", "HPOUT1R",
33                 "SPK", "SPKOUT",
34                 "SPKOUT", "HPOUT2L",
35                 "SPKOUT", "HPOUT2R",
36                 "Main Mic", "MICBIAS2",
37                 "IN1R", "Main Mic";
38 };