요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
Analog Devices ADAU1701
Required properties:
- compatible: Should contain "adi,adau1701"
- reg: The i2c address. Value depends on the state of ADDR0
and ADDR1, as wired in hardware.
Optional properties:
- reset-gpio: A GPIO spec to define which pin is connected to the
chip's !RESET pin. If specified, the driver will
assert a hardware reset at probe time.
- adi,pll-mode-gpios: An array of two GPIO specs to describe the GPIOs
the ADAU's PLL config pins are connected to.
The state of the pins are set according to the
configured clock divider on ASoC side before the
firmware is loaded.
- adi,pin-config: An array of 12 numerical values selecting one of the
pin configurations as described in the datasheet,
table 53. Note that the value of this property has
to be prefixed with '/bits/ 8'.
- avdd-supply: Power supply for AVDD, providing 3.3V
- dvdd-supply: Power supply for DVDD, providing 3.3V
Examples:
i2c_bus {
adau1701@34 {
compatible = "adi,adau1701";
reg = <0x34>;
reset-gpio = <&gpio 23 0>;
avdd-supply = <&vdd_3v3_reg>;
dvdd-supply = <&vdd_3v3_reg>;
adi,pll-mode-gpios = <&gpio 24 0 &gpio 25 0>;
adi,pin-config = /bits/ 8 <0x4 0x7 0x5 0x5 0x4 0x4
0x4 0x4 0x4 0x4 0x4 0x4>;
};
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
ADAU1701 필수 속성
1-8Analog Devices ADAU1701의 `compatible`은 `adi,adau1701`입니다. `reg`는 I2C address이며 실제 값은 hardware에 연결된 ADDR0·ADDR1 상태에 따라 달라집니다.
Reset과 PLL mode GPIO
9-18선택 `reset-gpio`는 chip의 `!RESET` pin에 연결된 GPIO를 지정하며 driver는 probe 시 hardware reset을 assert합니다.
`adi,pll-mode-gpios`는 ADAU PLL configuration pin 두 개에 연결된 GPIO specifier 배열입니다. firmware를 load하기 전에 ASoC 쪽 clock divider 설정에 맞춰 pin 상태를 정합니다.
Pin configuration과 전원
19-25`adi,pin-config`는 datasheet 표 53의 pin configuration을 선택하는 숫자 12개 배열이며 속성 값 앞에 `/bits/ 8`을 붙여야 합니다.
`avdd-supply`와 `dvdd-supply`는 각각 AVDD와 DVDD에 3.3V를 공급합니다.
ADAU1701 I2C 예제
26-39예제는 I2C address `0x34`, reset GPIO, 두 3.3V supply, PLL mode GPIO 두 개와 12-byte pin configuration을 정의합니다.
i2c_bus {
adau1701@34 {
compatible = "adi,adau1701";
reg = <0x34>;
reset-gpio = <&gpio 23 0>;
avdd-supply = <&vdd_3v3_reg>;
dvdd-supply = <&vdd_3v3_reg>;
adi,pll-mode-gpios = <&gpio 24 0 &gpio 25 0>;
adi,pin-config = /bits/ 8 <0x4 0x7 0x5 0x5 0x4 0x4
0x4 0x4 0x4 0x4 0x4 0x4>;
};
};
요약과 해설
adi,adau1701.txt:1-39Audio controller와 codec의 clock, DMA, GPIO, supply 연결 규칙을 먼저 해설하고, 접을 수 있는 영어 원문 전체와 원문 줄 좌표를 보존한 한국어 전문 번역을 제공합니다.