Documentation/devicetree/bindings/sound/pcm1789.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings / Sound

TI PCM1789 codec

PCM1789 I2C address와 active-low reset GPIO를 설명합니다.

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

요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.

1. 요약·해설

원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.

요약과 해설

pcm1789.txt:1-22

PCM1789 I2C address와 active-low reset GPIO를 설명합니다. 접을 수 있는 영어 원문은 전체 source line과 공백을 보존하며, 한국어 전문 번역은 property·endpoint·phandle·예제 코드를 원형대로 유지합니다.

2. 영어 원문 전체

번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.

원문 전체 펼치기
1 Texas Instruments pcm1789 DT bindings
2
3 PCM1789 is a simple audio codec that can be connected via
4 I2C or SPI. Currently, only I2C bus is supported.
5
6 Required properties:
7
8 - compatible: "ti,pcm1789"
9
10 Required properties on I2C:
11
12 - reg: the I2C address
13 - reset-gpios: GPIO to control the RESET pin
14
15 Examples:
16
17 audio-codec@4c {
18 compatible = "ti,pcm1789";
19 reg = <0x4c>;
20 reset-gpios = <&gpio2 14 GPIO_ACTIVE_LOW>;
21 #sound-dai-cells = <0>;
22 };
23

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.

PCM1789 I2C binding

1-14

PCM1789는 I2C 또는 SPI로 연결할 수 있는 단순 audio codec이지만 현재 driver는 I2C만 지원합니다. 필수 `compatible`은 `ti,pcm1789`이고 I2C에서는 `reg`에 I2C address, `reset-gpios`에 RESET pin 제어 GPIO를 지정합니다.

PCM1789 예제

15-22

예제는 address `0x4c`, GPIO2 pin 14 active-low reset과 0-cell sound DAI를 설정합니다.

audio-codec@4c {
        compatible = "ti,pcm1789";
        reg = <0x4c>;
        reset-gpios = <&gpio2 14 GPIO_ACTIVE_LOW>;
        #sound-dai-cells = <0>;
};