Documentation/devicetree/bindings/mmc/pxa-mmc.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings

PXA MMC and SDIO

PXA MCI의 VMMC 전원과 card-detect 지연 바인딩입니다.

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

요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.

1. 요약·해설

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

요약과 해설

pxa-mmc.txt:1-25

PXA MCI 전원, 감지 지연과 GPIO 예제를 설명합니다.

2. 영어 원문 전체

번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.

원문 전체 펼치기
1 * PXA MMC drivers
2
3 Driver bindings for the PXA MCI (MMC/SDIO) interfaces
4
5 Required properties:
6 - compatible: Should be "marvell,pxa-mmc".
7 - vmmc-supply: A regulator for VMMC
8
9 Optional properties:
10 - marvell,detect-delay-ms: sets the detection delay timeout in ms.
11
12 In addition to the properties described in this document, the details
13 described in mmc.txt are supported.
14
15 Examples:
16
17 mmc0: mmc@41100000 {
18 compatible = "marvell,pxa-mmc";
19 reg = <0x41100000 0x1000>;
20 interrupts = <23>;
21 vmmc-supply = <&mmc_regulator>;
22 cd-gpios = <&gpio 23 0>;
23 wp-gpios = <&gpio 24 0>;
24 };
25
26

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.

PXA MCI interface

1-4

이 바인딩은 PXA MCI의 MMC·SDIO interface를 구동하는 PXA MMC driver를 설명합니다.

PXA storage interface
PXA MCIMMC
PXA MCISDIO

PXA MCI가 MMC와 SDIO 장치에 공통 host interface를 제공합니다.

전원과 card-detect 지연

5-14

필수 `compatible`은 `marvell,pxa-mmc`이고, `vmmc-supply`는 VMMC를 공급하는 regulator입니다.

선택 `marvell,detect-delay-ms`는 card 감지 지연 timeout을 millisecond 단위로 설정합니다. 이 문서의 속성 외에도 `mmc.txt`에 설명된 공통 MMC 속성을 지원합니다.

PXA MMC0 예제

15-25

예제는 `0x41100000` register 범위, interrupt 23, VMMC regulator, card-detect GPIO 23과 write-protect GPIO 24를 지정합니다.

mmc0: mmc@41100000 {
        compatible = "marvell,pxa-mmc";
        reg = <0x41100000 0x1000>;
        interrupts = <23>;
        vmmc-supply = <&mmc_regulator>;
        cd-gpios = <&gpio 23 0>;
        wp-gpios = <&gpio 24 0>;
};