Commit | Line | Data |
---|---|---|
fdbcb3cb NF |
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 | }; |