← Documents Documentation/devicetree/bindings/mmc/davinci_mmc.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings

TI DaVinci High-Speed MMC

DaVinci MMC·SD·SDIO controller의 bus·clock·EDMA 바인딩입니다.

Source pathDocumentation/devicetree/bindings/mmc/davinci_mmc.txt
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

요약과 해설

davinci_mmc.txt:1-32

SoC별 호환성, 기본값과 RX·TX DMA specifier 순서를 설명합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 * TI Highspeed MMC host controller for DaVinci
2
3 The Highspeed MMC Host Controller on TI DaVinci family
4 provides an interface for MMC, SD and SDIO types of memory cards.
5
6 This file documents the properties used by the davinci_mmc driver.
7
8 Required properties:
9 - compatible:
10 Should be "ti,da830-mmc": for da830, da850, dm365
11 Should be "ti,dm355-mmc": for dm355, dm644x
12
13 Optional properties:
14 - bus-width: Number of data lines, can be <1>, <4>, or <8>, default <1>
15 - max-frequency: Maximum operating clock frequency, default 25MHz.
16 - dmas: List of DMA specifiers with the controller specific format
17 as described in the generic DMA client binding. A tx and rx
18 specifier is required.
19 - dma-names: RX and TX DMA request names. These strings correspond
20 1:1 with the DMA specifiers listed in dmas.
21
22 Example:
23 mmc0: mmc@1c40000 {
24 compatible = "ti,da830-mmc",
25 reg = <0x40000 0x1000>;
26 interrupts = <16>;
27 bus-width = <4>;
28 max-frequency = <50000000>;
29 dmas = <&edma 16
30 &edma 17>;
31 dma-names = "rx", "tx";
32 };
33

3. 한국어 전문 번역

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

TI DaVinci High-Speed MMC

1-7

TI DaVinci 계열 High-Speed MMC Host Controller는 MMC, SD, SDIO memory card interface를 제공합니다. 이 문서는 `davinci_mmc` driver가 사용하는 속성을 설명합니다.

DaVinci MMC data path
DaVinci SoCMMC host
MMC hostMMC / SD / SDIO card
EDMA TX and RXMMC host
MMC hostInterrupt

Host controller가 DMA TX·RX와 interrupt를 사용해 card data를 전송합니다.

DaVinci SoC별 호환성

8-12

`compatible`은 DA830, DA850, DM365에 `ti,da830-mmc`, DM355와 DM644x에 `ti,dm355-mmc`를 사용합니다.

DaVinci MMC compatible
호환 문자열SoC
ti,da830-mmcDA830, DA850, DM365
ti,dm355-mmcDM355, DM644x

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";
};