Nicolin Chen | 8de2ae2 | 2013-06-11 02:43:30 +0800 | [diff] [blame] | 1 | Freescale i.MX audio complex with WM8962 codec |
| 2 | |
| 3 | Required properties: |
Nicolin Chen | 8de2ae2 | 2013-06-11 02:43:30 +0800 | [diff] [blame] | 4 | |
Nicolin Chen | 6a6dec8 | 2014-10-07 12:29:11 -0700 | [diff] [blame] | 5 | - compatible : "fsl,imx-audio-wm8962" |
Nicolin Chen | 8de2ae2 | 2013-06-11 02:43:30 +0800 | [diff] [blame] | 6 | |
Nicolin Chen | 6a6dec8 | 2014-10-07 12:29:11 -0700 | [diff] [blame] | 7 | - model : The user-visible name of this sound complex |
Nicolin Chen | 8de2ae2 | 2013-06-11 02:43:30 +0800 | [diff] [blame] | 8 | |
Nicolin Chen | 6a6dec8 | 2014-10-07 12:29:11 -0700 | [diff] [blame] | 9 | - 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 Chen | 8de2ae2 | 2013-06-11 02:43:30 +0800 | [diff] [blame] | 30 | |
| 31 | Note: The AUDMUX port numbering should start at 1, which is consistent with |
| 32 | hardware manual. |
| 33 | |
| 34 | Example: |
| 35 | |
| 36 | sound { |
| 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 | }; |