Re: MMC runtime PM patches break libertas probe

2011-06-10 Thread zhangfei gao
On Fri, Jun 10, 2011 at 12:28 PM, Ohad Ben-Cohen wrote: > Hi Zhangfei, > > On Fri, Jun 10, 2011 at 5:02 AM, zhangfei gao wrote: >> Here is answer got from the sd8686 maintainer. >> >> For 8686, the SDIO state machine can only handle init sequence (CMD5, >> 5, 3, 7) from host once. If host sends a

Re: [PATCH] mmc: sdio: reset card during power_restore

2011-06-10 Thread Daniel Drake
fine after several power cycles. Patches here: http://dev.laptop.org/~dsd/20110610/ The most relevant ones for this discussion are 6 and 7. What next? Daniel -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majord...@vger.kern

mxs-mmc: sdio not working, keep resetting

2011-06-10 Thread Beel, Koen
Hi all, We are using a Freescale i.MX233 and are running on mainline Linux. A wifi chip company (Redpine Signals) is doing a port of their sdio driver for their Wifi module for our platform. But they are running into problems with the sdio. We have tested the mxs-mmc port using normal sd card wh

[PATCH 4/4] mmc: sdhci-esdhc-imx: extend card_detect and write_protect support

2011-06-10 Thread Shawn Guo
The patch extends card_detect and write_protect support to get mx5 family and more scenarios supported. The changes include: * Turn platform_data from optional to mandatory * Add cd_types and wp_types into platform_data to cover more use cases * Remove the use of flag ESDHC_FLAG_GPIO_FOR_CD

[PATCH 3/4] mmc: sdhci-esdhc-imx: remove "WP" from flag ESDHC_FLAG_GPIO_FOR_CD_WP

2011-06-10 Thread Shawn Guo
The use of flag ESDHC_FLAG_GPIO_FOR_CD_WP is all CD related. It does not necessarily need to bother WP in the flag name. Signed-off-by: Shawn Guo --- drivers/mmc/host/sdhci-esdhc-imx.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/host/sdhci-esdhc-i

[PATCH 2/4] mmc: sdhci-esdhc-imx: SDHCI_CARD_PRESENT does not get cleared

2011-06-10 Thread Shawn Guo
The function esdhc_readl_le intends to clear bit SDHCI_CARD_PRESENT, when the card detect gpio tells there is no card. But it does not clear the bit actually. The patch gives a fix on that. Signed-off-by: Shawn Guo --- drivers/mmc/host/sdhci-esdhc-imx.c |2 +- 1 files changed, 1 insertions

[PATCH 1/4] mmc: sdhci: fix interrupt storm from card detection

2011-06-10 Thread Shawn Guo
The issue was initially found by Eric Benard as below. http://permalink.gmane.org/gmane.linux.ports.arm.kernel/108031 Not sure about other SDHCI based controller, but on Freescale eSDHC, the SDHCI_INT_CARD_INSERT bits will be immediately set again when it gets cleared, if a card is inserted. The

[PATCH 0/4] Extend sdhci-esdhc-imx card_detect and write_protect support for mx5

2011-06-10 Thread Shawn Guo
The card-present polling within sdhci based driver is very expensive in terms of the impact to system performance. We observe a few system performance issues from Freescale and Linaro on mx5 platforms, which have been proved card polling related. The patch set extends the current sdhci-esdhc-imx