요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/sound/everest,es8389.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Everest ES8389 audio CODEC
maintainers:
- Michael Zhang <[email protected]>
allOf:
- $ref: dai-common.yaml#
properties:
compatible:
const: everest,es8389
reg:
maxItems: 1
clocks:
items:
- description: clock for master clock (MCLK)
clock-names:
items:
- const: mclk
"#sound-dai-cells":
const: 0
required:
- compatible
- reg
- "#sound-dai-cells"
additionalProperties: false
examples:
- |
i2c {
#address-cells = <1>;
#size-cells = <0>;
es8389: codec@10 {
compatible = "everest,es8389";
reg = <0x10>;
#sound-dai-cells = <0>;
};
};
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>;
};
};
요약과 해설
everest,es8389.yaml:1-50Everest audio codec의 route pin, clock, 전원과 jack interrupt 조건을 먼저 해설하고, 접을 수 있는 영어 원문 전체와 원문 줄 좌표를 보존한 한국어 전문 번역을 제공합니다.