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: |
| 4 | - compatible : "fsl,imx-audio-wm8962" |
| 5 | - model : The user-visible name of this sound complex |
| 6 | - ssi-controller : The phandle of the i.MX SSI controller |
| 7 | - audio-codec : The phandle of the WM8962 audio codec |
| 8 | - 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. Valid names could be power |
| 11 | supplies, WM8962 pins, and the jacks on the board: |
| 12 | |
| 13 | Power supplies: |
| 14 | * Mic Bias |
| 15 | |
| 16 | Board connectors: |
| 17 | * Mic Jack |
| 18 | * Headphone Jack |
| 19 | * Ext Spk |
| 20 | |
| 21 | - mux-int-port : The internal port of the i.MX audio muxer (AUDMUX) |
| 22 | - mux-ext-port : The external port of the i.MX audio muxer |
| 23 | |
| 24 | Note: The AUDMUX port numbering should start at 1, which is consistent with |
| 25 | hardware manual. |
| 26 | |
| 27 | Example: |
| 28 | |
| 29 | sound { |
| 30 | compatible = "fsl,imx6q-sabresd-wm8962", |
| 31 | "fsl,imx-audio-wm8962"; |
| 32 | model = "wm8962-audio"; |
| 33 | ssi-controller = <&ssi2>; |
| 34 | audio-codec = <&codec>; |
| 35 | audio-routing = |
| 36 | "Headphone Jack", "HPOUTL", |
| 37 | "Headphone Jack", "HPOUTR", |
| 38 | "Ext Spk", "SPKOUTL", |
| 39 | "Ext Spk", "SPKOUTR", |
| 40 | "MICBIAS", "AMIC", |
| 41 | "IN3R", "MICBIAS", |
| 42 | "DMIC", "MICBIAS", |
| 43 | "DMICDAT", "DMIC"; |
| 44 | mux-int-port = <2>; |
| 45 | mux-ext-port = <3>; |
| 46 | }; |