← Documents Documentation/devicetree/bindings/sound/google,chv3-i2s.yaml GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings / Sound

Google Chameleon v3 I2S

Producer/consumer ring buffer 기반 I2S의 core·IRQ register를 설명합니다.

Source pathDocumentation/devicetree/bindings/sound/google,chv3-i2s.yaml
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

요약과 해설

google,chv3-i2s.yaml:1-44

NXP XCVR와 Google Chameleon·ChromeOS EC·SC7180 audio 구성의 memory, interrupt, DAI graph를 먼저 해설하고, 접을 수 있는 영어 원문 전체와 source path·symbol·줄 좌표를 보존한 한국어 전문 번역을 제공합니다.

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/google,chv3-i2s.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Google Chameleon v3 I2S device
8
9 maintainers:
10 - Paweł Anikiel <pan@semihalf.com>
11
12 description: |
13 I2S device for the Google Chameleon v3. The device handles both RX
14 and TX using a producer/consumer ring buffer design.
15
16 properties:
17 compatible:
18 const: google,chv3-i2s
19
20 reg:
21 items:
22 - description: core registers
23 - description: irq registers
24
25 interrupts:
26 maxItems: 1
27
28 required:
29 - compatible
30 - reg
31 - interrupts
32
33 additionalProperties: false
34
35 examples:
36 - |
37 #include <dt-bindings/interrupt-controller/arm-gic.h>
38
39 i2s@c0060300 {
40 compatible = "google,chv3-i2s";
41 reg = <0xc0060300 0x100>,
42 <0xc0060f00 0x10>;
43 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
44 };
45

3. 한국어 전문 번역

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

Chameleon v3 I2S ring buffer

1-15

Google Chameleon v3 I2S device는 producer/consumer ring buffer 설계로 RX와 TX를 모두 처리합니다. Schema ID는 `http://devicetree.org/schemas/sound/google,chv3-i2s.yaml#`이며 maintainer는 Paweł Anikiel입니다.

Core·IRQ register와 interrupt

16-27

`compatible`은 `google,chv3-i2s`입니다. `reg`는 core register region과 IRQ register region 두 항목이며 `interrupts`는 최대 한 항목입니다.

필수 속성과 확장 제한

28-34

필수 속성은 `compatible`, `reg`, `interrupts`이며 `additionalProperties: false`이므로 추가 속성은 허용하지 않습니다.

Chameleon v3 I2S 예제

35-44

예제는 core address `0xc0060300`, IRQ register address `0xc0060f00`, GIC SPI 20을 지정합니다.

#include <dt-bindings/interrupt-controller/arm-gic.h>

i2s@c0060300 {
    compatible = "google,chv3-i2s";
    reg = <0xc0060300 0x100>,
          <0xc0060f00 0x10>;
    interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
};