요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
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>;
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
RT1011 I2C address 선택
1-22RT1011 mono Class-D audio amplifier는 I2C만 지원하며 `compatible`은 `realtek,rt1011`입니다. `reg`의 I2C address는 input pin `ASEL2`와 `ASEL1` 조합으로 결정됩니다.
원문의 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>;
};
요약과 해설
rt1011.txt:1-42RT1011 ASEL address 표와 temperature·R0 calibration을 설명합니다. 영어 원문 전체와 줄 좌표를 보존하고, 한국어 전문 번역에서는 module·property·command·source path를 원형으로 유지하며 ASCII 구조도와 표를 구조화해 제공합니다.