Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / sound / rt1011.txt
1 RT1011 Mono Class D Audio Amplifier
2
3 This device supports I2C only.
4
5 Required 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
23 Optional 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
31 Pins on the device (for linking into audio routes) for RT1011:
32
33   * SPO
34
35 Example:
36
37 rt1011: codec@38 {
38         compatible = "realtek,rt1011";
39         reg = <0x38>;
40         realtek,temperature_calib = <25>;
41         realtek,r0_calib = <0x224050>;
42 };