[PATCH] mmc: sdhci: add interface for 1.2v voltage switch

2012-09-10 Thread Kevin Liu
From: Kevin Liu Add the interface since emmc may need 1.2v voltage. The function should be controller specific. Signed-off-by: Kevin Liu --- drivers/mmc/host/sdhci.c |3 +++ drivers/mmc/host/sdhci.h |1 + 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/mmc/host/s

RE: [PATCH] Revert "mmc: dw_mmc: Add check for IDMAC configuration"

2012-09-10 Thread Seungwon Jeon
On Tuesday, September 11, 2012, Girish K S wrote: > On 11 September 2012 11:16, Seungwon Jeon wrote: > > On Tuesday, September 11, 2012, Girish K S > > wrote: > >> On 11 September 2012 07:53, Seungwon Jeon wrote: > >> > This reverts commit 94c6cee91(Add check for IDMAC configuration). > >> >

Re: [PATCH] Revert "mmc: dw_mmc: Add check for IDMAC configuration"

2012-09-10 Thread Girish K S
On 11 September 2012 11:16, Seungwon Jeon wrote: > On Tuesday, September 11, 2012, Girish K S > wrote: >> On 11 September 2012 07:53, Seungwon Jeon wrote: >> > This reverts commit 94c6cee91(Add check for IDMAC configuration). >> > Synopsys says that only if internal dmac is not present, optiona

RE: [PATCH] Revert "mmc: dw_mmc: Add check for IDMAC configuration"

2012-09-10 Thread Seungwon Jeon
On Tuesday, September 11, 2012, Girish K S wrote: > On 11 September 2012 07:53, Seungwon Jeon wrote: > > This reverts commit 94c6cee91(Add check for IDMAC configuration). > > Synopsys says that only if internal dmac is not present, optional > > external dma interface is present. When internal dm

Re: [PATCH] mmc: omap_hsmmc: Pass on the suspend failure to the PM core

2012-09-10 Thread S, Venkatraman
On Tue, Sep 4, 2012 at 6:38 PM, Hebbar, Gururaja wrote: > From: Vaibhav Bedia > > In some cases mmc_suspend_host() is not able to claim the > host and proceed with the suspend process. The core returns > -EBUSY to the host controller driver. Unfortunately, the > host controller driver does not pa

Re: [PATCH] mmc: sdhci-pxav3: dt: Support "power-gpios" property

2012-09-10 Thread zhangfei gao
On Sun, Sep 9, 2012 at 11:06 AM, Chris Ball wrote: > Tested on OLPC XO-4/MMP3, where the card power for two of the > controllers is a sideband GPIO. The third cell in the power-gpios > property controls whether the GPIO is active high/active low. > > (Also, pass host_caps2 through from platdata t

[PATCH v6 2/3] drivers/mmc: Add realtek pcie sdmmc host driver

2012-09-10 Thread wei_wang
From: Wei WANG Realtek PCI-E SD/MMC card host driver is used to access SD/MMC card, with the help of Realtek PCI-E card reader MFD driver. Signed-off-by: Wei WANG Reviewed-by: Arnd Bergmann Tested-by: Borislav Petkov --- drivers/mmc/host/Kconfig |7 + drivers/mmc/host/Makefile

[PATCH v6 3/3] drivers/memstick: Add realtek pcie memstick host driver

2012-09-10 Thread wei_wang
From: Wei WANG Realtek PCI-E Memstick card host driver is used to access Memstick card, with the help of Realtek PCI-E card reader MFD driver. Signed-off-by: Wei WANG --- drivers/memstick/host/Kconfig | 10 + drivers/memstick/host/Makefile |1 + drivers/memstick/host/rtsx_pci_

[PATCH v6 0/3] Add modules to support realtek PCIE card reader

2012-09-10 Thread wei_wang
From: Wei WANG Support for Realtek PCI-Express driver-based card readers including rts5209 and rts5229. v2: 1. Using platform device to replace realtek slot bus v3: 1. Fix a bug that DMA out of SW-IOMMU space in Lenovo Thinkpad x121e 2. Tested by Borislav Petkov v4: 1. Fulfill power manageme

Re: [PATCH] Revert "mmc: dw_mmc: Add check for IDMAC configuration"

2012-09-10 Thread Jaehoon Chung
On 09/11/2012 01:40 PM, Girish K S wrote: > On 11 September 2012 10:06, Jaehoon Chung wrote: >> On 09/11/2012 12:46 PM, Girish K S wrote: >>> On 11 September 2012 07:53, Seungwon Jeon wrote: This reverts commit 94c6cee91(Add check for IDMAC configuration). Synopsys says that only if int

Re: [PATCH] Revert "mmc: dw_mmc: Add check for IDMAC configuration"

2012-09-10 Thread Girish K S
On 11 September 2012 10:06, Jaehoon Chung wrote: > On 09/11/2012 12:46 PM, Girish K S wrote: >> On 11 September 2012 07:53, Seungwon Jeon wrote: >>> This reverts commit 94c6cee91(Add check for IDMAC configuration). >>> Synopsys says that only if internal dmac is not present, optional >>> external

Re: [PATCH] Revert "mmc: dw_mmc: Add check for IDMAC configuration"

2012-09-10 Thread Jaehoon Chung
On 09/11/2012 12:46 PM, Girish K S wrote: > On 11 September 2012 07:53, Seungwon Jeon wrote: >> This reverts commit 94c6cee91(Add check for IDMAC configuration). >> Synopsys says that only if internal dmac is not present, optional >> external dma interface is present. When internal dmac is present

Re: [PATCH] Revert "mmc: dw_mmc: Add check for IDMAC configuration"

2012-09-10 Thread Girish K S
On 11 September 2012 07:53, Seungwon Jeon wrote: > This reverts commit 94c6cee91(Add check for IDMAC configuration). > Synopsys says that only if internal dmac is not present, optional > external dma interface is present. When internal dmac is present, > '0' value in DMA_INTERFACE of HCON is reaso

[PATCH] Revert "mmc: dw_mmc: Add check for IDMAC configuration"

2012-09-10 Thread Seungwon Jeon
This reverts commit 94c6cee91(Add check for IDMAC configuration). Synopsys says that only if internal dmac is not present, optional external dma interface is present. When internal dmac is present, '0' value in DMA_INTERFACE of HCON is reasonable. DMA_INTERFACE indicates external dma interface. And

Re: [PATCH v2] mmc: slot-gpio: Add support for power gpios

2012-09-10 Thread Guennadi Liakhovetski
Hi Chris On Sun, 9 Sep 2012, Chris Ball wrote: > A power gpio is a sideband output gpio that controls card power. Thanks for the patch. It looks good formally now, thanks for taking into account my comments. However, I'm wondering: this GPIO is different from the previous two - it's an output.

Re: [PATCH v2] mmc: slot-gpio: Fix missing assignment to ctx->ro_gpio

2012-09-10 Thread Guennadi Liakhovetski
On Sun, 9 Sep 2012, Chris Ball wrote: > mmc_gpio_request_ro() doesn't store the requested gpio in ctx->ro_gpio. > As a result, subsequent calls to mmc_gpio_get_ro() will always fail > with -ENOSYS because the gpio number isn't available to that function. > > Cc: stable > Signed-off-by: Chris Bal

Re: [PATCH v3 0/3] DaVinci DMA engine conversion

2012-09-10 Thread Matt Porter
On Thu, Sep 06, 2012 at 03:25:21PM +0200, Daniel Mack wrote: > Hi Matt, > > On 27.08.2012 17:33, Daniel Mack wrote: > > On 23.08.2012 03:09, Matt Porter wrote: > >> This series begins the conversion of the DaVinci private EDMA API > >> implementation to a DMA engine driver and converts two of the

Re: Tracking down suspend/resume ext3/mmc issues on imx233

2012-09-10 Thread Theodore Ts'o
On Mon, Sep 10, 2012 at 10:11:48AM -0500, Matt Sealey wrote: > Wouldn't it be better if the root filesystem was marked as > non-removable in the device tree - or in the case of a truly removable > card, just marked in the MMC subsystem - and the MMC subsystem skipped > the "it could be removed" for

Re: Tracking down suspend/resume ext3/mmc issues on imx233

2012-09-10 Thread Matt Sealey
Wouldn't it be better if the root filesystem was marked as non-removable in the device tree - or in the case of a truly removable card, just marked in the MMC subsystem - and the MMC subsystem skipped the "it could be removed" for suspend/resume operations? Whether you can or you cannot remove an

Re: [PATCH] mmc: mxs-mmc: implement broken-cd

2012-09-10 Thread Matt Sealey
I think this describes three use cases which are different, as Shawn said we have here; * missing card detect support (card detect is not wired so it's impossible to tell, and the controller doesn't support the SD standard card detection) * non-removable device * broken card detect support The th

Re: [PATCH v5 1/3] drivers/mfd: Add realtek pcie card reader driver

2012-09-10 Thread Dan Carpenter
I just had a couple few style comments is all, nothing that couldn't be fixed in a later patch. On Mon, Sep 10, 2012 at 04:03:29PM +0800, wei_w...@realsil.com.cn wrote: > +static int rts5209_extra_init_hw(struct rtsx_pcr *pcr) > +{ > + return 0; > +} It would be nicer if the caller checked w

Re: [PATCH v5 0/3] Add modules to support realtek PCIE card reader

2012-09-10 Thread Dan Carpenter
On Mon, Sep 10, 2012 at 05:25:43PM +0800, wwang wrote: > 于 2012年09月10日 17:21, Dan Carpenter 写道: > > These don't apply on top of linux-next. What do they apply on? > > > > regards, > > dan carpenter > > > Hi Dan: > > These can be applied on torvalds's linux tree, tag v3.6-rc5, that is: > http://gi

Re: [PATCH] mmc: mxs-mmc: implement broken-cd

2012-09-10 Thread Shawn Guo
On Mon, Sep 10, 2012 at 01:04:00PM +0300, Lauri Hintsala wrote: > >>@@ -187,6 +188,9 @@ static int mxs_mmc_get_cd(struct mmc_host *mmc) > >> { > >>struct mxs_mmc_host *host = mmc_priv(mmc); > >> > >>+ if (host->broken_cd) > >>+ return -ENOSYS; > >>+ > > > >The .get_cd caller does n

Re: [PATCH] mmc: mxs-mmc: implement broken-cd

2012-09-10 Thread Lauri Hintsala
Hi Shawn, On 09/10/2012 09:08 AM, Shawn Guo wrote: On Fri, Sep 07, 2012 at 02:45:17PM +0300, Lauri Hintsala wrote: This feature allows to use SDIO bus without wiring card detect signal. This looks like a case of "broken-cd" ... This is relevant in cases where SDIO device is connected to SDI

Re: [PATCH v5 0/3] Add modules to support realtek PCIE card reader

2012-09-10 Thread wwang
于 2012年09月10日 17:21, Dan Carpenter 写道: > These don't apply on top of linux-next. What do they apply on? > > regards, > dan carpenter > Hi Dan: These can be applied on torvalds's linux tree, tag v3.6-rc5, that is: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=tag;h=refs/tags/v3.6-

Re: [PATCH v5 0/3] Add modules to support realtek PCIE card reader

2012-09-10 Thread Dan Carpenter
These don't apply on top of linux-next. What do they apply on? regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH v5 2/3] drivers/mmc: Add realtek pcie sdmmc host driver

2012-09-10 Thread wei_wang
From: Wei WANG Realtek PCI-E SD/MMC card host driver is used to access SD/MMC card, with the help of Realtek PCI-E card reader MFD driver. Signed-off-by: Wei WANG Reviewed-by: Arnd Bergmann Tested-by: Borislav Petkov --- drivers/mmc/host/Kconfig |7 + drivers/mmc/host/Makefile

[PATCH v5 3/3] drivers/memstick: Add realtek pcie memstick host driver

2012-09-10 Thread wei_wang
From: Wei WANG Realtek PCI-E Memstick card host driver is used to access Memstick card, with the help of Realtek PCI-E card reader MFD driver. Signed-off-by: Wei WANG --- drivers/memstick/host/Kconfig | 10 + drivers/memstick/host/Makefile |1 + drivers/memstick/host/rtsx_pci_

[PATCH v5 0/3] Add modules to support realtek PCIE card reader

2012-09-10 Thread wei_wang
From: Wei WANG Support for Realtek PCI-Express driver-based card readers including rts5209 and rts5229. v2: 1. Using platform device to replace realtek slot bus v3: 1. Fix a bug that DMA out of SW-IOMMU space in Lenovo Thinkpad x121e 2. Tested by Borislav Petkov v4: 1. Fulfill power manageme

Re: [PATCH v2] mmc: mxcmmc: fix bug that may block a data transfer forever.

2012-09-10 Thread Sascha Hauer
On Fri, Sep 07, 2012 at 12:43:37PM +0200, Javier Martin wrote: > The problem can be easily reproduced using a script that loops > copying a file in an SD card to another place in the same SD card > and its related to read transfers. This only happens with DMA enabled. > > This is related to the fa