fb: adv7393: off by one in probe function
[deliverable/linux.git] / Documentation / devicetree / bindings / sound / rt5659.txt
1 RT5659/RT5658 audio CODEC
2
3 This device supports I2C only.
4
5 Required properties:
6
7 - compatible : One of "realtek,rt5659" or "realtek,rt5658".
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,in3-differential
17 - realtek,in4-differential
18 Boolean. Indicate MIC1/3/4 input are differential, rather than single-ended.
19
20 - realtek,dmic1-data-pin
21 0: dmic1 is not used
22 1: using IN2N pin as dmic1 data pin
23 2: using GPIO5 pin as dmic1 data pin
24 3: using GPIO9 pin as dmic1 data pin
25 4: using GPIO11 pin as dmic1 data pin
26
27 - realtek,dmic2-data-pin
28 0: dmic2 is not used
29 1: using IN2P pin as dmic2 data pin
30 2: using GPIO6 pin as dmic2 data pin
31 3: using GPIO10 pin as dmic2 data pin
32 4: using GPIO12 pin as dmic2 data pin
33
34 - realtek,jd-src
35 0: No JD is used
36 1: using JD3 as JD source
37
38 - realtek,ldo1-en-gpios : The GPIO that controls the CODEC's LDO1_EN pin.
39 - realtek,reset-gpios : The GPIO that controls the CODEC's RESET pin.
40
41 Pins on the device (for linking into audio routes) for RT5659/RT5658:
42
43 * DMIC L1
44 * DMIC R1
45 * DMIC L2
46 * DMIC R2
47 * IN1P
48 * IN1N
49 * IN2P
50 * IN2N
51 * IN3P
52 * IN3N
53 * IN4P
54 * IN4N
55 * HPOL
56 * HPOR
57 * SPOL
58 * SPOR
59 * LOUTL
60 * LOUTR
61 * MONOOUT
62 * PDML
63 * PDMR
64 * SPDIF
65
66 Example:
67
68 rt5659 {
69 compatible = "realtek,rt5659";
70 reg = <0x1b>;
71 interrupt-parent = <&gpio>;
72 interrupts = <TEGRA_GPIO(W, 3) GPIO_ACTIVE_HIGH>;
73 realtek,ldo1-en-gpios =
74 <&gpio TEGRA_GPIO(V, 3) GPIO_ACTIVE_HIGH>;
75 };
This page took 0.032288 seconds and 5 git commands to generate.