Merge tag 'omap-for-v4.9/soc-signed' of git://git.kernel.org/pub/scm/linux/kernel...
[deliverable/linux.git] / Documentation / devicetree / bindings / sound / rt5640.txt
CommitLineData
908b7032 1RT5640/RT5639 audio CODEC
dcad9f03
SW
2
3This device supports I2C only.
4
5Required properties:
6
908b7032 7- compatible : One of "realtek,rt5640" or "realtek,rt5639".
dcad9f03
SW
8
9- reg : The I2C address of the device.
10
11- interrupts : The CODEC's interrupt output.
12
13Optional properties:
14
6049af00
SZ
15- clocks: The phandle of the master clock to the CODEC
16- clock-names: Should be "mclk"
17
dcad9f03
SW
18- realtek,in1-differential
19- realtek,in2-differential
16566e47
OC
20- realtek,in3-differential
21 Boolean. Indicate MIC1/2/3 input are differential, rather than single-ended.
dcad9f03
SW
22
23- realtek,ldo1-en-gpios : The GPIO that controls the CODEC's LDO1_EN pin.
24
908b7032 25Pins on the device (for linking into audio routes) for RT5639/RT5640:
b33d1f08
MB
26
27 * DMIC1
28 * DMIC2
29 * MICBIAS1
30 * IN1P
841fdde1 31 * IN1N
b33d1f08 32 * IN2P
841fdde1 33 * IN2N
16566e47
OC
34 * IN3P
35 * IN3N
b33d1f08
MB
36 * HPOL
37 * HPOR
38 * LOUTL
39 * LOUTR
b33d1f08
MB
40 * SPOLP
41 * SPOLN
42 * SPORP
43 * SPORN
44
908b7032
OC
45Additional pins on the device for RT5640:
46
47 * MONOP
48 * MONON
49
dcad9f03
SW
50Example:
51
52rt5640 {
53 compatible = "realtek,rt5640";
54 reg = <0x1c>;
55 interrupt-parent = <&gpio>;
56 interrupts = <TEGRA_GPIO(W, 3) GPIO_ACTIVE_HIGH>;
57 realtek,ldo1-en-gpios =
58 <&gpio TEGRA_GPIO(V, 3) GPIO_ACTIVE_HIGH>;
59};
This page took 0.156595 seconds and 5 git commands to generate.