Re: [PATCH] RFC: mmc: dw_mmc: Always go to STATE_DATA_BUSY from STATE_DATA_ERROR

2013-06-20 Thread Doug Anderson
Bing, On Tue, Jun 18, 2013 at 1:01 PM, Bing Zhao wrote: > Hi Doug, > >> > I tested Doug's patch on my failing unit. >> > >> > Without this patch, mmc got hung_task and rebooted eventually. >> > With this patch applied, mmc returns CRC error instead of hung_task, and >> > the error is handled >>

Re: mmc_rescan/sdio_reset timeout missing?

2013-06-20 Thread Grant Grundler
Hi Jaehoon! Thanks for responding...apologies for not answering sooner. On Wed, Jun 19, 2013 at 6:58 PM, Jaehoon Chung wrote: > Hi Grant, > > Which kernel-version do you use? ChromeOS R29 - based on 3.4 kernel. Current code (linus 3.10-rc6) seems to have the same issues (patches for RFC below

[PATCH] mmc: dw_mmc: don't queue up a card detect at slot startup

2013-06-20 Thread Doug Anderson
The MMC subsystem handles looking for a card at probe time. Queuing up our own can race with the rest of the MMC subsystem and cause problems if we get unlucky with timing. Just remove our own detection. Specifically, I found that with just the right set of printouts in my system that one of the

[PATCH v12 06/11] da8xx: config: Enable MMC and FS options

2013-06-20 Thread Joel A Fernandes
From: Joel A Fernandes Required to get OMAP-L1 EVM access MMC and mount rootfs Signed-off-by: Joel A Fernandes --- arch/arm/configs/da8xx_omapl_defconfig |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/configs/da8xx_omapl_defconfig b/arch/arm/configs/da8xx_omapl_defconfig i

[PATCH v12 03/11] ARM: edma: Add EDMA crossbar event mux support

2013-06-20 Thread Joel A Fernandes
From: Matt Porter Changes by Joel: * Split EDMA xbar support out of original EDMA DT parsing patch to keep it easier for review. * Rewrite shift and offset calculation. Suggested-by: Sekhar Nori Suggested by: Andy Shevchenko Signed-off-by: Joel A Fernandes Reference: [1] https://patchwork.ke

[PATCH v12 11/11] ARM: dts: add AM33XX SPI DMA support

2013-06-20 Thread Joel A Fernandes
From: Matt Porter Adds DMA resources to the AM33XX SPI nodes. Signed-off-by: Matt Porter Signed-off-by: Joel A Fernandes --- arch/arm/boot/dts/am33xx.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index 3d59

[PATCH v12 01/11] dmaengine: edma: Add TI EDMA device tree binding

2013-06-20 Thread Joel A Fernandes
From: Matt Porter The binding definition is based on the generic DMA controller binding. Joel: * Droped reserved and queue DT entries from Documentation for now from the original patch series (v10) * Included properties in Documentation and clarified DMA properties (V11) * Made ti,hwmod option *

[PATCH v12 10/11] ARM: dts: add AM33XX EDMA support

2013-06-20 Thread Joel A Fernandes
From: Matt Porter Adds AM33XX EDMA support to the am33xx.dtsi as documented in Documentation/devicetree/bindings/dma/ti-edma.txt Joel: Drop DT entries that are non-hardware-description for now as discussed in [1] [1] https://patchwork.kernel.org/patch/2226761/ Signed-off-by: Matt Porter Sign

[PATCH v12 05/11] edma: config: Enable config options for EDMA

2013-06-20 Thread Joel A Fernandes
From: Joel A Fernandes Build TI_EDMA by default for ARCH_DAVINCI and ARCH_OMAP2PLUS Signed-off-by: Joel A Fernandes --- arch/arm/Kconfig|1 + arch/arm/mach-omap2/Kconfig |1 + drivers/dma/Kconfig |2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git

[PATCH v12 09/11] spi: omap2-mcspi: convert to dma_request_slave_channel_compat()

2013-06-20 Thread Joel A Fernandes
From: Matt Porter Convert dmaengine channel requests to use dma_request_slave_channel_compat(). This supports the DT case of platforms requiring channel selection from either the OMAP DMA or the EDMA engine. AM33xx only boots from DT and is the only user implementing EDMA so in the !DT case we ca

[PATCH v12 02/11] ARM: edma: Add DT and runtime PM support to the private EDMA API

2013-06-20 Thread Joel A Fernandes
From: Matt Porter Adds support for parsing the TI EDMA DT data into the required EDMA private API platform data. Enables runtime PM support to initialize the EDMA hwmod. Enables build on OMAP. Changes by Joel: * Setup default one-to-one mapping for queue_priority and queue_tc mapping as discusse

[PATCH v12 08/11] spi: omap2-mcspi: add generic DMA request support to the DT binding

2013-06-20 Thread Joel A Fernandes
From: Matt Porter The binding definition is based on the generic DMA request binding Signed-off-by: Matt Porter Signed-off-by: Joel A Fernandes --- Documentation/devicetree/bindings/spi/omap-spi.txt | 27 +++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/Doc

[PATCH v12 00/11] DMA Engine support for AM33XX

2013-06-20 Thread Joel A Fernandes
From: Joel A Fernandes This series is remaining of Matt Porter's EDMA patches for AM33XX EDMA support with changes for few pending review comments on v11 series. Also included are EDMA config and build options for OMAP2PLUS and Davinci by selecting DMADEVICES, and options to enable MMCSD on Davi

[PATCH v12 04/11] dmaengine: edma: enable build for AM33XX

2013-06-20 Thread Joel A Fernandes
From: Matt Porter Enable TI EDMA option on OMAP and TI_PRIV_EDMA Signed-off-by: Matt Porter Signed-off-by: Joel A Fernandes --- arch/arm/mach-omap2/Kconfig |1 + drivers/dma/Kconfig |2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/Kconfi

[PATCH v12 07/11] ARM: davinci: Fix compiler warnings in devices-da8xx

2013-06-20 Thread Joel A Fernandes
From: Joel A Fernandes queue_priority_mapping and queue_tc_mapping are no longer const anymore generating a bunch of warnings in devices-da8xx. Fix them by not doing constant assignments. Signed-off-by: Joel A Fernandes --- arch/arm/mach-davinci/devices-da8xx.c |8 1 file changed,

Re: [PATCH 2/2] mmc: dw_mmc: add a quirk for Security Management Unit

2013-06-20 Thread Jaehoon Chung
On 05/24/2013 07:04 PM, Yuvaraj Kumar C D wrote: > Exynos5420 Mobile Storage Host controller has a Security Management Unit > (SMU) for channel 0 and channel 1 (mainly for eMMC). This patch adds a > quirk to bypass SMU as it is not being used yet. > > Signed-off-by: Alim Akhtar > Signed-off-by: A

Re: [PATCH 1/2] mmc: dw_mmc: exynos: Add a new compatible string for exynos5420

2013-06-20 Thread Jaehoon Chung
Looks good to me. Acked-by: Jaehoon Chung Best Regards, Jaehoon Chung On 05/24/2013 07:04 PM, Yuvaraj Kumar C D wrote: > The Exynos5420 has a DWMMC controller which is different from prior > versions.This patch adds a new compatible string for Exynos5420. > > Signed-off-by: Abhilash Kesavan >

[PATCH 1/1] mmc: sdhci-pci: add another device id

2013-06-20 Thread Adrian Hunter
Add another PCI device id for an eMMC host controller. Signed-off-by: Adrian Hunter --- drivers/mmc/host/sdhci-pci.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/mmc/host/sdhci-pci.c b/drivers/mmc/host/sdhci-pci.c index e082fac..d7d6bc8 100644 --- a/drivers/mmc/host/sdhci

[PATCH 0/1] mmc: sdhci-pci: add another device id

2013-06-20 Thread Adrian Hunter
Hi Here is a patch to add another PCI device id for an eMMC host controller. It is dependent on: mmc: sdhci-acpi: add support for eMMC hardware reset for HID 80860F14 mmc: sdhci-pci: add support for eMMC hardware reset for BYT eMMC. which were sent on 13 June. Please queue all

RE: [PATCH (v2)] mmc: sdhci: fix caps2 for HS200

2013-06-20 Thread Youssef TRIKI
Hello Shen, Yes "SD Host Controller Standard Specification Version 3.00" did not indicate the HS200 because it is related to JEDEC spec4.5. ARASAN datasheet is based on "SD Host Controller Standard Specification Version 3.00". which lead to some confusion related to HS200. Come back to the patc

Re: [PATCH (v2)] mmc: sdhci: fix caps2 for HS200

2013-06-20 Thread Giuseppe CAVALLARO
Hello Shen On 6/18/2013 4:32 AM, Shen, Jackey wrote: On Wed, Jun 12, 2013 at 2:16 PM, Giuseppe CAVALLARO wrote: Although the HC supports HS200 (eMMC) the caps2 are always zero; this means that no way to use the super speed mode (when init the card). If the HC support SDR104, for SD3.0, so i

Re: [PATCH 2/4] mmc: omap_hsmmc: Enable SDIO IRQ using a GPIO in idle mode

2013-06-20 Thread Tony Lindgren
* Ulf Hansson [130614 04:55]: > On 7 June 2013 23:49, Tony Lindgren wrote: > > From: Andreas Fenkart > > --- a/drivers/mmc/host/omap_hsmmc.c > > +++ b/drivers/mmc/host/omap_hsmmc.c > > +static void omap_hsmmc_enable_sdio_irq(struct mmc_host *mmc, int enable) > > +{ > > + struct omap_hsmmc_