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

Linux 6.18.37 · Devicetree Bindings / Sound

Realtek RT5660 codec

RT5660 MCLK, differential input, suspend power와 DMIC pin을 설명합니다.

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

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

1. 요약·해설

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

요약과 해설

rt5660.txt:1-47

RT5660 MCLK, differential input, suspend power와 DMIC pin을 설명합니다. 영어 원문 전체와 줄 좌표를 보존하고 한국어 전문 번역에서는 property·pin·phandle·수치와 예제 코드를 원형대로 유지합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 RT5660 audio CODEC
2
3 This device supports I2C only.
4
5 Required properties:
6
7 - compatible : "realtek,rt5660".
8
9 - reg : The I2C address of the device.
10
11 Optional properties:
12
13 - clocks: The phandle of the master clock to the CODEC
14 - clock-names: Should be "mclk"
15
16 - realtek,in1-differential
17 - realtek,in3-differential
18 Boolean. Indicate MIC1/3 input are differential, rather than single-ended.
19
20 - realtek,poweroff-in-suspend
21 Boolean. If the codec will be powered off in suspend, the resume should be
22 added delay time for waiting codec power ready.
23
24 - realtek,dmic1-data-pin
25 0: dmic1 is not used
26 1: using GPIO2 pin as dmic1 data pin
27 2: using IN1P pin as dmic1 data pin
28
29 Pins on the device (for linking into audio routes) for RT5660:
30
31 * DMIC L1
32 * DMIC R1
33 * IN1P
34 * IN1N
35 * IN2P
36 * IN3P
37 * IN3N
38 * SPO
39 * LOUTL
40 * LOUTR
41
42 Example:
43
44 rt5660 {
45 compatible = "realtek,rt5660";
46 reg = <0x1c>;
47 };
48

3. 한국어 전문 번역

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

RT5660 I2C 필수 속성

1-10

RT5660 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-41

Route 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>;
};