blob: acea71bee34fbfdf88119a82a7f6bbbdf5454948 [file] [log] [blame]
Nicolin Chen8de2ae22013-06-11 02:43:30 +08001Freescale i.MX audio complex with WM8962 codec
2
3Required properties:
Nicolin Chen8de2ae22013-06-11 02:43:30 +08004
Nicolin Chen6a6dec82014-10-07 12:29:11 -07005 - compatible : "fsl,imx-audio-wm8962"
Nicolin Chen8de2ae22013-06-11 02:43:30 +08006
Nicolin Chen6a6dec82014-10-07 12:29:11 -07007 - model : The user-visible name of this sound complex
Nicolin Chen8de2ae22013-06-11 02:43:30 +08008
Nicolin Chen6a6dec82014-10-07 12:29:11 -07009 - ssi-controller : The phandle of the i.MX SSI controller
10
11 - audio-codec : The phandle of the WM8962 audio codec
12
13 - audio-routing : A list of the connections between audio components.
14 Each entry is a pair of strings, the first being the
15 connection's sink, the second being the connection's
16 source. Valid names could be power supplies, WM8962
17 pins, and the jacks on the board:
18
19 Power supplies:
20 * Mic Bias
21
22 Board connectors:
23 * Mic Jack
24 * Headphone Jack
25 * Ext Spk
26
27 - mux-int-port : The internal port of the i.MX audio muxer (AUDMUX)
28
29 - mux-ext-port : The external port of the i.MX audio muxer
Nicolin Chen8de2ae22013-06-11 02:43:30 +080030
31Note: The AUDMUX port numbering should start at 1, which is consistent with
32hardware manual.
33
34Example:
35
36sound {
37 compatible = "fsl,imx6q-sabresd-wm8962",
38 "fsl,imx-audio-wm8962";
39 model = "wm8962-audio";
40 ssi-controller = <&ssi2>;
41 audio-codec = <&codec>;
42 audio-routing =
43 "Headphone Jack", "HPOUTL",
44 "Headphone Jack", "HPOUTR",
45 "Ext Spk", "SPKOUTL",
46 "Ext Spk", "SPKOUTR",
47 "MICBIAS", "AMIC",
48 "IN3R", "MICBIAS",
49 "DMIC", "MICBIAS",
50 "DMICDAT", "DMIC";
51 mux-int-port = <2>;
52 mux-ext-port = <3>;
53};