[PATCH 4/4] ARM: mach-shmobile: ap4evb: Fix hotplug for SDHI1

2010-08-24 Thread Arnd Hannemann
On AP4EVB the card detect pin of the top SD/MMC slot is not directly connected to the tmio/mmcif controller but to a GPIO pin, so polling needs to be done for SDHI1 and MMCIF in order to support hotplug for that slot. SHDI1 and MMCIF share that slot, and the used controller is selected by a DIP swi

[PATCH 3/4] sh_mmcif: Allow the platform to specify own get_cd handler

2010-08-24 Thread Arnd Hannemann
In some platforms (e.g. AP4EVB) the card detect pin of a slot is not directly connected to the sh_mmcif controller, so that polling needs to be used. To overcome the overhead induced by querying the controller on each poll cycle, card detection can be handled in the platform code more efficiently.

[PATCH 2/4] sh_mobile_sdhi: Allow the platform to specify get_cd handler

2010-08-24 Thread Arnd Hannemann
On some platforms (e.g. AP4EVB) the card detect pin of a slot is not directly connected to the sdhi hardware, so that polling needs to be used with tmio_mmc and card detection is handled in the platform code. This patch allows to set tmio_mmc capabilities (to pass the MMC_CAP_NEEDS_POLL flag) and e

[PATCH 1/4] tmio_mmc: Allow the mfd driver to specify get_cd handler

2010-08-24 Thread Arnd Hannemann
Some controllers, supported by the tmio_mmc driver do not have the card detect pin of a slot connected, so that polling needs to be used and card detection is handled by other means. This patch exposes a get_cd hook for that purpose. Signed-off-by: Arnd Hannemann --- drivers/mmc/host/tmio_mmc.c

[PATCH 0/4] Fix/improve hotplug for sh_mobile_sdhi/tmio_mmc/sh_mmcif

2010-08-24 Thread Arnd Hannemann
This patch series attempts to fix hotplug (for sh_mobile_sdhi/tmio_mmc) and improve hotplug (for sh_mmcif) on the AP4EVB (shmobile) board, by handling the card detect in platform code. Best regards, Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a me

sdhci-stm performance issues

2010-08-24 Thread Peppe CAVALLARO
Hello, testing the sdhci-stm.c driver, I sent some weeks ago to the mailing list, I'm facing some performance issues. For example, when copy a file (e.g. ~10MiB) to the card, I've noticed that, in the sdhci_prepare_data, the maximum value for data->blocks is 248. The sdhci-stm driver uses the ADMA

Re: [PATCH] mmc: MMC 4.4 DDR support

2010-08-24 Thread Adrian Hunter
Andrew Morton wrote: On Mon, 23 Aug 2010 21:48:29 +0100 Matt Fleming wrote: On Sat, Aug 21, 2010 at 06:37:45PM -0400, Chris Ball wrote: Hi, > Hm is there some problem with this patch or has the processing of > it simply stalled? When I read the thread I cannot see Hanumaths > answer