Introduction to MMC subsystems
MMC code distribution
MMC subsystem code is mainly in the Drivers/mmc directory, a total of three directories:
Card: Storage memory cards (block equipment) related drive, such as MMC/SD card device driver, Sdiouart;
Host: For different host side of the SDHC, MMC controller driver, this part of the need to be driven by the driver engineer to complete;
Core: The central layer of the entire MMC, which completes the implementation of different protocols and specifications, providing interface functions for the host layer and the device driver layer.
MMC Subsystem Framework
The Linux MMC subsystem is divided into three main sections:
MMC core layer: Complete the implementation of different protocols and specifications, provide interface functions for host layer and device driver layer. The MMC core layer consists of three parts: Mmc,sd and Sdio, which provide interface functions for three kinds of device drivers respectively;
Host driver layer: for different host side of the SDHC, MMC controller driver;
Client-driven layer: device drivers for different clients. such as SD card, T-flash card, Sdio interface GPs and Wi-Fi and other equipment drivers.
See the original: http://blog.csdn.net/paul_liao/article/details/7607010