요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
* Freescale MPC512x and MPC8308 DMA Controller
The DMA controller in Freescale MPC512x and MPC8308 SoCs can move
blocks of memory contents between memory and peripherals or
from memory to memory.
Refer to "Generic DMA Controller and DMA request bindings" in
the dma/dma.txt file for a more detailed description of binding.
Required properties:
- compatible: should be "fsl,mpc5121-dma" or "fsl,mpc8308-dma";
- reg: should contain the DMA controller registers location and length;
- interrupt for the DMA controller: syntax of interrupt client node
is described in interrupt-controller/interrupts.txt file.
- #dma-cells: the length of the DMA specifier, must be <1>.
Each channel of this DMA controller has a peripheral request line,
the assignment is fixed in hardware. This one cell
in dmas property of a client device represents the channel number.
Example:
dma0: dma@14000 {
compatible = "fsl,mpc5121-dma";
reg = <0x14000 0x1800>;
interrupts = <65 0x8>;
#dma-cells = <1>;
};
DMA clients must use the format described in dma/dma.txt file.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
MPC512x/MPC8308 DMA 속성
1-19Freescale MPC512x와 MPC8308 SoC의 DMA controller는 memory와 peripheral 사이 또는 memory-to-memory로 memory block을 이동합니다. 자세한 공통 형식은 `dma/dma.txt`의 Generic DMA Controller and DMA request bindings를 참조합니다.
필수 `compatible`은 `fsl,mpc5121-dma` 또는 `fsl,mpc8308-dma`, `reg`는 DMA controller register 위치와 길이입니다. DMA controller interrupt의 client node 문법은 `interrupt-controller/interrupts.txt`를 따릅니다.
`#dma-cells`는 1이어야 합니다. 각 channel의 peripheral request line은 hardware에 고정되어 있으며 client `dmas`의 단일 cell은 channel 번호를 나타냅니다.
Client의 channel 번호가 hardware에 고정된 peripheral request line을 선택합니다.
MPC5121 DMA 예제
20-29예제 controller는 register 영역 `0x14000`/`0x1800`, interrupt `<65 0x8>`과 단일-cell specifier를 사용합니다. DMA client는 `dma/dma.txt` 형식을 따라야 합니다.
dma0: dma@14000 {
compatible = "fsl,mpc5121-dma";
reg = <0x14000 0x1800>;
interrupts = <65 0x8>;
#dma-cells = <1>;
};
요약과 해설
mpc512x-dma.txt:1-29단일-cell channel 번호와 controller 예제를 설명합니다.