Skip to contentSkip to conversation

mmc: Support Mobile Storage controller Interface

PATCH New Jaehoon Chung 1 participant 1 message Jan 5, 2011 MMC, SD and SDIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mmc: Support Mobile Storage controller Interface

This patch is Mobile Storage Controller interface.
This controller is similar to SDHCI.(This patch is based on sdhci.c)
I tried to use mobile storage with sdhci-controller, but bit controlling is too many different So need Mobile Storage controller.

I tested only 8-bit buswidth. It's working well...i think performance didn't ensure yet. It should be add DDR feature.

---
 drivers/mmc/host/Kconfig  |   12 +
 drivers/mmc/host/Makefile |    1 +
 drivers/mmc/host/mshci.c  | 1499 +++++++++++++++++++++++++++++++++++++++++++++
 drivers/mmc/host/mshci.h  |  364 +++++++++++
 4 files changed, 1876 insertions(+), 0 deletions(-)
 create mode 100644 drivers/mmc/host/mshci.c
 create mode 100644 drivers/mmc/host/mshci.h
drivers/mmc/host/Kconfig +12 -0
index d618e86..59a6057 100644
@@ -24,6 +24,18 @@ config MMC_PXA
 
 	  If unsure, say N.
 
+config MMC_MSHCI
+	tristate "Mobile Storage Host Controller Interface support"
+	depends on HAS_DMA
+	help
+	  This selects the Mobile Storage Host Controller Interface.
+	  If support SD/MMC card.
+
+	  If you have a controller with this interface, say Y or M here. You
+	  also need to enable an appropriate bus interface.
+
+	  If unsure, say N.
+
 config MMC_SDHCI
 	tristate "Secure Digital Host Controller Interface support"
 	depends on HAS_DMA
drivers/mmc/host/Makefile +1 -0
index 7b645ff..2cf4be0 100644
@@ -19,6 +19,7 @@ obj-$(CONFIG_MMC_AT91)		+= at91_mci.o
 obj-$(CONFIG_MMC_ATMELMCI)	+= atmel-mci.o
 obj-$(CONFIG_MMC_TIFM_SD)	+= tifm_sd.o
 obj-$(CONFIG_MMC_MSM)		+= msm_sdcc.o
+obj-$(CONFIG_MMC_MSHCI)		+= mshci.o
 obj-$(CONFIG_MMC_MVSDIO)	+= mvsdio.o
 obj-$(CONFIG_MMC_DAVINCI)       += davinci_mmc.o
 obj-$(CONFIG_MMC_SPI)		+= mmc_spi.o
drivers/mmc/host/mshci.c new file +1499 -0

1,499 lines not on this page · raw message

drivers/mmc/host/mshci.h new file +364 -0

364 lines not on this page · raw message

Signature · 1 line
1.6.0.4