diff options
author | Nicolas Ferre <nicolas.ferre@atmel.com> | 2013-07-30 06:32:03 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-08-06 13:11:09 -0400 |
commit | fdbcb3cba54b29a37dfe42acdc0e72c543e0807d (patch) | |
tree | 05e27faf0dcea5c452366a9f33a09a4943ac75a1 /Documentation/devicetree/bindings/sound/atmel-sam9x5-wm8731-audio.txt | |
parent | 52f19b14ec18f3166e43cda6a16bb39ffb376053 (diff) |
ASoC: atmel: machine driver for at91sam9x5-wm8731 boards
Description of the Asoc machine driver for an at91sam9x5 based board
with a wm8731 audio DAC. Wm8731 is clocked by a crystal and used as a
master on the SSC/I2S interface. Its connections are a headphone jack
and an Line input jack.
[Richard: this is based on an old patch from Nicolas that I forward
ported and reworked to use only device tree]
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Richard Genoud <richard.genoud@gmail.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/atmel-sam9x5-wm8731-audio.txt')
-rw-r--r-- | Documentation/devicetree/bindings/sound/atmel-sam9x5-wm8731-audio.txt | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/atmel-sam9x5-wm8731-audio.txt b/Documentation/devicetree/bindings/sound/atmel-sam9x5-wm8731-audio.txt new file mode 100644 index 000000000000..0720857089a7 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/atmel-sam9x5-wm8731-audio.txt | |||
@@ -0,0 +1,35 @@ | |||
1 | * Atmel at91sam9x5ek wm8731 audio complex | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: "atmel,sam9x5-wm8731-audio" | ||
5 | - atmel,model: The user-visible name of this sound complex. | ||
6 | - atmel,ssc-controller: The phandle of the SSC controller | ||
7 | - atmel,audio-codec: The phandle of the WM8731 audio codec | ||
8 | - atmel,audio-routing: A list of the connections between audio components. | ||
9 | Each entry is a pair of strings, the first being the connection's sink, | ||
10 | the second being the connection's source. | ||
11 | |||
12 | Available audio endpoints for the audio-routing table: | ||
13 | |||
14 | Board connectors: | ||
15 | * Headphone Jack | ||
16 | * Line In Jack | ||
17 | |||
18 | wm8731 pins: | ||
19 | cf Documentation/devicetree/bindings/sound/wm8731.txt | ||
20 | |||
21 | Example: | ||
22 | sound { | ||
23 | compatible = "atmel,sam9x5-wm8731-audio"; | ||
24 | |||
25 | atmel,model = "wm8731 @ AT91SAM9X5EK"; | ||
26 | |||
27 | atmel,audio-routing = | ||
28 | "Headphone Jack", "RHPOUT", | ||
29 | "Headphone Jack", "LHPOUT", | ||
30 | "LLINEIN", "Line In Jack", | ||
31 | "RLINEIN", "Line In Jack"; | ||
32 | |||
33 | atmel,ssc-controller = <&ssc0>; | ||
34 | atmel,audio-codec = <&wm8731>; | ||
35 | }; | ||