Re: powerpc/corenet: enable eSDHC

2015-06-08 Thread Scott Wood
On Mon, 2015-06-08 at 05:12 -0500, Lu Yangbo-B47093 wrote: > Thanks a lot, Scott. > And now a patch was merged on > git://git.linaro.org/people/ulf.hansson/mmc.git next branch to fix > this issue. > It should be no problem. Assuming that patch fixes it and gets pulled for 4.2, this config patch

Re: [PATCH] mmc: host: pxamci: switch over to dmaengine use

2015-06-08 Thread Robert Jarzmik
Ulf Hansson writes: > On 6 June 2015 at 23:15, Robert Jarzmik wrote: >> +#include > > I can't find this header file in my tree, but apparantly it's in > linux-next. Probably it went through Vinod's dma tree, right? Right. > Anyway, I can pick it up for the next-next release cycle or you may >

Re: Usage of restart_handler in pwrseq_emmc

2015-06-08 Thread Guenter Roeck
On 06/08/2015 02:36 AM, Marek Szyprowski wrote: Hello, On 2015-06-03 17:03, Guenter Roeck wrote: On 06/03/2015 03:01 AM, Marek Szyprowski wrote: Hello, On 2015-06-02 17:29, Heiko Stübner wrote: I'm confused by the pwrseq-emmc registering a restart_handler for resetting an emmc in a panic-reb

RE: [RFC PATCH v3] mmc: sleep notification

2015-06-08 Thread Alex Lemberg
Hi Ulf, [...] > > One of my comments for v2, was that I think you should remove all code which > was related to HPI to interrupt sleep notification from the runtime PM resume > path. Instead I wanted you to add that functionality as separate patch based > on > top of this patch. > > You haven'

[PATCH] MMC: host: Fixed multiple checkpatch.pl issues in 4 files.

2015-06-08 Thread Daniel Lockyer
Changes include indenting and spacing. Also replaced a few asm/ includes with linux/. Sometimes the new include has already been included so just removed the /asm. Signed-off-by: Daniel Lockyer --- drivers/mmc/host/android-goldfish.c | 14 ++ drivers/mmc/host/atmel-mci.c| 14

[PATCH] MMC: Fix checkpatch.pl issues

2015-06-08 Thread Daniel Lockyer
Remove unneeded braces and fixed spacing. Also changed include of asm/uaccess.h to linux/uaccess.h. Signed-off-by: Daniel Lockyer --- drivers/mmc/card/block.c | 2 +- drivers/mmc/card/sdio_uart.c | 2 +- drivers/mmc/core/mmc_ops.c | 4 ++-- drivers/mmc/core/sd_ops.c| 5 ++--- drivers/m

Re: Usage of restart_handler in pwrseq_emmc

2015-06-08 Thread Marek Szyprowski
Hello, On 2015-06-03 17:03, Guenter Roeck wrote: On 06/03/2015 03:01 AM, Marek Szyprowski wrote: Hello, On 2015-06-02 17:29, Heiko Stübner wrote: I'm confused by the pwrseq-emmc registering a restart_handler for resetting an emmc in a panic-reboot case at priority 129 to "schedules it just b

Re: [PATCH] mmc: sdhci: Restore behavior while creating OCR mask

2015-06-08 Thread Ulf Hansson
On 6 June 2015 at 20:52, Tim Kryger wrote: > On Fri, Jun 5, 2015 at 3:06 AM, Ulf Hansson wrote: >> Commit 3a48edc4bd68 ("mmc: sdhci: Use mmc core regulator infrastucture") >> changed the behavior for how to assign the ocr_avail mask for the mmc >> host. More precisely it started to mask the bits

Re: [RFC PATCH v3] mmc: sleep notification

2015-06-08 Thread Ulf Hansson
On 8 June 2015 at 08:46, Avi Shchislowski wrote: > Hi Ulf, > > Here is a V3 per your request. > Please review. > > This patch is implements the new additional state of > Power_Off_Notification - SLEEP_NOTIFICATION. > Until now, the implementation of Power_Off_Notification > supported only three mo

Re: [PATCH RESEND v7 2/2] mmc: host: sdhci: Add support to disable SDR104/SDR50/DDR50 based on capability register 0.

2015-06-08 Thread Ulf Hansson
On 8 June 2015 at 10:37, Ulf Hansson wrote: > [...] > >>> > >>> >Can you test this patch on imx SoC ? >>> > >>> >>> (Your email have some format issue.) >> >> Yeah missed to sent in plain text mode. >> >>> >>> I have tested this patch and it does not break imx SoC. >>> You can add my tag. >>>

Re: [PATCH RESEND v7 2/2] mmc: host: sdhci: Add support to disable SDR104/SDR50/DDR50 based on capability register 0.

2015-06-08 Thread Ulf Hansson
[...] >> > >> >Can you test this patch on imx SoC ? >> > >> >> (Your email have some format issue.) > > Yeah missed to sent in plain text mode. > >> >> I have tested this patch and it does not break imx SoC. >> You can add my tag. >> Tested-by: Dong Aisheng > > Thanks Dong !! > >> >> However

Re: [PATCH] mmc: host: pxamci: switch over to dmaengine use

2015-06-08 Thread Ulf Hansson
On 6 June 2015 at 23:15, Robert Jarzmik wrote: > From: Daniel Mack > > Switch over pxamci to dmaengine. This prepares the devicetree full > support of pxamci. > > This was successfully tested on a PXA3xx board, as well as PXA27x. > > Signed-off-by: Daniel Mack > [adapted to pxa-dma] > Signed-off

[RFC PATCH v3] mmc: sleep notification

2015-06-08 Thread Avi Shchislowski
Hi Ulf, Here is a V3 per your request. Please review. This patch is implements the new additional state of Power_Off_Notification - SLEEP_NOTIFICATION. Until now, the implementation of Power_Off_Notification supported only three modes - POWERED_ON (0x01), POWER_OFF_SHORT (0x02) and POWER_OFF_LONG