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 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.

1. 요약·해설

원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.

요약과 해설

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. 한국어 전문 번역

영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, 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";
};