요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
RT5660 audio CODEC
This device supports I2C only.
Required properties:
- compatible : "realtek,rt5660".
- reg : The I2C address of the device.
Optional properties:
- clocks: The phandle of the master clock to the CODEC
- clock-names: Should be "mclk"
- realtek,in1-differential
- realtek,in3-differential
Boolean. Indicate MIC1/3 input are differential, rather than single-ended.
- realtek,poweroff-in-suspend
Boolean. If the codec will be powered off in suspend, the resume should be
added delay time for waiting codec power ready.
- realtek,dmic1-data-pin
0: dmic1 is not used
1: using GPIO2 pin as dmic1 data pin
2: using IN1P pin as dmic1 data pin
Pins on the device (for linking into audio routes) for RT5660:
* DMIC L1
* DMIC R1
* IN1P
* IN1N
* IN2P
* IN3P
* IN3N
* SPO
* LOUTL
* LOUTR
Example:
rt5660 {
compatible = "realtek,rt5660";
reg = <0x1c>;
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
RT5660 I2C 필수 속성
1-10RT5660 audio codec은 I2C만 지원하며 `compatible`은 `realtek,rt5660`, `reg`는 I2C address입니다.
MCLK·input·DMIC 선택
11-28선택 `clocks`는 codec master clock phandle이고 `clock-names`는 `mclk`여야 합니다. `realtek,in1-differential`과 `realtek,in3-differential`은 MIC1·MIC3가 single-ended가 아닌 differential input임을 나타냅니다.
`realtek,poweroff-in-suspend`는 suspend 중 codec power를 끄며 resume 시 power-ready 대기 delay가 필요함을 나타냅니다. `realtek,dmic1-data-pin` 값 0은 DMIC1 미사용, 1은 GPIO2, 2는 IN1P를 DMIC1 data pin으로 선택합니다.
RT5660 audio route pin
29-41Route pin은 `DMIC L1`, `DMIC R1`, `IN1P`, `IN1N`, `IN2P`, `IN3P`, `IN3N`, `SPO`, `LOUTL`, `LOUTR`입니다.
RT5660 예제
42-47예제는 RT5660을 I2C address `0x1c`에 둡니다.
rt5660 {
compatible = "realtek,rt5660";
reg = <0x1c>;
};
요약과 해설
rt5660.txt:1-47RT5660 MCLK, differential input, suspend power와 DMIC pin을 설명합니다. 영어 원문 전체와 줄 좌표를 보존하고 한국어 전문 번역에서는 property·pin·phandle·수치와 예제 코드를 원형대로 유지합니다.