Skip to contentSkip to conversation

DaVinci: MMC: MMC/SD controller driver for DaVinci family

PATCH New [email protected] 1 participant 1 message Dec 15, 2009 MMC, SD and SDIO

lore
Share & tools
lore
#0 lore raw

PATCH 171/196 DaVinci: MMC: MMC/SD controller driver for DaVinci family

From: Vipin Bhandari <[email protected]>

Add support for MMC/SD controller driver for all DaVinci family SoC. This patch supports davinci family SoC's DM6446, DM355, DM365 and DA830/OMAPL137.

The patch has been tested on DM355 EVM.

The MMCSD controller specifications for DM355 can be found at
http://focus.ti.com/general/docs/litabsmultiplefilelist.tsp?literatureNumber=spruee2c

---

 drivers/mmc/host/Kconfig       |    8 
 drivers/mmc/host/Makefile      |    1 
 drivers/mmc/host/davinci_mmc.c | 1281 +++++++++++++++++++++++++++++++
 3 files changed, 1290 insertions(+)
drivers/mmc/host/Kconfig renamed from drivers/mmc/host/Kconfig~davinci-mmc-mmc-sd-controller-driver-for-davinci-family +8 -0
diff -puN drivers/mmc/host/Kconfig~davinci-mmc-mmc-sd-controller-driver-for-davinci-family drivers/mmc/host/Kconfig
@@ -251,6 +251,14 @@ config MMC_MVSDIO
 	  To compile this driver as a module, choose M here: the
 	  module will be called mvsdio.
 
+config MMC_DAVINCI
+        tristate "TI DAVINCI Multimedia Card Interface support"
+        depends on ARCH_DAVINCI
+        help
+          This selects the TI DAVINCI Multimedia card Interface.
+          If you have an DAVINCI board with a Multimedia Card slot,
+          say Y or M here.  If unsure, say N.
+
 config MMC_SPI
 	tristate "MMC/SD/SDIO over SPI"
 	depends on SPI_MASTER && !HIGHMEM && HAS_DMA
drivers/mmc/host/Makefile renamed from drivers/mmc/host/Makefile~davinci-mmc-mmc-sd-controller-driver-for-davinci-family +1 -0
diff -puN drivers/mmc/host/Makefile~davinci-mmc-mmc-sd-controller-driver-for-davinci-family drivers/mmc/host/Makefile
@@ -25,6 +25,7 @@ obj-$(CONFIG_MMC_ATMELMCI)	+= atmel-mci.
 obj-$(CONFIG_MMC_TIFM_SD)	+= tifm_sd.o
 obj-$(CONFIG_MMC_MSM7X00A)	+= msm_sdcc.o
 obj-$(CONFIG_MMC_MVSDIO)	+= mvsdio.o
+obj-$(CONFIG_MMC_DAVINCI)       += davinci_mmc.o
 obj-$(CONFIG_MMC_SPI)		+= mmc_spi.o
 ifeq ($(CONFIG_OF),y)
 obj-$(CONFIG_MMC_SPI)		+= of_mmc_spi.o
drivers/mmc/host/davinci_mmc.c new file +1281 -0

1,281 lines not on this page · raw message

_