23.2.4 Programming Interface
This driver implements the functions required by the MMC bus protocol to interface with
the i.MX uSDHC module.
See the Linux document generated from build: make htmldocs.
23.2.5 Loadable Module Operations
The SDHCI driver can be built as loadable or builtin module.
1. How to build SDHCI driver as loadable module.
• CONFIG_MMC_SDHCI=m, it can be found at Device Drivers > MMC/SD Card
Support > Secure Digital Host Controller Interface support
• CONFIG_MMC_SDHCI_PLTFM=m, it can be found at Device Drivers >
MMC/SD Card Support > Secure Digital Host Controller Interface support >
SDHCI support on the platform specific bus.
• CONFIG_MMC_SDHCI_ESDHC_IMX=y, it can be found at Device Drivers >
MMC/SD Card Support > Secure Digital Host Controller Interface support >
SDHCI support on the platform specific bus > SDHCI platform support for the
Freescale eSDHC i.MX controller
2. How to load and unload SDHCI module.
Due to dependency, please load or unload the module following the module sequence
shown below.
run the following commands to load module:
• load modules via insmod command, assuming the files of sdhci.ko and sdhci-
platform.ko exist in current directory.
$> insmod sdhci.ko
$> insmod sdhci-platform.ko
• load modules via modprobe command, please make sure the files of sdhci.ko and
sdhci-platform.ko exist in corresponding kernel module lib directory.
$> modprobe sdhci.ko
$> modprobe sdhci-platform.ko
run the following commands to unload module.:
• unload modules via insmod command.
$> rmsmod sdhci-platform
$> rmsmod sdhci
• unload modules via modprobe command.
Chapter 23 MMC/SD/SDIO Host Driver
i.MX 6SoloLite Linux Reference Manual, Rev. L3.0.35_4.1.0, 09/2013
Freescale Semiconductor, Inc.
147
Содержание i.MX 6SoloLite Linux
Страница 1: ...i MX 6SoloLite Linux Reference Manual Document Number IMXL6SLRM Rev L3 0 35_4 1 0 09 2013 ...
Страница 2: ...i MX 6SoloLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 2 Freescale Semiconductor Inc ...
Страница 16: ...i MX 6SoloLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 16 Freescale Semiconductor Inc ...
Страница 26: ...Overview i MX 6SoloLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 26 Freescale Semiconductor Inc ...
Страница 42: ...Overview i MX 6SoloLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 42 Freescale Semiconductor Inc ...
Страница 102: ...Hardware Operation i MX 6SoloLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 102 Freescale Semiconductor Inc ...
Страница 118: ...Unit Test i MX 6SoloLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 118 Freescale Semiconductor Inc ...
Страница 122: ...Driver Features i MX 6SoloLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 122 Freescale Semiconductor Inc ...
Страница 126: ...Driver Features i MX 6SoloLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 126 Freescale Semiconductor Inc ...
Страница 136: ...Unit Test i MX 6SoloLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 136 Freescale Semiconductor Inc ...
Страница 140: ...Introduction i MX 6SoloLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 140 Freescale Semiconductor Inc ...
Страница 154: ...Driver Features i MX 6SoloLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 154 Freescale Semiconductor Inc ...
Страница 162: ...Driver Features i MX 6SoloLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 162 Freescale Semiconductor Inc ...
Страница 172: ...System WakeUp i MX 6SoloLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 172 Freescale Semiconductor Inc ...
Страница 184: ...Programming Interface i MX 6SoloLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 184 Freescale Semiconductor Inc ...
Страница 192: ...Generic WDOG Driver i MX 6SoloLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 192 Freescale Semiconductor Inc ...
Страница 198: ...Requirements i MX 6SoloLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 198 Freescale Semiconductor Inc ...