← Documents Documentation/devicetree/bindings/sound/adi,axi-spdif-tx.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings / Sound

ADI AXI-SPDIF TX controller

AXI-SPDIF transmitter의 clock과 DMA를 설명합니다.

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

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

1. 요약·해설

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

요약과 해설

adi,axi-spdif-tx.txt:1-30

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

2. 영어 원문 전체

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

원문 전체 펼치기
1 ADI AXI-SPDIF controller
2
3 Required properties:
4 - compatible : Must be "adi,axi-spdif-tx-1.00.a"
5 - reg : Must contain SPDIF core's registers location and length
6 - clocks : Pairs of phandle and specifier referencing the controller's clocks.
7 The controller expects two clocks, the clock used for the AXI interface and
8 the clock used as the sampling rate reference clock sample.
9 - clock-names: "axi" for the clock to the AXI interface, "ref" for the sample
10 rate reference clock.
11 - dmas: Pairs of phandle and specifier for the DMA channel that is used by
12 the core. The core expects one dma channel for transmit.
13 - dma-names : Must be "tx"
14
15 For more details on the 'dma', 'dma-names', 'clock' and 'clock-names' properties
16 please check:
17 * resource-names.txt
18 * clock/clock-bindings.txt
19 * dma/dma.txt
20
21 Example:
22
23 spdif: spdif@77400000 {
24 compatible = "adi,axi-spdif-tx-1.00.a";
25 reg = <0x77600000 0x1000>;
26 clocks = <&clk 15>, <&audio_clock>;
27 clock-names = "axi", "ref";
28 dmas = <&ps7_dma 0>;
29 dma-names = "tx";
30 };
31

3. 한국어 전문 번역

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

AXI-SPDIF TX 필수 속성

1-14

`compatible`은 `adi,axi-spdif-tx-1.00.a`, `reg`는 SPDIF core register의 위치와 길이입니다.

`clocks`는 AXI interface와 sample rate reference clock 두 개의 phandle·specifier 쌍이고 `clock-names`는 `axi`, `ref`입니다.

송신 전용 core이므로 `dmas`에는 transmit DMA channel 하나를 지정하고 `dma-names`는 반드시 `tx`여야 합니다.

공통 resource binding 참조

15-20

DMA와 clock 속성의 자세한 정의는 `resource-names.txt`, `clock/clock-bindings.txt`, `dma/dma.txt`를 참조합니다.

AXI-SPDIF TX 예제

21-30

예제는 AXI·audio reference clock과 하나의 송신 DMA channel을 연결합니다.

spdif: spdif@77400000 {
        compatible = "adi,axi-spdif-tx-1.00.a";
        reg = <0x77600000 0x1000>;
        clocks = <&clk 15>, <&audio_clock>;
        clock-names = "axi", "ref";
        dmas = <&ps7_dma 0>;
        dma-names = "tx";
};