About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / devicetree / bindings / sound / rt5640.txt




Custom Search

Based on kernel version 3.15.4. Page generated on 2014-07-07 09:01 EST.

1	RT5640 audio CODEC
2	
3	This device supports I2C only.
4	
5	Required properties:
6	
7	- compatible : "realtek,rt5640".
8	
9	- reg : The I2C address of the device.
10	
11	- interrupts : The CODEC's interrupt output.
12	
13	Optional properties:
14	
15	- realtek,in1-differential
16	- realtek,in2-differential
17	  Boolean. Indicate MIC1/2 input are differential, rather than single-ended.
18	
19	- realtek,ldo1-en-gpios : The GPIO that controls the CODEC's LDO1_EN pin.
20	
21	Pins on the device (for linking into audio routes):
22	
23	  * DMIC1
24	  * DMIC2
25	  * MICBIAS1
26	  * IN1P
27	  * IN1R
28	  * IN2P
29	  * IN2R
30	  * HPOL
31	  * HPOR
32	  * LOUTL
33	  * LOUTR
34	  * MONOP
35	  * MONON
36	  * SPOLP
37	  * SPOLN
38	  * SPORP
39	  * SPORN
40	
41	Example:
42	
43	rt5640 {
44		compatible = "realtek,rt5640";
45		reg = <0x1c>;
46		interrupt-parent = <&gpio>;
47		interrupts = <TEGRA_GPIO(W, 3) GPIO_ACTIVE_HIGH>;
48		realtek,ldo1-en-gpios =
49			<&gpio TEGRA_GPIO(V, 3) GPIO_ACTIVE_HIGH>;
50	};
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.