GNU Linux-libre 4.14.266-gnu1
[releases.git] / Documentation / devicetree / bindings / sound / rt5651.txt
1 RT5651 audio CODEC
2
3 This device supports I2C only.
4
5 Required properties:
6
7 - compatible : "realtek,rt5651".
8
9 - reg : The I2C address of the device.
10
11 Optional properties:
12
13 - realtek,in2-differential
14   Boolean. Indicate MIC2 input are differential, rather than single-ended.
15
16 - realtek,dmic-en
17   Boolean. true if dmic is used.
18
19 Pins on the device (for linking into audio routes) for RT5651:
20
21   * DMIC L1
22   * DMIC R1
23   * IN1P
24   * IN2P
25   * IN2N
26   * IN3P
27   * HPOL
28   * HPOR
29   * LOUTL
30   * LOUTR
31   * PDML
32   * PDMR
33
34 Example:
35
36 codec: rt5651@1a {
37         compatible = "realtek,rt5651";
38         reg = <0x1a>;
39         realtek,dmic-en = "true";
40         realtek,in2-diff = "false";
41 };