About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / devicetree / bindings / sound / nvidia,tegra-audio-rt5640.txt




Custom Search

Based on kernel version 3.13. Page generated on 2014-01-20 22:01 EST.

1	NVIDIA Tegra audio complex, with RT5640 CODEC
2	
3	Required properties:
4	- compatible : "nvidia,tegra-audio-rt5640"
5	- clocks : Must contain an entry for each entry in clock-names.
6	- clock-names : Must include the following entries:
7	  "pll_a" (The Tegra clock of that name),
8	  "pll_a_out0" (The Tegra clock of that name),
9	  "mclk" (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk)
10	- nvidia,model : The user-visible name of this sound complex.
11	- nvidia,audio-routing : A list of the connections between audio components.
12	  Each entry is a pair of strings, the first being the connection's sink,
13	  the second being the connection's source. Valid names for sources and
14	  sinks are the RT5640's pins (as documented in its binding), and the jacks
15	  on the board:
16	
17	  * Headphones
18	  * Speakers
19	  * Mic Jack
20	
21	- nvidia,i2s-controller : The phandle of the Tegra I2S controller that's
22	  connected to the CODEC.
23	- nvidia,audio-codec : The phandle of the RT5640 audio codec. This binding
24	  assumes that AIF1 on the CODEC is connected to Tegra.
25	
26	Optional properties:
27	- nvidia,hp-det-gpios : The GPIO that detects headphones are plugged in
28	
29	Example:
30	
31	sound {
32		compatible = "nvidia,tegra-audio-rt5640-dalmore",
33				"nvidia,tegra-audio-rt5640";
34		nvidia,model = "NVIDIA Tegra Dalmore";
35	
36		nvidia,audio-routing =
37			"Headphones", "HPOR",
38			"Headphones", "HPOL",
39			"Speakers", "SPORP",
40			"Speakers", "SPORN",
41			"Speakers", "SPOLP",
42			"Speakers", "SPOLN";
43	
44		nvidia,i2s-controller = <&tegra_i2s1>;
45		nvidia,audio-codec = <&rt5640>;
46	
47		nvidia,hp-det-gpios = <&gpio 143 0>; /* GPIO PR7 */
48	
49		clocks = <&tegra_car 216>, <&tegra_car 217>, <&tegra_car 120>;
50		clock-names = "pll_a", "pll_a_out0", "mclk";
51	};
Hide Line Numbers
About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Information is copyright its respective author. All material is available from the Linux Kernel Source distributed under a GPL License. This page is provided as a free service by mjmwired.net.