← Documents Documentation/devicetree/bindings/sound/everest,es8389.yaml GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings / Sound

Everest ES8389 audio codec

ES8389의 I2C 주소, MCLK와 DAI cell binding을 설명합니다.

Source pathDocumentation/devicetree/bindings/sound/everest,es8389.yaml
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

요약과 해설

everest,es8389.yaml:1-50

Everest audio codec의 route pin, clock, 전원과 jack interrupt 조건을 먼저 해설하고, 접을 수 있는 영어 원문 전체와 원문 줄 좌표를 보존한 한국어 전문 번역을 제공합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/sound/everest,es8389.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Everest ES8389 audio CODEC
8
9 maintainers:
10 - Michael Zhang <zhangyi@everest-semi.com>
11
12 allOf:
13 - $ref: dai-common.yaml#
14
15 properties:
16 compatible:
17 const: everest,es8389
18
19 reg:
20 maxItems: 1
21
22 clocks:
23 items:
24 - description: clock for master clock (MCLK)
25
26 clock-names:
27 items:
28 - const: mclk
29
30 "#sound-dai-cells":
31 const: 0
32
33 required:
34 - compatible
35 - reg
36 - "#sound-dai-cells"
37
38 additionalProperties: false
39
40 examples:
41 - |
42 i2c {
43 #address-cells = <1>;
44 #size-cells = <0>;
45 es8389: codec@10 {
46 compatible = "everest,es8389";
47 reg = <0x10>;
48 #sound-dai-cells = <0>;
49 };
50 };
51

3. 한국어 전문 번역

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

ES8389 codec schema

1-14

이 YAML binding은 Everest ES8389 audio codec을 정의합니다. Schema ID는 `http://devicetree.org/schemas/sound/everest,es8389.yaml#`, maintainer는 Michael Zhang이며 `dai-common.yaml#`을 상속합니다.

주소, MCLK와 DAI cell

15-32

`compatible`은 `everest,es8389`, `reg`는 최대 한 항목입니다. `clocks`는 MCLK 한 항목이고 `clock-names`는 `mclk`이며 `#sound-dai-cells`는 0입니다.

필수 속성과 추가 속성

33-39

필수 속성은 `compatible`, `reg`, `#sound-dai-cells`입니다. `additionalProperties: false`이므로 정의되지 않은 추가 속성은 허용하지 않습니다.

ES8389 I2C 예제

40-50

예제는 I2C address `0x10`의 ES8389 codec을 선언하고 DAI cell 수를 0으로 설정합니다.

i2c {
  #address-cells = <1>;
  #size-cells = <0>;
  es8389: codec@10 {
    compatible = "everest,es8389";
    reg = <0x10>;
    #sound-dai-cells = <0>;
  };
};