Skip to contentSkip to conversation

sdhci-spear: ST SPEAr based SDHCI controller glue

PATCH New [email protected] 1 participant 1 message May 26, 2010

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 21/203 sdhci-spear: ST SPEAr based SDHCI controller glue

From: Viresh KUMAR <[email protected]>

Add a glue layer to support the sdhci driver on the ST SPEAr platform.

---

 MAINTAINERS                     |    6 
 drivers/mmc/host/Kconfig        |   12 +
 drivers/mmc/host/Makefile       |    1 
 drivers/mmc/host/sdhci-spear.c  |  298 ++++++++++++++++++++++++++++++
 include/linux/mmc/sdhci-spear.h |   42 ++++
 5 files changed, 359 insertions(+)
MAINTAINERS renamed from MAINTAINERS~sdhci-spear-st-spear-based-sdhci-controller-glue +6 -0
diff -puN MAINTAINERS~sdhci-spear-st-spear-based-sdhci-controller-glue MAINTAINERS
@@ -5004,6 +5004,12 @@ L:	[email protected]
 S:	Maintained
 F:	drivers/mmc/host/sdhci-s3c.c
 
+SECURE DIGITAL HOST CONTROLLER INTERFACE (SDHCI) ST SPEAR DRIVER
+M:	Viresh Kumar <[email protected]>
+L:	[email protected]
+S:	Maintained
+F:	drivers/mmc/host/sdhci-spear.c
+
 SECURITY SUBSYSTEM
 M:	James Morris <[email protected]>
 L:	[email protected] (suggested Cc:)
drivers/mmc/host/Kconfig renamed from drivers/mmc/host/Kconfig~sdhci-spear-st-spear-based-sdhci-controller-glue +12 -0
diff -puN drivers/mmc/host/Kconfig~sdhci-spear-st-spear-based-sdhci-controller-glue drivers/mmc/host/Kconfig
@@ -136,6 +136,18 @@ config MMC_SDHCI_S3C
 
 	  If unsure, say N.
 
+config MMC_SDHCI_SPEAR
+	tristate "SDHCI support on ST SPEAr platform"
+	depends on MMC_SDHCI && PLAT_SPEAR
+	help
+	  This selects the Secure Digital Host Controller Interface (SDHCI)
+	  often referrered to as the HSMMC block in some of the ST SPEAR range
+	  of SoC
+
+	  If you have a controller with this interface, say Y or M here.
+
+	  If unsure, say N.
+
 config MMC_SDHCI_S3C_DMA
 	bool "DMA support on S3C SDHCI"
 	depends on MMC_SDHCI_S3C && EXPERIMENTAL
drivers/mmc/host/Makefile renamed from drivers/mmc/host/Makefile~sdhci-spear-st-spear-based-sdhci-controller-glue +1 -0
diff -puN drivers/mmc/host/Makefile~sdhci-spear-st-spear-based-sdhci-controller-glue drivers/mmc/host/Makefile
@@ -14,6 +14,7 @@ obj-$(CONFIG_MMC_SDHCI)		+= sdhci.o
 obj-$(CONFIG_MMC_SDHCI_PCI)	+= sdhci-pci.o
 obj-$(CONFIG_MMC_SDHCI_PLTFM)	+= sdhci-pltfm.o
 obj-$(CONFIG_MMC_SDHCI_S3C)	+= sdhci-s3c.o
+obj-$(CONFIG_MMC_SDHCI_SPEAR)	+= sdhci-spear.o
 obj-$(CONFIG_MMC_WBSD)		+= wbsd.o
 obj-$(CONFIG_MMC_AU1X)		+= au1xmmc.o
 obj-$(CONFIG_MMC_OMAP)		+= omap.o
drivers/mmc/host/sdhci-spear.c new file +298 -0

298 lines not on this page · raw message

include/linux/mmc/sdhci-spear.h new file +42 -0

42 lines not on this page · raw message

_