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