요약·해설과 원문, 전문 번역을 서로 분리했습니다. 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,es7241.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Everest ES7241 2 channels I2S analog to digital converter
maintainers:
- Neil Armstrong <[email protected]>
properties:
compatible:
enum:
- everest,es7241
reset-gpios:
maxItems: 1
description: GPIO connected to the reset pin
m0-gpios:
maxItems: 1
description: GPIO connected to the m0 pin
m1-gpios:
maxItems: 1
description: GPIO connected to the m0 pin
everest,sdout-pull-down:
type: boolean
description:
Format used by the serial interface is controlled by pulling
the sdout. If the sdout is pulled down, leftj format is used.
If this property is not provided, sdout is assumed to pulled
up and i2s format is used
VDDP-supply: true
VDDA-supply: true
VDDD-supply: true
'#sound-dai-cells':
const: 0
required:
- compatible
- VDDP-supply
- VDDA-supply
- VDDD-supply
allOf:
- $ref: dai-common.yaml#
unevaluatedProperties: false
examples:
- |
#include <dt-bindings/gpio/gpio.h>
codec {
compatible = "everest,es7241";
#sound-dai-cells = <0>;
reset-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
VDDP-supply = <&vddp_supply>;
VDDA-supply = <&vdda_supply>;
VDDD-supply = <&vddd_supply>;
};
...
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
ES7241 ADC schema
1-11이 YAML binding은 Everest ES7241 2-channel I2S analog-to-digital converter를 정의합니다. Schema ID는 `http://devicetree.org/schemas/sound/everest,es7241.yaml#`이고 maintainer는 Neil Armstrong입니다.
Compatible과 mode GPIO
12-28`compatible`은 `everest,es7241`입니다. `reset-gpios`, `m0-gpios`, `m1-gpios`는 각각 최대 한 GPIO specifier를 허용합니다. Reset GPIO는 reset pin, `m0-gpios`는 m0 pin에 연결합니다.
원문은 `m1-gpios`의 설명도 `GPIO connected to the m0 pin`이라고 적고 있습니다. 이 표기를 원문 그대로 보존하며, 실제 회로 연결은 해당 hardware 자료와 대조해야 합니다.
Serial format과 전원 rail
29-43Boolean `everest,sdout-pull-down`은 serial interface format을 정합니다. SDOUT을 pull-down하면 left-justified(`leftj`) format을 사용하고, 속성이 없으면 pull-up된 것으로 보고 I2S format을 사용합니다.
전원은 `VDDP-supply`, `VDDA-supply`, `VDDD-supply`이며 `#sound-dai-cells`는 0입니다.
필수 전원과 공통 DAI schema
44-54필수 속성은 `compatible`, `VDDP-supply`, `VDDA-supply`, `VDDD-supply`입니다. `dai-common.yaml#`을 상속하고 평가되지 않은 추가 속성은 허용하지 않습니다.
ES7241 reset과 전원 예제
55-68예제는 ES7241 codec에 DAI cell 0을 설정하고 GPIO1 pin 15를 active-high reset으로 사용합니다. VDDP, VDDA, VDDD 세 supply를 각각 연결합니다.
#include <dt-bindings/gpio/gpio.h>
codec {
compatible = "everest,es7241";
#sound-dai-cells = <0>;
reset-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
VDDP-supply = <&vddp_supply>;
VDDA-supply = <&vdda_supply>;
VDDD-supply = <&vddd_supply>;
};
...
요약과 해설
everest,es7241.yaml:1-68Dialog, generic DMIC, Eukrea와 Everest audio binding의 schema 구조, 필수 속성과 DTS 구성을 먼저 해설하고, 접을 수 있는 영어 원문 전체와 원문 줄 좌표를 보존한 한국어 전문 번역을 제공합니다.