xref: /freebsd/sys/contrib/device-tree/Bindings/sound/rt5660.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1RT5660 audio CODEC
2
3This device supports I2C only.
4
5Required properties:
6
7- compatible : "realtek,rt5660".
8
9- reg : The I2C address of the device.
10
11Optional 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
29Pins 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
42Example:
43
44rt5660 {
45	compatible = "realtek,rt5660";
46	reg = <0x1c>;
47};
48