12 Jan, 2012
1 commit
-
Add a means of getting platform data for the SDHCI PCI
devices. The data is stored against the slot not the
device in order to support multi-slot devices.The data allows platform-specific setup (such as getting
GPIO numbers from firmware or setting up wl12xx for SDIO)
to be done in platform support files instead of the
sdhci-pci driver.Signed-off-by: Adrian Hunter
Signed-off-by: Chris Ball
21 Jul, 2011
7 commits
-
Only compile tmio_mmc_dma.o when CONFIG_MMC_SDHI is selected (as y or m).
Signed-off-by: Paul Parsons
Signed-off-by: Chris Ball -
Delete obsolete sdhci-pxa.c, which was previously shared amongst the
entire PXA series. Instead we now use sdhci-pxav3.c for mmp2 and
sdhci-pxav2.c for pxa9xx.Signed-off-by: Zhangfei Gao
Acked-by: Philip Rakity
Acked-by: Mark F. Brown
Signed-off-by: Chris Ball -
sdhci-pltfm driver for PXAV2 SoCs, such as pxa910.
Signed-off-by: Zhangfei Gao
Signed-off-by: Jun Nie
Signed-off-by: Qiming Wu
Acked-by: Philip Rakity
Acked-by: Mark F. Brown
Signed-off-by: Chris Ball -
sdhci-pltfm driver for PXAV3 SoCs, such as MMP2.
Signed-off-by: Zhangfei Gao
Signed-off-by: Philip Rakity
Acked-by: Philip Rakity
Acked-by: Mark F. Brown
Signed-off-by: Chris Ball -
There are a couple of problems left from the sdhci pltfm and OF
consolidation changes.* When building more than one sdhci-pltfm based drivers in the same
image, linker will give multiple definition error on the sdhci-pltfm
helper functions. For example right now, building sdhci-of-esdhc
and sdhci-of-hlwd together is a valid combination from Kconfig view.* With the current build method, there is error with building the
drivers as module, but module installation fails with modprobe.The patch fixes above problems by changing sdhci-pltfm into a module.
To avoid EXPORT_SYMBOL on so many big endian IO accessors, it moves
these accessors into sdhci-pltfm.h as the 'static inline' functions.
As a result, sdhci.h needs to be included in sdhci-pltfm.h, and in
turn can be removed from individual drivers which already include
sdhci-pltfm.h.Signed-off-by: Shawn Guo
Signed-off-by: Chris Ball -
The patch turns the sdhci-of-core common stuff into helper functions
added into sdhci-pltfm.c, and makes sdhci-of device drviers self
registered using the same pair of .probe and .remove used by
sdhci-pltfm device drivers.As a result, sdhci-of-core.c and sdhci-of.h can be eliminated with
those common things merged into sdhci-pltfm.c and sdhci-pltfm.h
respectively.Signed-off-by: Shawn Guo
Acked-by: Anton Vorontsov
Reviewed-by: Wolfram Sang
Signed-off-by: Chris Ball -
The patch turns the common stuff in sdhci-pltfm.c into functions, and
add device drivers their own .probe and .remove which in turn call
into the common functions, so that those sdhci-pltfm device drivers
register itself and keep all device specific things away from common
sdhci-pltfm file.Signed-off-by: Shawn Guo
Reviewed-by: Grant Likely
Acked-by: Arnd Bergmann
Acked-by: Anton Vorontsov
Signed-off-by: Chris Ball
25 May, 2011
1 commit
-
Add a driver for Elan Digital System's VUB300 chip which is a USB
connected SDIO/SDmem/MMC host controller. A VUB300 chip enables a USB 2.0
or USB 1.1 connected host computer to use SDIO/SD/MMC cards without the
need for a directly connected, for example via PCI, SDIO host controller.Signed-off-by: Anthony F Olech
[cjb: various punctuation and style fixes]
Tested-by: Chris Ball
Signed-off-by: Chris Ball
25 Mar, 2011
2 commits
-
On sh-mobile platforms the SDHI driver was using the tmio_mmc SD/SDIO
MFD cell driver. Now that the tmio_mmc driver has been split into a
core and a separate MFD glue, we can support SDHI natively without the
need to emulate an MFD controller. This also allows to support systems
with an on-SoC SDHI controller and a separate MFD with a TMIO core.Signed-off-by: Guennadi Liakhovetski
Acked-by: Paul Mundt
Signed-off-by: Chris Ball -
TMIO MMC chips contain an SD / SDIO IP core from Panasonic, similar to
the one, used in MN5774 and other MN57xx controllers. These IP cores are
included in many multifunction devices, in sh-mobile chips from Renesas,
in the latter case they can also use DMA. Some sh-mobile implementations
also have some other specialities, that MFD-based solutions don't have.
This makes supporting all these features in a monolithic driver inconveniet
and error-prone. This patch splits the driver into 3 parts: the core,
the MFD glue and the DMA support. In case of a modular build, two modules
will be built: mmc_tmio_core and mmc_tmio.Signed-off-by: Guennadi Liakhovetski
Acked-by: Paul Mundt
Signed-off-by: Chris Ball
16 Mar, 2011
1 commit
-
This adds the mmc host driver for Freescale MXS-based SoC i.MX23/28.
The driver calls into mxs-dma via generic dmaengine api for both pio
and data transfer.Thanks Chris Ball for the indentation patch.
Signed-off-by: Shawn Guo
Reviewed-by: Arnd Bergmann
Tested-by: Wolfram Sang
Signed-off-by: Chris Ball
09 Jan, 2011
3 commits
-
This adds the mmc host driver for the Synopsys DesignWare mmc
host controller, found in a number of embedded SoC designs.Signed-off-by: Will Newton
Reviewed-by: Matt Fleming
Reviewed-by: Chris Ball
Signed-off-by: Chris Ball -
SDHCI driver for Tegra. This driver plugs in as a new variant of
sdhci-pltfm, using the platform data structure passed in to specify the
GPIOs to use for card detect, write protect and card power enablement.Original driver (of which only the header file is left):
Signed-off-by: Yvonne YipThe rest, which has been rewritten by now:
Signed-off-by: Olof Johansson
Reviewed-by: Wolfram Sang
Acked-by: Mike Rapoport
Signed-off-by: Chris Ball -
Implement an sdhci-pltfm driver for the controller found in the
Marvell Dove SoC.Signed-off-by: Mike Rapoport
CC: Saeed Bishara
Acked-by: Wolfram Sang
Signed-off-by: Chris Ball
25 Oct, 2010
1 commit
-
Support Marvell PXA168/PXA910/MMP2 SD Host Controller.
Signed-off-by: Zhangfei Gao
Acked-by: Haojian Zhuang
Signed-off-by: Chris Ball
23 Oct, 2010
3 commits
-
This driver adds basic support for the esdhc-core found on e.g.
imx35/51, as a platform driver.Signed-off-by: Wolfram Sang
Acked-by: Anton Vorontsov
Tested-by: Eric Bénard
Signed-off-by: Chris Ball -
The EXTRA_CFLAGS assignment in mmc/Makefile was not accomplishing
anything because this flag only has effect on sources at the same level
as the makefile (i.e., per directory). Since card/, core/, and host/
rely on MMC_DEBUG, the subdir-ccflags-y variant seems to be the
appropriate choice.Signed-off-by: matt mooney
Signed-off-by: Chris Ball -
Add a driver for USB SD Host Controller devices. These devices are
Cypress Astoria chips with firmware compliant with issue 2 of CSR's USHC
specification.[cjb: adapt to block layer deprecation of max_{hw,phys}_segs]
Signed-off-by: David Vrabel
Signed-off-by: Chris Ball
14 Aug, 2010
1 commit
-
* 'msm-mmc_sdcc' of git://codeaurora.org/quic/kernel/dwalker/linux-msm:
mmc: msm_sdcc: Rename config MMC_MSM7X00A to MMC_MSM
mmc: msm_sdcc: Compile the driver for msm7x30
mmc: msm: fix up build breakage on !PM
11 Aug, 2010
2 commits
-
There's nothing special, just SoC-specific ops and quirks.
Signed-off-by: Anton Vorontsov
Cc: Ben Dooks
Cc: Richard R?jfors
Cc:
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Due to build system limitations, intermediate and final objects can't have
the same names. And as we're going to start building SoC-specific
objects, let's rename the module to sdhci-platform, into which we'll link
sdhci-pltfm and SoC-specifc objects.There should be no issue in renaming as the driver uses modalias
mechanism.This is exactly the same approach as in sdhci-of driver.
Signed-off-by: Anton Vorontsov
Cc: Ben Dooks
Cc: Richard R?jfors
Cc:
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
10 Aug, 2010
1 commit
-
SD/MMC host controller driver is same for all MSM and QSD
platforms. Hence, rename the config to reflect the same.Signed-off-by: Sahitya Tummala
Signed-off-by: Daniel Walker
05 Aug, 2010
1 commit
-
Signed-off-by: Lars-Peter Clausen
Acked-by: Matt Fleming
Cc: Andrew Morton
Cc: Matt Fleming
Cc: linux-mmc@vger.kernel.org
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/1463/
Patchwork: https://patchwork.linux-mips.org/patch/1523/
Signed-off-by: Ralf Baechle
28 May, 2010
2 commits
-
Add a glue layer to support the sdhci driver on the ST SPEAr platform.
Signed-off-by: Viresh Kumar
Cc:
Cc: Linus Walleij
Cc: Russell King
Cc:
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
MMCIF is the MMC Host Interface in SuperH.
Signed-off-by: Yusuke Goda
Cc: Ben Hutchings
Cc: Paul Mundt
Cc: Magnus Damm
Cc:
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
07 Mar, 2010
1 commit
-
This patch solves nasty problem original driver has.
Original goal of the ricoh_mmc was to disable this device because then,
mmc cards can be read using standard SDHCI controller, thus avoiding
writing of yet another driver.However, the act of disablement, makes other pci functions that belong to
this controller (xD and memstick) shift up one level, thus pci core has
now wrong idea about these devices.To fix this issue, this patch moves the driver into the pci quirk section,
thus it is executes before the pci is enumerated, and therefore solving
that issue, also same sequence of commands is performed on resume for same
reasons.Also regardless of the above, this way is cleaner. You still need to set
CONFIG_MMC_RICOH_MMC to enable this quirkSigned-off-by: Maxim Levitsky
Acked-by: Philip Langdale
Acked-by: Wolfram Sang
Cc:
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
18 Dec, 2009
3 commits
-
Add support for the Secure Digital Host Controller Interface found on the
"Hollywood" chipset of the Nintendo Wii video game console.Signed-off-by: Albert Herranz
Cc:
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
This patch breaks down sdhci-of into a core portion and a eSDHC portion,
clearing the path to easily support additional hardware using the same OF
driver.Signed-off-by: Albert Herranz
Cc:
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
This patch renames sdhci-of.c to sdhci-of-core.c before reorganizing the
driver to support additional hardware.The driver is still built as sdhci-of despite the rename of the file. No
functional change.Signed-off-by: Albert Herranz
Cc:
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
16 Dec, 2009
2 commits
-
Add SD host driver for Blackfin BF54x and BF51x.
[akpm@linux-foundation.org: fix layout, c99 warning]
Signed-off-by: Cliff Cai
Signed-off-by: Bryan Wu
Signed-off-by: Mike Frysinger
Cc:
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
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=spruee2cSigned-off-by: Vipin Bhandari
Signed-off-by: Purshotam Kumar
Acked-by: David Brownell
Cc:
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
23 Sep, 2009
1 commit
-
MMC Driver for HTC Dream. I picked the code up from Google git trees,
removed stuff not strictly necessary, and did a few cleanups. It still
works :-).Signed-off-by: Pavel Machek
Cc: Brian Swetland
Cc: Pierre Ossman
Cc: Joe Perches
Cc: Matt Fleming
Cc: Ian Molton
Cc: "Roberto A. Foglietta"
Cc: Philip Langdale
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
22 Jun, 2009
2 commits
-
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.Signed-off-by: Harald Welte
Signed-off-by: Pierre Ossman -
Add support for the 'HSMMC' block(s) in the Samsung SoC
line. These are compatible with the SDHCI driver so add
the necessary setup and driver binding for the platform
devices.Signed-off-by: Ben Dooks
Signed-off-by: Pierre Ossman
14 Jun, 2009
3 commits
-
Signed-off-by: Michał Mirosław
Signed-off-by: Pierre Ossman -
Added a platform driver which uses the SDHCI core.
Signed-off-by: Richard Röjfors
Signed-off-by: Pierre Ossman -
The code is divided in two parts. There is a virtual 'bus' driver
that handles PCI device and registers three new devices one per card
reader type. The other driver handles SD/MMC part of the reader.Signed-off-by: Michał Mirosław
Signed-off-by: Pierre Ossman
25 Mar, 2009
2 commits
-
This patch adds a new driver: sdhci-of. The driver is similar to
the sdhci-pci, it contains common probe code, and controller-specific
ops and quirks.So far there are only Freescale eSDHC ops and quirks.
Signed-off-by: Anton Vorontsov
Acked-by: Arnd Bergmann
Signed-off-by: Pierre Ossman -
This supports MMC/SD/SDIO currently found on the Kirkwood 88F6281 and
88F6192 SoC controllers.Signed-off-by: Nicolas Pitre
Signed-off-by: Pierre Ossman