Skip to content

Commit 2625b10

Browse files
committed
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/drzeus/mmc
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/drzeus/mmc: (25 commits) atmel-mci: add MCI2 register definitions atmel-mci: Integrate AT91 specific definition in header file tmio_mmc: allow compilation for ASIC3 mmc_block: do not DMA to stack sdhci: Print ADMA status and pointer on debug tmio_mmc: fix clock setup tmio_mmc: map SD control registers after enabling the MFD cell tmio_mmc: correct probe return value for num_resources != 3 tmio_mmc: don't use set_irq_type tmio_mmc: add bus_shift support MFD,mmc: tmio_mmc: make HCLK configurable mmc_spi: don't use EINVAL for possible transmission errors cb710: more cleanup for the DEBUG case. sdhci: platform driver for SDHCI mxcmmc: remove frequency workaround cb710: handle DEBUG define in Makefile cb710: add missing parenthesis cb710: fix printk format string mmc: Driver for CB710/720 memory card reader (MMC part) pxamci: add regulator support. ...
2 parents 489f7ab + 7f72134 commit 2625b10

30 files changed

+2377
-203
lines changed

MAINTAINERS

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2112,6 +2112,15 @@ W: http://sourceforge.net/projects/lpfcxxxx
21122112
S: Supported
21132113
F: drivers/scsi/lpfc/
21142114

2115+
ENE CB710 FLASH CARD READER DRIVER
2116+
P: Michał Mirosław
2117+
2118+
2119+
S: Maintained
2120+
F: drivers/misc/cb710/
2121+
F: drivers/mmc/host/cb710-mmc.*
2122+
F: include/linux/cb710.h
2123+
21152124
EPSON 1355 FRAMEBUFFER DRIVER
21162125
P: Christopher Hoover
21172126

drivers/mfd/t7l66xb.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,10 @@ static int t7l66xb_mmc_disable(struct platform_device *mmc)
108108

109109
/*--------------------------------------------------------------------------*/
110110

111+
static const struct tmio_mmc_data t7166xb_mmc_data = {
112+
.hclk = 24000000,
113+
};
114+
111115
static const struct resource t7l66xb_mmc_resources[] = {
112116
{
113117
.start = 0x800,
@@ -149,6 +153,7 @@ static struct mfd_cell t7l66xb_cells[] = {
149153
.name = "tmio-mmc",
150154
.enable = t7l66xb_mmc_enable,
151155
.disable = t7l66xb_mmc_disable,
156+
.driver_data = &t7166xb_mmc_data,
152157
.num_resources = ARRAY_SIZE(t7l66xb_mmc_resources),
153158
.resources = t7l66xb_mmc_resources,
154159
},

drivers/mfd/tc6387xb.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ static int tc6387xb_mmc_disable(struct platform_device *mmc)
7575

7676
/*--------------------------------------------------------------------------*/
7777

78+
const static struct tmio_mmc_data tc6387xb_mmc_data = {
79+
.hclk = 24000000,
80+
};
81+
7882
static struct resource tc6387xb_mmc_resources[] = {
7983
{
8084
.start = 0x800,
@@ -98,6 +102,7 @@ static struct mfd_cell tc6387xb_cells[] = {
98102
.name = "tmio-mmc",
99103
.enable = tc6387xb_mmc_enable,
100104
.disable = tc6387xb_mmc_disable,
105+
.driver_data = &tc6387xb_mmc_data,
101106
.num_resources = ARRAY_SIZE(tc6387xb_mmc_resources),
102107
.resources = tc6387xb_mmc_resources,
103108
},

drivers/mfd/tc6393xb.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,10 @@ static int tc6393xb_nand_enable(struct platform_device *nand)
136136
return 0;
137137
}
138138

139+
const static struct tmio_mmc_data tc6393xb_mmc_data = {
140+
.hclk = 24000000,
141+
};
142+
139143
static struct resource __devinitdata tc6393xb_nand_resources[] = {
140144
{
141145
.start = 0x1000,
@@ -351,6 +355,7 @@ static struct mfd_cell __devinitdata tc6393xb_cells[] = {
351355
},
352356
[TC6393XB_CELL_MMC] = {
353357
.name = "tmio-mmc",
358+
.driver_data = &tc6393xb_mmc_data,
354359
.num_resources = ARRAY_SIZE(tc6393xb_mmc_resources),
355360
.resources = tc6393xb_mmc_resources,
356361
},

drivers/misc/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,5 +235,6 @@ config ISL29003
235235

236236
source "drivers/misc/c2port/Kconfig"
237237
source "drivers/misc/eeprom/Kconfig"
238+
source "drivers/misc/cb710/Kconfig"
238239

239240
endif # MISC_DEVICES

drivers/misc/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,4 @@ obj-$(CONFIG_HP_ILO) += hpilo.o
2121
obj-$(CONFIG_ISL29003) += isl29003.o
2222
obj-$(CONFIG_C2PORT) += c2port/
2323
obj-y += eeprom/
24+
obj-y += cb710/

drivers/misc/cb710/Kconfig

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
config CB710_CORE
2+
tristate "ENE CB710/720 Flash memory card reader support"
3+
depends on PCI
4+
help
5+
This option enables support for PCI ENE CB710/720 Flash memory card
6+
reader found in some laptops (ie. some versions of HP Compaq nx9500).
7+
8+
You will also have to select some flash card format drivers (MMC/SD,
9+
MemoryStick).
10+
11+
This driver can also be built as a module. If so, the module
12+
will be called cb710.
13+
14+
config CB710_DEBUG
15+
bool "Enable driver debugging"
16+
depends on CB710_CORE != n
17+
default n
18+
help
19+
This is an option for use by developers; most people should
20+
say N here. This adds a lot of debugging output to dmesg.
21+
22+
config CB710_DEBUG_ASSUMPTIONS
23+
bool
24+
depends on CB710_CORE != n
25+
default y

drivers/misc/cb710/Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
ifeq ($(CONFIG_CB710_DEBUG),y)
2+
EXTRA_CFLAGS += -DDEBUG
3+
endif
4+
5+
obj-$(CONFIG_CB710_CORE) += cb710.o
6+
7+
cb710-y := core.o sgbuf2.o
8+
cb710-$(CONFIG_CB710_DEBUG) += debug.o

0 commit comments

Comments
 (0)