Merge branch 'for-4.15/alps' into for-linus
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / sound / rt5663.txt
1 RT5663 audio CODEC
2
3 This device supports I2C only.
4
5 Required properties:
6
7 - compatible : "realtek,rt5663".
8
9 - reg : The I2C address of the device.
10
11 - interrupts : The CODEC's interrupt output.
12
13 Optional properties:
14
15 - "realtek,dc_offset_l_manual"
16 - "realtek,dc_offset_r_manual"
17 - "realtek,dc_offset_l_manual_mic"
18 - "realtek,dc_offset_r_manual_mic"
19   Based on the different PCB layout, add the manual offset value to
20   compensate the DC offset for each L and R channel, and they are different
21   between headphone and headset.
22
23 Pins on the device (for linking into audio routes) for RT5663:
24
25   * IN1P
26   * IN1N
27   * IN2P
28   * IN2N
29   * HPOL
30   * HPOR
31
32 Example:
33
34 codec: rt5663@12 {
35         compatible = "realtek,rt5663";
36         reg = <0x12>;
37         interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
38 };