Skip to content

Commit 48a7602

Browse files
Sylwester Nawrockibroonie
authored andcommitted
ASoC: samsung: Add DT bindings documentation for TM2 sound subsystem
This patch adds DT binding documentation for Exnos5433 based TM2 and TM2E boards sound subsystem. Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 95f5609 commit 48a7602

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
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+
};

0 commit comments

Comments
 (0)