blob: 068a1141b06f19de0f5206e97de40f0af6793812 [file] [log] [blame]
Stephen Warrendcad9f02013-06-12 11:34:30 -06001RT5640 audio CODEC
2
3This device supports I2C only.
4
5Required properties:
6
7- compatible : "realtek,rt5640".
8
9- reg : The I2C address of the device.
10
11- interrupts : The CODEC's interrupt output.
12
13Optional 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
Mark Brownb33d1f02013-08-11 18:59:20 +010021Pins 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
Stephen Warrendcad9f02013-06-12 11:34:30 -060041Example:
42
43rt5640 {
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};