Merge tag 'fsnotify_for_v4.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / sound / rt5668.txt
1 RT5668B audio CODEC
2
3 This device supports I2C only.
4
5 Required properties:
6
7 - compatible : "realtek,rt5668b"
8
9 - reg : The I2C address of the device.
10
11 Optional properties:
12
13 - interrupts : The CODEC's interrupt output.
14
15 - realtek,dmic1-data-pin
16   0: dmic1 is not used
17   1: using GPIO2 pin as dmic1 data pin
18   2: using GPIO5 pin as dmic1 data pin
19
20 - realtek,dmic1-clk-pin
21   0: using GPIO1 pin as dmic1 clock pin
22   1: using GPIO3 pin as dmic1 clock pin
23
24 - realtek,jd-src
25   0: No JD is used
26   1: using JD1 as JD source
27
28 - realtek,ldo1-en-gpios : The GPIO that controls the CODEC's LDO1_EN pin.
29
30 Pins on the device (for linking into audio routes) for RT5668B:
31
32   * DMIC L1
33   * DMIC R1
34   * IN1P
35   * HPOL
36   * HPOR
37
38 Example:
39
40 rt5668 {
41         compatible = "realtek,rt5668b";
42         reg = <0x1a>;
43         interrupt-parent = <&gpio>;
44         interrupts = <TEGRA_GPIO(U, 6) GPIO_ACTIVE_HIGH>;
45         realtek,ldo1-en-gpios =
46                 <&gpio TEGRA_GPIO(R, 2) GPIO_ACTIVE_HIGH>;
47         realtek,dmic1-data-pin = <1>;
48         realtek,dmic1-clk-pin = <1>;
49         realtek,jd-src = <1>;
50 };