Stephen Warren | d8259ca | 2012-05-17 16:59:51 -0600 | [diff] [blame] | 1 | NVIDIA Tegra audio complex |
| 2 | |
| 3 | Required properties: |
| 4 | - compatible : "nvidia,tegra-audio-wm8753" |
Stephen Warren | f9cd2b3 | 2013-03-26 16:45:52 -0600 | [diff] [blame] | 5 | - clocks : Must contain an entry for each entry in clock-names. |
Stephen Warren | d8f6479 | 2013-11-06 14:00:25 -0700 | [diff] [blame] | 6 | See ../clocks/clock-bindings.txt for details. |
Stephen Warren | f9cd2b3 | 2013-03-26 16:45:52 -0600 | [diff] [blame] | 7 | - clock-names : Must include the following entries: |
Stephen Warren | d8f6479 | 2013-11-06 14:00:25 -0700 | [diff] [blame] | 8 | - pll_a |
| 9 | - pll_a_out0 |
| 10 | - mclk (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk) |
Stephen Warren | d8259ca | 2012-05-17 16:59:51 -0600 | [diff] [blame] | 11 | - nvidia,model : The user-visible name of this sound complex. |
| 12 | - nvidia,audio-routing : A list of the connections between audio components. |
| 13 | Each entry is a pair of strings, the first being the connection's sink, |
| 14 | the second being the connection's source. Valid names for sources and |
Mark Brown | 1d61210 | 2013-08-11 18:59:35 +0100 | [diff] [blame] | 15 | sinks are the WM8753's pins as documented in the binding for the WM8753, |
| 16 | and the jacks on the board: |
Stephen Warren | d8259ca | 2012-05-17 16:59:51 -0600 | [diff] [blame] | 17 | |
| 18 | * Headphone Jack |
| 19 | * Mic Jack |
| 20 | |
| 21 | - nvidia,i2s-controller : The phandle of the Tegra I2S1 controller |
| 22 | - nvidia,audio-codec : The phandle of the WM8753 audio codec |
| 23 | Example: |
| 24 | |
| 25 | sound { |
| 26 | compatible = "nvidia,tegra-audio-wm8753-whistler", |
| 27 | "nvidia,tegra-audio-wm8753" |
| 28 | nvidia,model = "tegra-wm8753-harmony"; |
| 29 | |
| 30 | nvidia,audio-routing = |
| 31 | "Headphone Jack", "LOUT1", |
| 32 | "Headphone Jack", "ROUT1"; |
| 33 | |
| 34 | nvidia,i2s-controller = <&i2s1>; |
| 35 | nvidia,audio-codec = <&wm8753>; |
Stephen Warren | f9cd2b3 | 2013-03-26 16:45:52 -0600 | [diff] [blame] | 36 | |
| 37 | clocks = <&tegra_car 112>, <&tegra_car 113>, <&tegra_car 93>; |
| 38 | clock-names = "pll_a", "pll_a_out0", "mclk"; |
Stephen Warren | d8259ca | 2012-05-17 16:59:51 -0600 | [diff] [blame] | 39 | }; |
| 40 | |