]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: add Toshiba PCI SD controller driver
authorOndrej Zary <linux@rainbow-software.org>
Tue, 11 Nov 2014 16:54:55 +0000 (17:54 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 26 Nov 2014 13:30:58 +0000 (14:30 +0100)
commitce3a923dbf55be03e09a6796411a8d170083ee8d
tree1115b188a5317df46254c7c08d47a263ccb86808
parentdf67387bb00c2d35ddff27f2aee0d1c5b5dbf941
mmc: add Toshiba PCI SD controller driver

This patch resurrects an old never-finished driver for Toshiba PCI SD
controllers found in some older Toshiba laptops (such as Portege R100):

02:0d.0 System peripheral [0880]: Toshiba America Info Systems SD TypA Controller [1179:0805] (rev 05)

The code is fixed, cleaned up and successfully tested with SD, SDHC, SDXC and
MMC cards on Portege R100. (MMC cards don't even work in Windows!)
SDIO probably does not work (don't have any SDIO card).

The hardware is slow (around 2 MB/s - same in Windows) because it does not
support bus mastering (busmaster enable bit cannot be set in PCI control reg).
Also the card clock is limited to 16MHz (33MHz PCI clock divided by 2).

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/Kconfig
drivers/mmc/host/Makefile
drivers/mmc/host/toshsd.c [new file with mode: 0644]
drivers/mmc/host/toshsd.h [new file with mode: 0644]