← Documents Documentation/devicetree/bindings/sound/rt1011.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings / Sound

Realtek RT1011 amplifier

RT1011 ASEL address 표와 temperature·R0 calibration을 설명합니다.

Source pathDocumentation/devicetree/bindings/sound/rt1011.txt
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

요약과 해설

rt1011.txt:1-42

RT1011 ASEL address 표와 temperature·R0 calibration을 설명합니다. 영어 원문 전체와 줄 좌표를 보존하고, 한국어 전문 번역에서는 module·property·command·source path를 원형으로 유지하며 ASCII 구조도와 표를 구조화해 제공합니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
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 };
43

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

RT1011 I2C address 선택

1-22

RT1011 mono Class-D audio amplifier는 I2C만 지원하며 `compatible`은 `realtek,rt1011`입니다. `reg`의 I2C address는 input pin `ASEL2`와 `ASEL1` 조합으로 결정됩니다.

RT1011 ASEL address table
ASEL2ASEL1I2C address
000x38
010x39
100x3a
110x3b

원문의 ASCII 표를 동일한 논리의 구조화 표로 다시 그렸습니다.

Calibration과 audio pin

23-34

선택 u32 `realtek,temperature_calib`는 calibration 당시 측정한 섭씨 온도이고 `realtek,r0_calib`는 factory mode에서 측정한 R0 calibration data입니다. Audio route에 연결할 device pin은 `SPO`입니다.

RT1011 calibration 예제

35-42

예제는 address `0x38`, calibration temperature 25°C, R0 data `0x224050`을 지정합니다.

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