[PATCH 3/3 v2] mmc: Add ESDHC weird voltage bits workaround

2010-07-29 Thread Roy Zang
P4080 ESDHC controller does not support 1.8V and 3.0V voltage. but the host controller capabilities register wrongly set the bits. This patch adds the workaround to correct the weird voltage setting bits. Signed-off-by: Roy Zang --- This is the second version of patch http://patchwork.ozlabs.org

+ sdhci-add-regulator-support.patch added to -mm tree

2010-07-29 Thread akpm
The patch titled sdhci: add regulator support has been added to the -mm tree. Its filename is sdhci-add-regulator-support.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the

+ sdhci-s3c-add-support-for-new-card-detection-methods.patch added to -mm tree

2010-07-29 Thread akpm
The patch titled sdhci-s3c: add support for new card detection methods has been added to the -mm tree. Its filename is sdhci-s3c-add-support-for-new-card-detection-methods.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a sui

+ sdhci-s3c-enable-sdhci_quirk_no_hispd_bit-quirk.patch added to -mm tree

2010-07-29 Thread akpm
The patch titled sdhci-s3c: enable SDHCI_QUIRK_NO_HISPD_BIT quirk has been added to the -mm tree. Its filename is sdhci-s3c-enable-sdhci_quirk_no_hispd_bit-quirk.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mail

+ sdhci-s3c-add-support-for-the-non-standard-minimal-clock-value.patch added to -mm tree

2010-07-29 Thread akpm
The patch titled sdhci-s3c: add support for the non standard minimal clock value has been added to the -mm tree. Its filename is sdhci-s3c-add-support-for-the-non-standard-minimal-clock-value.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b

Re: [PATCHv2 4/4] sdhci: add regulator support

2010-07-29 Thread Mark Brown
On Thu, Jul 29, 2010 at 02:34:35PM +0200, Marek Szyprowski wrote: > This patch adds support for regulator API to sdhci core driver. Regulators > can be used to disable power in suspended state to reduce dissipated > energy. > > Signed-off-by: Marek Szyprowski > Signed-off-by: Kyungmin Park Look

Re: [PATCH v2 03/20] mmc: support embedded data field in mmc_host

2010-07-29 Thread Vitaly Wool
Hi Ohad, On Thu, Jul 29, 2010 at 8:00 AM, Ohad Ben-Cohen wrote: >> To my understanding, this data doesn't belong to mmc_host. It's not a >> host data at all. E. g. imagine a GPIO IRQ for some SDIO chip -- it's >> totally unrelated to host. >> >> I think a cleaner way would be to introduce somethi

Re: [PATCH 04/12] mmci: allow the card detect status not to be inverted

2010-07-29 Thread Russell King - ARM Linux
On Thu, Jul 29, 2010 at 03:53:19PM +0200, Linus Walleij wrote: > 2010/7/29 Russell King - ARM Linux : > > > What now needs to happen is the sense of the GPIOLIB support on platforms > > needs to be checked - eg, I suspect the card detect via the GPIO primecell > > is inverted on Realview - in whic

Re: [PATCH 04/12] mmci: allow the card detect status not to be inverted

2010-07-29 Thread Linus Walleij
2010/7/29 Russell King - ARM Linux : > What now needs to happen is the sense of the GPIOLIB support on platforms > needs to be checked - eg, I suspect the card detect via the GPIO primecell > is inverted on Realview - in which case we need a 'cd_invert' rather > than the negative 'cd_noinvert'. D

Re: [PATCH 02/12] mmci: fix multi block transfers

2010-07-29 Thread Russell King - ARM Linux
On Tue, Jun 22, 2010 at 02:47:37PM +0530, Rabin Vincent wrote: > Fix the data transfer size to allow multi block transfers to work. > > Acked-by: Linus Walleij > Signed-off-by: Rabin Vincent The first two patches improve performance on Versatile, from 20.5s to read 1MB down to 18.5s - a 10% imp

Re: MX27 libertas_sdio SDIO Interrupts vs available bitrate

2010-07-29 Thread Julien Boibessot
Hi Andreas, Andreas Feuersinger a écrit : > I'm trying to improve throughput of the Marvell 8686 sdio wlan module. > Unfortunately I have to stick with kernel 2.6.22. > > Everything works except for very bad datarate. So far the mxc_mmc > driver does not handle any SDIO interrupts. Could that be t

Re: [PATCH 04/12] mmci: allow the card detect status not to be inverted

2010-07-29 Thread Russell King - ARM Linux
On Tue, Jun 22, 2010 at 02:47:39PM +0530, Rabin Vincent wrote: > On some platforms, the GPIO value from the gpio_cd pin doesn't need to > be inverted to get it active high. Argh. Actually, I think the inversion of the card status is a bug - certainly for Versatile it is. It was on Realview as we

[PATCHv2 4/4] sdhci: add regulator support

2010-07-29 Thread Marek Szyprowski
This patch adds support for regulator API to sdhci core driver. Regulators can be used to disable power in suspended state to reduce dissipated energy. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park --- Changes since V1: - moved regulator support from sdhci-s3c sub-driver to the m

[PATCH 2/4] sdhci-s3c: enable SDHCI_QUIRK_NO_HISPD_BIT quirk

2010-07-29 Thread Marek Szyprowski
This patch enables SDHCI_QUIRK_NO_HISPD_BIT on Samsung SDHCI driver. This solves detection problems with some external SD cards. This change has been tested on S5PC100 and S5PC110. It has no inpact on driver speed. Signed-off-by: Kyungmin Park Signed-off-by: Marek Szyprowski --- drivers/mmc/hos

[PATCHv6 3/4] sdhci-s3c: add support for new card detection methods

2010-07-29 Thread Marek Szyprowski
On some Samsung SoCs not all SDHCI controllers have card detect (CD) line. For some embedded designs it is not even needed, because ususally the device (like SDIO flash memory or wifi controller) is permanently wired to the controller. There are also systems which have a card detect line connected

[PATCH v2] SDHCI-S3C updates

2010-07-29 Thread Marek Szyprowski
Hello, This is an updated version of the patches I've sent yesterday. I've fixed issues reported by Maurus Cuelenaere and Ben Dooks. This patch series includes various updates to sdhci-s3c driver. The patches has been rebased onto latest -mm kernel tree from git://zen-kernel.org/kernel/mmotm.git

[PATCHv3 1/4] sdhci-s3c: add support for the non standard minimal clock value

2010-07-29 Thread Marek Szyprowski
S3C SDHCI host controller can change the source for generating mmc clock. By default host bus clock is used, what causes some problems on machines with 133MHz bus, because the SDHCI divider cannot be as high get proper clock value for identification mode. This is not a problem for the controller, b

[PATCH 4/5] mmc: msm_sdcc: Rename config MMC_MSM7X00A to MMC_MSM

2010-07-29 Thread Sahitya Tummala
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 --- drivers/mmc/host/Kconfig |7 --- drivers/mmc/host/Makefile |2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/driv

[PATCH 3/5] mmc: msm_sdcc: Compile the driver for msm7x30

2010-07-29 Thread Sahitya Tummala
The controller base address is referred from platform resource instead of using #defines. This fixes the compilation error when driver is compiled for msm7x30. Signed-off-by: Sahitya Tummala --- drivers/mmc/host/Kconfig|2 +- drivers/mmc/host/msm_sdcc.c | 13 + 2 files chan

MX27 libertas_sdio SDIO Interrupts vs available bitrate

2010-07-29 Thread Andreas Feuersinger
Hi, I'm trying to improve throughput of the Marvell 8686 sdio wlan module. Unfortunately I have to stick with kernel 2.6.22. Everything works except for very bad datarate. So far the mxc_mmc driver does not handle any SDIO interrupts. Could that be the reason for the bad performance? I figure

[PATCH] mmc: add SDHCI driver for STM platforms.

2010-07-29 Thread Giuseppe CAVALLARO
This patch adds the Arasan MMC/SD/SDIO driver for the STM ST40 platforms. It is based on the SDHCI driver. It has been tested on the STx7106/STx7108/STx5289 platforms. Signed-off-by: Giuseppe Cavallaro --- drivers/mmc/host/Kconfig | 12 +++ drivers/mmc/host/Makefile |1 + drivers/