Documentation / devicetree / bindings / sound / rt1011.txt


Based on kernel version 6.10. Page generated on 2024-07-16 09:00 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
RT1011 Mono Class D Audio Amplifier

This device supports I2C only.

Required properties:

- compatible : "realtek,rt1011".

- reg : The I2C address of the device. This I2C address decide by
        two input pins (ASEL1 and ASEL2).
        -------------------------------------
        |   ASEL2   |  ASEL1   |  Address   |
        -------------------------------------
        |     0     |    0     |   0x38     |
        -------------------------------------
        |     0     |    1     |   0x39     |
        -------------------------------------
        |     1     |    0     |   0x3a     |
        -------------------------------------
        |     1     |    1     |   0x3b     |
        -------------------------------------

Optional properties:

- realtek,temperature_calib
  u32. The temperature was measured while doing the calibration. Units: Celsius degree

- realtek,r0_calib
  u32. This is r0 calibration data which was measured in factory mode.

Pins on the device (for linking into audio routes) for RT1011:

  * SPO

Example:

rt1011: codec@38 {
	compatible = "realtek,rt1011";
	reg = <0x38>;
	realtek,temperature_calib = <25>;
	realtek,r0_calib = <0x224050>;
};