요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
1
Texas Instruments pcm179x DT bindings
3
This driver supports both the I2C and SPI bus.
5
Required properties:
7
- compatible: "ti,pcm1792a"
9
For required properties on SPI, please consult
10
Documentation/devicetree/bindings/spi/spi-bus.txt
12
Required properties on I2C:
14
- reg: the I2C address
17
Examples:
19
codec_spi: 1792a@0 {
20
compatible = "ti,pcm1792a";
21
spi-max-frequency = <600000>;
22
};
24
codec_i2c: 1792a@4c {
25
compatible = "ti,pcm1792a";
26
reg = <0x4c>;
27
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
PCM179x I2C·SPI binding
1-16PCM179x driver는 I2C와 SPI bus를 모두 지원하며 필수 `compatible`은 `ti,pcm1792a`입니다. SPI 필수 속성은 `Documentation/devicetree/bindings/spi/spi-bus.txt`를 따르고, I2C에서는 `reg`에 I2C address를 지정합니다.
PCM1792A SPI·I2C 예제
17-27첫 예제는 chip select 0과 600 kHz SPI maximum frequency를, 둘째 예제는 I2C address `0x4c`를 지정합니다.
codec_spi: 1792a@0 {
compatible = "ti,pcm1792a";
spi-max-frequency = <600000>;
};
codec_i2c: 1792a@4c {
compatible = "ti,pcm1792a";
reg = <0x4c>;
};
요약과 해설
pcm179x.txt:1-27PCM1792A의 I2C·SPI 연결과 각 bus 예제를 설명합니다. 접을 수 있는 영어 원문은 전체 source line과 공백을 보존하며, 한국어 전문 번역은 property·endpoint·phandle·예제 코드를 원형대로 유지합니다.