Skip to contentSkip to conversation

mmc: Add new via-sdmmc host controller driver

PATCH Applied Harald Welte 3 participants 3 messages Jun 17, 2009 – Jun 19, 2009 MMC, SD and SDIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mmc: Add new via-sdmmc host controller driver

This adds the via-sdmmc driver for the SD/MMC-controller of VIA, which is found in a number of recent integrated VIA chipset products.

---

This latest version now includes a modified module unload logic which has been repeatedly tested by unloading the module while bulk block transfers were in progress. Furthermore it contains an additional quirk for a particular board that requires longer power-up delays.

 MAINTAINERS                  |    8 +
 drivers/mmc/host/Kconfig     |   11 +
 drivers/mmc/host/Makefile    |    1 +
 drivers/mmc/host/via-sdmmc.c | 1362 ++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 1382 insertions(+), 0 deletions(-)
 create mode 100644 drivers/mmc/host/via-sdmmc.c
MAINTAINERS +8 -0
index b5cebdd..ec8ffb8 100644
@@ -6175,6 +6175,14 @@ S:	Maintained
 F:	Documentation/i2c/busses/i2c-viapro
 F:	drivers/i2c/busses/i2c-viapro.c
 
+VIA SD/MMC CARD CONTROLLER DRIVER
+P:	Joseph Chan
+M:	[email protected]
+P:	Harald Welte
+M:	[email protected]
+S:	MAINTAINED
+F:	drivers/mmc/host/via-sdmmc.c
+
 VIA UNICHROME(PRO)/CHROME9 FRAMEBUFFER DRIVER
 P:	Joseph Chan
 M:	[email protected]
drivers/mmc/host/Kconfig +11 -0
index 660bda0..4aa71a5 100644
@@ -265,3 +265,14 @@ config MMC_CB710
 	  This driver can also be built as a module. If so, the module
 	  will be called cb710-mmc.
 
+config MMC_VIA_SDMMC
+	tristate "VIA SD/MMC Card Reader Driver"
+	depends on PCI
+	help
+	  This selects the VIA SD/MMC Card Reader driver, say Y or M here.
+	  VIA provides one multi-functional card reader which integrated into
+	  some motherboards manufactured by VIA. This card reader supports
+	  SD/MMC/SDHC.
+	  If you have a controller with this interface, say Y or M here.
+
+	  If unsure, say N.
drivers/mmc/host/Makefile +1 -0
index 79da397..abedfb8 100644
@@ -31,6 +31,7 @@ obj-$(CONFIG_MMC_S3C)   	+= s3cmci.o
 obj-$(CONFIG_MMC_SDRICOH_CS)	+= sdricoh_cs.o
 obj-$(CONFIG_MMC_TMIO)		+= tmio_mmc.o
 obj-$(CONFIG_MMC_CB710)	+= cb710-mmc.o
+obj-$(CONFIG_MMC_VIA_SDMMC)	+= via-sdmmc.o
 
 ifeq ($(CONFIG_CB710_DEBUG),y)
 	CFLAGS-cb710-mmc	+= -DDEBUG
drivers/mmc/host/via-sdmmc.c new file +1362 -0

1,362 lines not on this page · raw message

Signature · 1 line
1.6.3.1
#1 lore raw
Quoted 10 lines · Harald Welte
MAINTAINERS +1 -0
index b5cebdd..ec8ffb8 100644
@@ -6175,6 +6175,14 @@ S:	Maintained
 F:	Documentation/i2c/busses/i2c-viapro
 F:	drivers/i2c/busses/i2c-viapro.c
 
+VIA SD/MMC CARD CONTROLLER DRIVER

MAINTAINERS S: Maintained · line 6188

Quoted 10 lines
MAINTAINERS +7 -0
+P:	Joseph Chan
+M:	[email protected]
+P:	Harald Welte
+M:	[email protected]
+S:	MAINTAINED
+F:	drivers/mmc/host/via-sdmmc.c
+
 VIA UNICHROME(PRO)/CHROME9 FRAMEBUFFER DRIVER
 P:	Joseph Chan
 M:	[email protected]

I suggest you use what every other entry uses
S: Maintained

#2 lore raw
In reply to Harald Welte
Quoted 6 lines · On Wed, 17 Jun 2009 20:22:39 +0200 Harald Welte <[email protected]> wrote:

This adds the via-sdmmc driver for the SD/MMC-controller of VIA, which is found in a number of recent integrated VIA chipset products.

---

Queued (with MAINTAINERS entry fixed). Thanks.

Rgds

Signature · 6 lines
     -- Pierre Ossman

  WARNING: This correspondence is being monitored by the
  Swedish government. Make sure your server uses encryption
  for SMTP traffic and consider using PGP for end-to-end
  encryption.