diff options
author | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2016-11-02 12:02:37 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-12-01 16:54:27 -0500 |
commit | 48a760279ba31c59b8cfb14c5be9ed1c8e191038 (patch) | |
tree | 2c51a0bb72bd634eb7865bb24cba180671f53a3f | |
parent | 95f5609d223d661419061bd6231da01a317c30d9 (diff) |
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>
-rw-r--r-- | Documentation/devicetree/bindings/sound/samsung,tm2-audio.txt | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/samsung,tm2-audio.txt b/Documentation/devicetree/bindings/sound/samsung,tm2-audio.txt new file mode 100644 index 000000000000..94442e5673b3 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/samsung,tm2-audio.txt | |||
@@ -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 | }; | ||