Linux 4.1.18
[linux/fpc-iii.git] / Documentation / devicetree / bindings / sound / atmel-wm8904.txt
blob8bbe50c884b69612a51254a5174ab6dbe178a383
1 Atmel ASoC driver with wm8904 audio codec complex
3 Required properties:
4   - compatible: "atmel,asoc-wm8904"
5   - atmel,model: The user-visible name of this sound complex.
6   - atmel,audio-routing: A list of the connections between audio components.
7     Each entry is a pair of strings, the first being the connection's sink,
8     the second being the connection's source. Valid names for sources and
9     sinks are the WM8904's pins, and the jacks on the board:
11     WM8904 pins:
13     * IN1L
14     * IN1R
15     * IN2L
16     * IN2R
17     * IN3L
18     * IN3R
19     * HPOUTL
20     * HPOUTR
21     * LINEOUTL
22     * LINEOUTR
23     * MICBIAS
25     Board connectors:
27     * Headphone Jack
28     * Line In Jack
29     * Mic
31   - atmel,ssc-controller: The phandle of the SSC controller
32   - atmel,audio-codec: The phandle of the WM8904 audio codec
34 Optional properties:
35   - pinctrl-names, pinctrl-0: Please refer to pinctrl-bindings.txt
37 Example:
38 sound {
39         compatible = "atmel,asoc-wm8904";
40         pinctrl-names = "default";
41         pinctrl-0 = <&pinctrl_pck0_as_mck>;
43         atmel,model = "wm8904 @ AT91SAM9N12EK";
45         atmel,audio-routing =
46                 "Headphone Jack", "HPOUTL",
47                 "Headphone Jack", "HPOUTR",
48                 "IN2L", "Line In Jack",
49                 "IN2R", "Line In Jack",
50                 "Mic", "MICBIAS",
51                 "IN1L", "Mic";
53         atmel,ssc-controller = <&ssc0>;
54         atmel,audio-codec = <&wm8904>;