요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
* TI Highspeed MMC host controller for DaVinci
The Highspeed MMC Host Controller on TI DaVinci family
provides an interface for MMC, SD and SDIO types of memory cards.
This file documents the properties used by the davinci_mmc driver.
Required properties:
- compatible:
Should be "ti,da830-mmc": for da830, da850, dm365
Should be "ti,dm355-mmc": for dm355, dm644x
Optional properties:
- bus-width: Number of data lines, can be <1>, <4>, or <8>, default <1>
- max-frequency: Maximum operating clock frequency, default 25MHz.
- dmas: List of DMA specifiers with the controller specific format
as described in the generic DMA client binding. A tx and rx
specifier is required.
- dma-names: RX and TX DMA request names. These strings correspond
1:1 with the DMA specifiers listed in dmas.
Example:
mmc0: mmc@1c40000 {
compatible = "ti,da830-mmc",
reg = <0x40000 0x1000>;
interrupts = <16>;
bus-width = <4>;
max-frequency = <50000000>;
dmas = <&edma 16
&edma 17>;
dma-names = "rx", "tx";
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
TI DaVinci High-Speed MMC
1-7TI DaVinci 계열 High-Speed MMC Host Controller는 MMC, SD, SDIO memory card interface를 제공합니다. 이 문서는 `davinci_mmc` driver가 사용하는 속성을 설명합니다.
Host controller가 DMA TX·RX와 interrupt를 사용해 card data를 전송합니다.
DaVinci SoC별 호환성
8-12`compatible`은 DA830, DA850, DM365에 `ti,da830-mmc`, DM355와 DM644x에 `ti,dm355-mmc`를 사용합니다.
SoC와 controller 호환 문자열 대응입니다.
Bus width·clock·DMA
13-21`bus-width`는 data line 수로 `<1>`, `<4>`, `<8>` 중 하나이며 기본은 `<1>`입니다. `max-frequency`는 최대 operating clock이며 기본 25MHz입니다.
`dmas`는 generic DMA client 바인딩 형식의 controller-specific DMA specifier 목록으로 TX와 RX specifier가 모두 필요합니다. `dma-names`의 RX·TX request 이름은 `dmas` 항목과 1:1로 대응합니다.
50MHz 4-bit EDMA 예제
22-32예제는 DA830-compatible controller, register `0x40000`의 4KiB 범위, interrupt 16, 4-bit bus, 50MHz clock, EDMA channel 16·17을 `rx`, `tx` 이름에 대응시킵니다. 원문의 `compatible` 줄 끝 쉼표도 그대로 보존합니다.
mmc0: mmc@1c40000 {
compatible = "ti,da830-mmc",
reg = <0x40000 0x1000>;
interrupts = <16>;
bus-width = <4>;
max-frequency = <50000000>;
dmas = <&edma 16
&edma 17>;
dma-names = "rx", "tx";
};
요약과 해설
davinci_mmc.txt:1-32SoC별 호환성, 기본값과 RX·TX DMA specifier 순서를 설명합니다.