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

Linux 6.18.37 · Devicetree Bindings / Sound

Realtek RT274 codec

RT274 I2C·interrupt 속성과 audio route pin을 설명합니다.

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

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

1. 요약·해설

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

요약과 해설

rt274.txt:1-33

RT274 I2C·interrupt 속성과 audio route pin을 설명합니다. 영어 원문 전체와 줄 좌표를 보존하고, 한국어 전문 번역에서는 module·property·command·source path를 원형으로 유지하며 ASCII 구조도와 표를 구조화해 제공합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 RT274 audio CODEC
2
3 This device supports I2C only.
4
5 Required properties:
6
7 - compatible : "realtek,rt274".
8
9 - reg : The I2C address of the device.
10
11 Optional properties:
12
13 - interrupts : The CODEC's interrupt output.
14
15
16 Pins on the device (for linking into audio routes) for RT274:
17
18 * DMIC1 Pin
19 * DMIC2 Pin
20 * MIC
21 * LINE1
22 * LINE2
23 * HPO Pin
24 * SPDIF
25 * LINE3
26
27 Example:
28
29 rt274: codec@1c {
30 compatible = "realtek,rt274";
31 reg = <0x1c>;
32 interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
33 };
34

3. 한국어 전문 번역

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

RT274 I2C·interrupt 속성

1-15

RT274 audio codec은 I2C만 지원합니다. 필수 `compatible`은 `realtek,rt274`, `reg`는 I2C address이고 선택 `interrupts`는 codec interrupt output입니다.

RT274 audio route pin

16-26

Audio route에 사용할 수 있는 pin은 `DMIC1 Pin`, `DMIC2 Pin`, `MIC`, `LINE1`, `LINE2`, `HPO Pin`, `SPDIF`, `LINE3`입니다.

RT274 interrupt 예제

27-33

예제는 I2C address `0x1c`와 falling-edge interrupt 7을 지정합니다.

rt274: codec@1c {
        compatible = "realtek,rt274";
        reg = <0x1c>;
        interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
};