]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blob - Documentation/devicetree/bindings/sound/rt5660.txt
Merge remote-tracking branches 'asoc/topic/rt5659', 'asoc/topic/rt5660', 'asoc/topic...
[mirror_ubuntu-hirsute-kernel.git] / Documentation / devicetree / bindings / sound / rt5660.txt
1 RT5660 audio CODEC
2
3 This device supports I2C only.
4
5 Required properties:
6
7 - compatible : "realtek,rt5660".
8
9 - reg : The I2C address of the device.
10
11 Optional properties:
12
13 - clocks: The phandle of the master clock to the CODEC
14 - clock-names: Should be "mclk"
15
16 - realtek,in1-differential
17 - realtek,in3-differential
18 Boolean. Indicate MIC1/3 input are differential, rather than single-ended.
19
20 - realtek,poweroff-in-suspend
21 Boolean. If the codec will be powered off in suspend, the resume should be
22 added delay time for waiting codec power ready.
23
24 - realtek,dmic1-data-pin
25 0: dmic1 is not used
26 1: using GPIO2 pin as dmic1 data pin
27 2: using IN1P pin as dmic1 data pin
28
29 Pins on the device (for linking into audio routes) for RT5660:
30
31 * DMIC L1
32 * DMIC R1
33 * IN1P
34 * IN1N
35 * IN2P
36 * IN3P
37 * IN3N
38 * SPO
39 * LOUTL
40 * LOUTR
41
42 Example:
43
44 rt5660 {
45 compatible = "realtek,rt5660";
46 reg = <0x1c>;
47 };