blob: 96f6a57dd6b40669b5addf6fbd9319b81c501fae [file] [log] [blame]
Stephen Warrend8259ca2012-05-17 16:59:51 -06001NVIDIA Tegra audio complex
2
3Required properties:
4- compatible : "nvidia,tegra-audio-wm8753"
Stephen Warrenf9cd2b32013-03-26 16:45:52 -06005- clocks : Must contain an entry for each entry in clock-names.
Stephen Warrend8f64792013-11-06 14:00:25 -07006 See ../clocks/clock-bindings.txt for details.
Stephen Warrenf9cd2b32013-03-26 16:45:52 -06007- clock-names : Must include the following entries:
Stephen Warrend8f64792013-11-06 14:00:25 -07008 - pll_a
9 - pll_a_out0
10 - mclk (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk)
Stephen Warrend8259ca2012-05-17 16:59:51 -060011- 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 Brown1d612102013-08-11 18:59:35 +010015 sinks are the WM8753's pins as documented in the binding for the WM8753,
16 and the jacks on the board:
Stephen Warrend8259ca2012-05-17 16:59:51 -060017
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
23Example:
24
25sound {
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 Warrenf9cd2b32013-03-26 16:45:52 -060036
37 clocks = <&tegra_car 112>, <&tegra_car 113>, <&tegra_car 93>;
38 clock-names = "pll_a", "pll_a_out0", "mclk";
Stephen Warrend8259ca2012-05-17 16:59:51 -060039};
40