xref: /linux/Documentation/devicetree/bindings/sound/rt1011.txt (revision a4eb44a6435d6d8f9e642407a4a06f65eb90ca04)
1RT1011 Mono Class D Audio Amplifier
2
3This device supports I2C only.
4
5Required properties:
6
7- compatible : "realtek,rt1011".
8
9- reg : The I2C address of the device. This I2C address decide by
10        two input pins (ASEL1 and ASEL2).
11        -------------------------------------
12        |   ASEL2   |  ASEL1   |  Address   |
13        -------------------------------------
14        |     0     |    0     |   0x38     |
15        -------------------------------------
16        |     0     |    1     |   0x39     |
17        -------------------------------------
18        |     1     |    0     |   0x3a     |
19        -------------------------------------
20        |     1     |    1     |   0x3b     |
21        -------------------------------------
22
23Optional properties:
24
25- realtek,temperature_calib
26  u32. The temperature was measured while doing the calibration. Units: Celsius degree
27
28- realtek,r0_calib
29  u32. This is r0 calibration data which was measured in factory mode.
30
31Pins on the device (for linking into audio routes) for RT1011:
32
33  * SPO
34
35Example:
36
37rt1011: codec@38 {
38	compatible = "realtek,rt1011";
39	reg = <0x38>;
40	realtek,temperature_calib = <25>;
41	realtek,r0_calib = <0x224050>;
42};
43