[patch 018/203] mmc: OMAP HS-MMC: convert to dev_pm_ops

2010-05-26 Thread akpm
From: Kevin Hilman Convert PM operations to use dev_pm_ops. This will facilitate the runtime PM coversion which will add to dev_pm_ops hooks. Note that dev_pm_ops version of the suspend hook no longer takes a 'state' argument. However, the MMC core function mmc_suspend_host() still takes a 'st

[patch 013/203] sdhci: build fix: rename SDHCI I/O accessor functions

2010-05-26 Thread akpm
From: Matt Fleming Unfortunately some architectures #define their read{b,w,l} and write{b,w,l} I/O accessors which makes the SDHCI I/O accessor functions of the same names subject to preprocessing. This leads to the following compiler error, In file included from drivers/mmc/host/sdhci.c:26: dr

[patch 010/203] mmc: add support MMCIF for SuperH

2010-05-26 Thread akpm
From: Yusuke Goda 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 --- drivers/mmc/host/Kconfig |8 drivers/mmc/host/Makefile|1 drivers/mmc/host/sh_mmcif.c | 965 ++

[patch 017/203] omap_hsmmc: improve interrupt synchronisation

2010-05-26 Thread akpm
From: Adrian Hunter The following changes were needed: - do not use in_interrupt() because it will not work with threaded interrupts In addition, the following improvements were made: - ensure DMA is unmapped only after the final DMA interrupt - ensure a request i

[patch 021/203] sdhci-spear: ST SPEAr based SDHCI controller glue

2010-05-26 Thread akpm
From: Viresh KUMAR 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 --- MAINTAINERS |6 drivers/mmc/host/Kconfig| 12 + drivers/mmc

[patch 007/203] davinci: mmc: updates to suspend/resume implementation

2010-05-26 Thread akpm
From: Chaithrika U S Improve the suspend and resume callbacks in DaVinci MMC host controller driver. Modify the reset status of the contorller and clock during suspend and resume. Also migrate the power management callbacks from platform driver to dev_pm_ops structure. Tested on DA850/OMAP-L13

[patch 006/203] davinci: mmc: add a function to control reset state of the controller

2010-05-26 Thread akpm
From: Chaithrika U S Add a helper function which will aid in changing the reset status of the controller. Signed-off-by: Chaithrika U S Signed-off-by: Kevin Hilman Cc: Vipin Bhandari Cc: Sudhakar Rajashekhara Cc: Signed-off-by: Andrew Morton --- drivers/mmc/host/davinci_mmc.c | 37

[patch 011/203] mmc: atmel-mci: Add support for SDIO interrupts

2010-05-26 Thread akpm
From: Anders Grahn Atmel-mci support for SDIO interrupts. This adds the enable_sdio_irq() function and the configuration of sdio irq mask per slot. With this irq mask information, we keep the idea of multiple slot per sd/mmc host (not only A and B). MMC_CAP_SDIO_IRQ is added according to slot

[patch 020/203] sdio: add new function for RAW (Read after Write) operation

2010-05-26 Thread akpm
From: Grazvydas Ignotas SDIO specification allows RAW (Read after Write) operation using IO_RW_DIRECT command (CMD52) by setting the RAW bit. This operation is similar to ordinary read/write commands, except that both write and read are performed using single command/response pair. The Linux SD

[patch 014/203] mmc: s3c6410: add new quirk in sdhci driver and update ADMA descriptor build

2010-05-26 Thread akpm
From: Thomas Abraham The s3c6410 sdhci controller does not support the 'End' attribute and NOP attribute in the same 8-Byte ADMA descriptor. This patch adds a new quirk to identify sdhci host contollers with such behaviour. In addition to this, for controllers using the new quirk, the last entr

[patch 009/203] mmc: atmel-mci: enable SD high speed support

2010-05-26 Thread akpm
From: Nicolas Ferre Enable high speed support for atmel-mci driver. This support is dependent of the revision of the IP and, of course, the capacity of the SD card used. Signed-off-by: Nicolas Ferre Reviewed-by: Haavard Skinnemoen Cc: Maciej Sosnowski Cc: Signed-off-by: Andrew Morton ---

[patch 015/203] mmc: s3c6410: enable ADMA feature in 6410 sdhci controller

2010-05-26 Thread akpm
From: Thomas Abraham Enable the ADMA feature in the 6410 SDHCI controller driver. Signed-off-by: Maurus Cuelenaere Signed-off-by: Thomas Abraham Acked-by: Ben Dooks Cc: Signed-off-by: Andrew Morton --- drivers/mmc/host/sdhci-s3c.c |7 +-- 1 file changed, 1 insertion(+), 6 deletion

[patch 016/203] sdhci: enable multiblock transfers in sdhci-s3c

2010-05-26 Thread akpm
From: Maurus Cuelenaere Wifi over SDIO doesn't work correctly without multiblock, so enable this. This patch depends on the following patches: Signed-off-by: Maurus Cuelenaere Cc: Thomas Abraham Cc: Ben Dooks Cc: Signed-off-by: Andrew Morton --- drivers/mmc/host/sdhci-s3c.c |3 --- 1

[patch 012/203] mmc: SDHCI_INT_DATA_MASK typo error

2010-05-26 Thread akpm
From: Zhangfei Gao Signed-off-by: Zhangfei Gao Reviewed-by: Matt Fleming Cc: Signed-off-by: Andrew Morton --- drivers/mmc/host/sdhci.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/mmc/host/sdhci.h~mmc-sdhci_int_data_mask-typo-error drivers/mmc/host/sdhci.h --

[patch 022/203] drivers/mmc/host: use ERR_CAST

2010-05-26 Thread akpm
From: Julia Lawall Use ERR_CAST(x) rather than ERR_PTR(PTR_ERR(x)). The former makes more clear what is the purpose of the operation, which otherwise looks like a no-op. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // @@ type T; T x; identifier f; @@

[patch 008/203] mmc: sd: clean up redundant memset

2010-05-26 Thread akpm
From: Mark Asselstine The clearing of mrq via a memset at the top of the for loop in mmc_wait_for_app_cmd() is not required as mrq is not used and there is another clearing of mrq just below. We remove the first memset since if the initial tests in the for loop fail the memset is not required.

[patch 002/203] mmc-omap: add support for 16-bit and 32-bit registers

2010-05-26 Thread akpm
From: Marek Belisko The omap850 and omap730 use 16-bit registers instead of 32-bit, requiring a modification of the register addresses in the mmc-omap driver. To resolve this, a bit shift is performed on base register addresses, either by 1 or 2 bits depending on the CPU in use. This yields the

[patch 005/203] sdhci-pltfm: do not print errors in case of an extended iomem size

2010-05-26 Thread akpm
From: Anton Vorontsov Some hosts have an extended SDHCI iomem size, so the driver should only print errors if the iomem size is less than 0x100. Signed-off-by: Anton Vorontsov Acked-by: Richard Röjfors Cc: David Vrabel Cc: Pierre Ossman Cc: Ben Dooks Cc: Signed-off-by: Andrew Morton ---

[patch 004/203] sdhci-pltfm: implement platform data passing

2010-05-26 Thread akpm
From: Anton Vorontsov This includes platform ops, quirks and (de)initialization callbacks. Signed-off-by: Anton Vorontsov Cc: Richard Röjfors Cc: David Vrabel Cc: Pierre Ossman Cc: Ben Dooks Cc: Signed-off-by: Andrew Morton --- drivers/mmc/host/sdhci-pltfm.c | 24 +

[patch 003/203] sdhci: implement CAP_CLOCK_BASE_BROKEN quirk

2010-05-26 Thread akpm
From: Anton Vorontsov Some hosts (e.g. as found in CNS3xxx SOCs) report wrong value in CLOCK_BASE capability field, and currently there is no way to force the SDHCI core to use the platform-provided base clock value. This patch implements CAP_CLOCK_BASE_BROKEN quirk. When enabled, the SDHCI co

[patch 019/203] mmc: remove the "state" argument to mmc_suspend_host()

2010-05-26 Thread akpm
From: Matt Fleming Even though many mmc host drivers pass a pm_message_t argument to mmc_suspend_host() that argument isn't used the by MMC core. As host drivers are converted to dev_pm_ops they'll have to construct pm_message_t's (as they won't be passed by the PM subsystem any more) just to ap

[patch 001/203] davinci: mmc: pass number of SG segments as platform data

2010-05-26 Thread akpm
From: Sudhakar Rajashekhara On some platforms like DM355, the number of EDMA parameter slots available for EDMA_SLOT_ANY usage are few. In such cases, if MMC/SD uses 16 slots for each instance of MMC controller, then the number of slots available for other modules will be very few. By passing t

Re: [PATCH 9/9] ARM: add DMA support to sh7372, enable DMA for SDHI

2010-05-26 Thread Guennadi Liakhovetski
Hi Andrew On Wed, 26 May 2010, Andrew Morton wrote: > On Thu, 13 May 2010 08:57:06 +0200 (CEST) > Guennadi Liakhovetski wrote: > > > On Wed, 12 May 2010, Andrew Morton wrote: > > > > > On Tue, 4 May 2010 16:07:15 +0200 (CEST) > > > Guennadi Liakhovetski wrote: > > > > > > > This patch depend

Re: [PATCH 9/9] ARM: add DMA support to sh7372, enable DMA for SDHI

2010-05-26 Thread Andrew Morton
On Thu, 13 May 2010 08:57:06 +0200 (CEST) Guennadi Liakhovetski wrote: > On Wed, 12 May 2010, Andrew Morton wrote: > > > On Tue, 4 May 2010 16:07:15 +0200 (CEST) > > Guennadi Liakhovetski wrote: > > > > > This patch depends on patch series from Magnus for shmobile, adding INTC > > > and clock