← Documents Documentation/devicetree/bindings/sound/sirf-audio-port.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings / Sound

SiRF audio port

SiRF audio port의 RX·TX DMA pair를 설명합니다.

Source pathDocumentation/devicetree/bindings/sound/sirf-audio-port.txt
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

요약과 해설

sirf-audio-port.txt:1-20

SiRF audio port의 RX·TX DMA pair를 설명합니다. 영어 원문 전체와 줄 좌표를 보존하고 한국어 전문 번역에서는 property·pin·phandle·수치와 예제 코드를 원형대로 유지합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 * SiRF SoC audio port
2
3 Required properties:
4 - compatible: "sirf,audio-port"
5 - reg: Base address and size entries:
6 - dmas: List of DMA controller phandle and DMA request line ordered pairs.
7 - dma-names: Identifier string for each DMA request line in the dmas property.
8 These strings correspond 1:1 with the ordered pairs in dmas.
9
10 One of the DMA channels will be responsible for transmission (should be
11 named "tx") and one for reception (should be named "rx").
12
13 Example:
14
15 audioport: audioport@b0040000 {
16 compatible = "sirf,audio-port";
17 reg = <0xb0040000 0x10000>;
18 dmas = <&dmac1 3>, <&dmac1 8>;
19 dma-names = "rx", "tx";
20 };
21

3. 한국어 전문 번역

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

SiRF audio port DMA 속성

1-12

`compatible`은 `sirf,audio-port`, `reg`는 base address와 size입니다. `dmas`는 DMA controller phandle과 request line의 ordered pair 목록이고 `dma-names`는 각 pair에 1:1로 대응합니다. Transmission channel 이름은 `tx`, reception channel 이름은 `rx`여야 합니다.

SiRF audio port 예제

13-20

예제는 `0xb0040000` register region과 DMAC1 request 3·8을 `rx`·`tx`로 연결합니다.

audioport: audioport@b0040000 {
        compatible = "sirf,audio-port";
        reg = <0xb0040000 0x10000>;
        dmas = <&dmac1 3>, <&dmac1 8>;
        dma-names = "rx", "tx";
};