Re: [PATCH 1/2] mmc: dw_mmc: add dw_mci_of_get_cd_gpio to handle cd pin

2013-12-02 Thread Jaehoon Chung
Acked-by: Jaehoon Chung On 12/02/2013 05:05 PM, Zhangfei Gao wrote: > Change function dw_mci_of_get_cd_gpio type to void suggested by Jaehoon > And check any other comments > > Thanks > > Add function dw_mci_of_get_cd_gpio to check "cd-gpios" from dts. > mmc_gpio_request_cd and mmc_gpio_get_cd

*** DEADLOCK ***

2013-12-02 Thread John Tobias
Hello all, I am using 3.13-rc1 kernel for iMX6SL. I got these errors when I enable my wifi device, the wifi driver is not loaded when the errors occurred. Do you guys have any patches that I can grab?. Regards, john [ INFO: inconsistent lock state ] 3.13.0-rc1 #1 Not tainted

[PATCH v3 1/2] mmc: rtsx: fix card poweroff bug

2013-12-02 Thread micky_ching
From: Micky Ching If the host driver removed while card in the slot, the host will not power off card power correctly. This bug is produced because host eject flag set before the last mmc_set_ios callback, we should set the eject flag after power off. Signed-off-by: Micky Ching --- drivers/mmc

[PATCH v3 2/2] mmc: rtsx: modify phase searching method for tuning

2013-12-02 Thread micky_ching
From: Micky Ching The new phase searching method is more concise and easier to understand. Signed-off-by: Micky Ching --- drivers/mmc/host/rtsx_pci_sdmmc.c | 112 +++-- include/linux/mfd/rtsx_pci.h |2 +- 2 files changed, 33 insertions(+), 81 deletions

[PATCH v3 0/2] fix sd power bug and modify phase-searching method

2013-12-02 Thread micky_ching
From: Micky Ching If the driver removed while sd card still in the slot, the card power will not power down correctly, if we insert the driver module again, UHS card will not switch to UHS mode. This bug is fix in this patch. We use another phase search method for tuning, which looks more simple

[PATCH v5 3/3] mmc: omap_hsmmc: Extend debugfs for SDIO IRQ, GPIO and pinmux.

2013-12-02 Thread Andreas Fenkart
Add SDIO IRQ entries to debugfs entry. Note that PSTATE shows current state of data lines, incl. SDIO IRQ pending Signed-off-by: Andreas Fenkart --- drivers/mmc/host/omap_hsmmc.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/host/omap_hsmmc.c b/

[PATCH v5 2/3] mmc: omap_hsmmc: Pin remux workaround to support SDIO interrupt on AM335x.

2013-12-02 Thread Andreas Fenkart
The am335x can't detect pending cirq in PM runtime suspend. This patch reconfigures dat1 as a GPIO before going to suspend. SDIO interrupts are detected with the GPIO, the GPIO will only wake the module from suspend, SDIO irq detection will still happen through the IP block. Idea of remuxing the p

[PATCH v5 0/3] mmc: omap_hsmmc: enable SDIO IRQ.

2013-12-02 Thread Andreas Fenkart
v5: - fix compile error introduced by last minute fix v4: - switch to interrupts-extended format - drop ti,swakeup-missing flag convert to comaptible section v3: - removed gpio_irq from platform_data v2: - incorparated changes as suggested by reviewers - simplified workaround for am335x, gpio wi

[PATCH v5 1/3] mmc: omap_hsmmc: Enable SDIO IRQ.

2013-12-02 Thread Andreas Fenkart
For now, only support SDIO interrupt if we are booted with DT. This is because some platforms need special quirks. And we don't want to add new legacy mux platform init code callbacks any longer as we are moving to DT based booting anyways. Signed-off-by: Andreas Fenkart --- drivers/mmc/host/oma

[PATCH 18/39] mmc: dw_mmc-pci: remove DEFINE_PCI_DEVICE_TABLE macro

2013-12-02 Thread Jingoo Han
Don't use DEFINE_PCI_DEVICE_TABLE macro, because this macro is not preferred. Signed-off-by: Jingoo Han --- drivers/mmc/host/dw_mmc-pci.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/dw_mmc-pci.c b/drivers/mmc/host/dw_mmc-pci.c index f70546a..6ada1b3 10

Re: [PATCH v3 2/2] arm: dt: zynq: Add SDHCI nodes

2013-12-02 Thread Michal Simek
On 12/02/2013 07:02 PM, Soren Brinkmann wrote: > Add nodes for the Arasan SDHCI controller to Zynq dts files. > > Signed-off-by: Soren Brinkmann > --- > v2: > - update compatibilty string according to changes in 1/2 (append >'-8.9a' IP version string) > --- > arch/arm/boot/dts/zynq-7000.dts

Re: [PATCH v3 1/2] mmc: arasan: Add driver for Arasan SDHCI

2013-12-02 Thread Michal Simek
On 12/02/2013 07:02 PM, Soren Brinkmann wrote: > Add a driver for Arasan's SDHCI controller core. > > Signed-off-by: Soren Brinkmann > Acked-by: Rob Herring [binding] > --- > As discussed, I left binding and license header as is and fixed the typos. > > v3: > - fix typo in binding documentatio

[PATCH] mmc: omap: Fix error introduced by fix to release_mem_region() path

2013-12-02 Thread Tony Lindgren
Commit 31ee9181eb92: (mmc: omap: Fix DMA configuration to not rely on device id) fixed getting of the DMA resources when booted with device tree. This patch however changed the handling of the free_mem_region() error path by reusing the struct resource *res for the DMA resources. Fix the error the

[PATCH v3 1/2] mmc: arasan: Add driver for Arasan SDHCI

2013-12-02 Thread Soren Brinkmann
Add a driver for Arasan's SDHCI controller core. Signed-off-by: Soren Brinkmann Acked-by: Rob Herring [binding] --- As discussed, I left binding and license header as is and fixed the typos. v3: - fix typo in binding documentation - add missing '>' in MODULE_AUTHOR string v2: - document 'int

[PATCH v3 2/2] arm: dt: zynq: Add SDHCI nodes

2013-12-02 Thread Soren Brinkmann
Add nodes for the Arasan SDHCI controller to Zynq dts files. Signed-off-by: Soren Brinkmann --- v2: - update compatibilty string according to changes in 1/2 (append '-8.9a' IP version string) --- arch/arm/boot/dts/zynq-7000.dtsi | 20 arch/arm/boot/dts/zynq-zc702.dts |

Re: [PATCH v4 0/3] mmc: omap_hsmmc: Enable SDIO IRQ.

2013-12-02 Thread Andreas Fenkart
Ignore this set, I busted it. 2013/12/2 Andreas Fenkart : > v4: > - switch to interrupts-extended format > - drop ti,swakeup-missing flag convert to comaptible section > > v3: > - removed gpio_irq from platform_data > > v2: > - incorparated changes as suggested by reviewers > - simplified workarou

[PATCH v4 3/3] mmc: omap_hsmmc: Extend debugfs for SDIO IRQ, GPIO and pinmux.

2013-12-02 Thread Andreas Fenkart
Add SDIO IRQ entries to debugfs entry. Note that PSTATE shows current state of data lines, incl. SDIO IRQ pending Signed-off-by: Andreas Fenkart --- drivers/mmc/host/omap_hsmmc.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/host/omap_hsmmc.c b/

[PATCH v4 2/3] mmc: omap_hsmmc: Pin remux workaround to support SDIO interrupt on AM335x.

2013-12-02 Thread Andreas Fenkart
The am335x can't detect pending cirq in PM runtime suspend. This patch reconfigures dat1 as a GPIO before going to suspend. SDIO interrupts are detected with the GPIO, the GPIO will only wake the module from suspend, SDIO irq detection will still happen through the IP block. Idea of remuxing the p

[PATCH v4 1/3] mmc: omap_hsmmc: Enable SDIO IRQ.

2013-12-02 Thread Andreas Fenkart
For now, only support SDIO interrupt if we are booted with DT. This is because some platforms need special quirks. And we don't want to add new legacy mux platform init code callbacks any longer as we are moving to DT based booting anyways. Signed-off-by: Andreas Fenkart --- drivers/mmc/host/oma

[PATCH v4 0/3] mmc: omap_hsmmc: Enable SDIO IRQ.

2013-12-02 Thread Andreas Fenkart
v4: - switch to interrupts-extended format - drop ti,swakeup-missing flag convert to comaptible section v3: - removed gpio_irq from platform_data v2: - incorparated changes as suggested by reviewers - simplified workaround for am335x, gpio will now only wake the module from runtime suspend, not

Re: [BUG/RFC] SDHCI_QUIRK_NO_MULTIBLOCK for i.MX35/25

2013-12-02 Thread Steffen Trumtrar
On Fri, Nov 15, 2013 at 10:15:37AM +0100, Steffen Trumtrar wrote: > Hi! > > > 1 Actual Use-Case > = > > I have a SDIO card with a Marvell 8787, that works fine on an i.MX53 > with the drivers/net/wireless/mwifiex/sdio.c driver. On an i.MX35 > however the loading of the firm

[PATCH 1/2] mmc: dw_mmc: add dw_mci_of_get_cd_gpio to handle cd pin

2013-12-02 Thread Zhangfei Gao
Change function dw_mci_of_get_cd_gpio type to void suggested by Jaehoon And check any other comments Thanks Add function dw_mci_of_get_cd_gpio to check "cd-gpios" from dts. mmc_gpio_request_cd and mmc_gpio_get_cd are used to handle cd pin Signed-off-by: Zhangfei Gao CC: Jaehoon Chung --- driv