← Documents Documentation/devicetree/bindings/sound/adi,adau1701.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings / Sound

Analog Devices ADAU1701

ADAU1701의 reset, PLL, pin configuration과 전원을 설명합니다.

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

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

1. 요약·해설

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

요약과 해설

adi,adau1701.txt:1-39

Audio controller와 codec의 clock, DMA, GPIO, supply 연결 규칙을 먼저 해설하고, 접을 수 있는 영어 원문 전체와 원문 줄 좌표를 보존한 한국어 전문 번역을 제공합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 Analog Devices ADAU1701
2
3 Required properties:
4
5 - compatible: Should contain "adi,adau1701"
6 - reg: The i2c address. Value depends on the state of ADDR0
7 and ADDR1, as wired in hardware.
8
9 Optional properties:
10
11 - reset-gpio: A GPIO spec to define which pin is connected to the
12 chip's !RESET pin. If specified, the driver will
13 assert a hardware reset at probe time.
14 - adi,pll-mode-gpios: An array of two GPIO specs to describe the GPIOs
15 the ADAU's PLL config pins are connected to.
16 The state of the pins are set according to the
17 configured clock divider on ASoC side before the
18 firmware is loaded.
19 - adi,pin-config: An array of 12 numerical values selecting one of the
20 pin configurations as described in the datasheet,
21 table 53. Note that the value of this property has
22 to be prefixed with '/bits/ 8'.
23 - avdd-supply: Power supply for AVDD, providing 3.3V
24 - dvdd-supply: Power supply for DVDD, providing 3.3V
25
26 Examples:
27
28 i2c_bus {
29 adau1701@34 {
30 compatible = "adi,adau1701";
31 reg = <0x34>;
32 reset-gpio = <&gpio 23 0>;
33 avdd-supply = <&vdd_3v3_reg>;
34 dvdd-supply = <&vdd_3v3_reg>;
35 adi,pll-mode-gpios = <&gpio 24 0 &gpio 25 0>;
36 adi,pin-config = /bits/ 8 <0x4 0x7 0x5 0x5 0x4 0x4
37 0x4 0x4 0x4 0x4 0x4 0x4>;
38 };
39 };
40

3. 한국어 전문 번역

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

ADAU1701 필수 속성

1-8

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