[PATCH v2 0/3] omap_hsmmc: SDIO IRQ on AM335x family

2013-04-12 Thread Andreas Fenkart
This is a resend of an earlier patch http://comments.gmane.org/gmane.linux.ports.arm.omap/90381 It's rebased against Linux 3.9-rc6 / 31880c37c11e28cb8 Main changes are two bug fixes. Also did lots of testing. Fixes are a race condition during suspend and the gpio irq being disabled unintendedly.

[PATCH v2 1/3] mmc: omap_hsmmc: Enable SDIO IRQ using a GPIO in idle mode.

2013-04-12 Thread Andreas Fenkart
Without functional clock the omap_hsmmc module can't forward SDIO IRQs to the system. This patch reconfigures dat1 line as a gpio while the fclk is off. It uses regulare SDIO IRQ detection of the module, while fclk is present. Reviewed-by: Grant Likely grant.lik...@secretlab.ca Signed-off-by:

[PATCH v2 2/3] mmc: omap_hsmmc: debugfs entries for GPIO mode.

2013-04-12 Thread Andreas Fenkart
Signed-off-by: Andreas Fenkart andreas.fenk...@streamunlimited.com diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index c52a0d1..0f9eb54 100644 --- a/drivers/mmc/host/omap_hsmmc.c +++ b/drivers/mmc/host/omap_hsmmc.c @@ -212,6 +212,7 @@ struct omap_hsmmc_host {

[PATCH v2 3/3] mmc: omap_hsmmc: add PSTATE to debugfs regs_show.

2013-04-12 Thread Andreas Fenkart
PSTATE shows current state of data lines. Signed-off-by: Andreas Fenkart andreas.fenk...@streamunlimited.com diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index 0f9eb54..f292d1d 100644 --- a/drivers/mmc/host/omap_hsmmc.c +++ b/drivers/mmc/host/omap_hsmmc.c @@ -54,6

Re: [PATCH v3 0/3] mmc: mxs-mmc: add cd-inverted, non-removable and broken-cd

2013-04-12 Thread Marc Kleine-Budde
On 04/10/2013 11:13 AM, Marc Kleine-Budde wrote: Hello, this patch add support for the cd-inverted, non-removeable and broken-cd property (as defined in devicetree/bindings/mmc/mmc.txt) to the mxs-mmc driver. Tested on a custom imx28 board. This series applies to Chris Ball's

Re: [PATCH 0/2] sdhci-acpi initialization performance regression

2013-04-12 Thread Chris Ball
Hi Adrian, On Thu, Apr 04 2013, Adrian Hunter wrote: When I submitted the sdhci-acpi driver, it's initialization performance was satisfactory. Now it is not. Here are 2 fixes to restore that regression. Adrian Hunter (2): Revert mmc: core: wait while adding MMC host to ensure root

Re: [PATCH] mmc: mxcmmc: Fix bug when card is present during boot

2013-04-12 Thread Chris Ball
Hi, On Tue, Apr 09 2013, Sascha Hauer wrote: On Sat, Apr 06, 2013 at 10:13:31AM +0400, Alexander Shiyan wrote: This patch fixes bug when card is present during boot. Bug was introduced due commit mmc: mxcmmc: fix bug that may block a data transfer forever. When a card is present

Re: [PATCH 2/5 V2] mmc: core: call pm_runtime_put_noidle in pm_runtime_get_sync failed case

2013-04-12 Thread Chris Ball
Hi, On Mon, Apr 08 2013, Ohad Ben-Cohen wrote: On Mon, Apr 8, 2013 at 4:36 AM, Li Fei fei...@intel.com wrote: Even in failed case of pm_runtime_get_sync, the usage_count is incremented. In order to keep the usage_count with correct value and runtime power management to behave correctly, call

Re: [PATCH v3 1/3] mmc: mxs-mmc: add cd-inverted, non-removable and broken-cd

2013-04-12 Thread Chris Ball
Hi, On Wed, Apr 10 2013, Marc Kleine-Budde wrote: Hello, this patch add support for the cd-inverted, non-removeable and broken-cd property (as defined in devicetree/bindings/mmc/mmc.txt) to the mxs-mmc driver. Tested on a custom imx28 board. This series applies to Chris Ball's

Re: [PATCH v5] mmc: dw_mmc: let device core setup the default pin configuration

2013-04-12 Thread Chris Ball
Hi, On Thu, Apr 11 2013, Thomas Abraham wrote: With device core now able to setup the default pin configuration, the pin configuration code based on the deprecated Samsung specific gpio bindings is removed. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org Acked-by: Linus Walleij

Re: [PATCH v3] mmc: mxcmmc: DT support

2013-04-12 Thread Chris Ball
Hi, On Sun, Mar 31 2013, Anatolij Gustschin wrote: From: Markus Pargmann m...@pengutronix.de Adding devicetree support for imx21-mmc and imx31-mmc. Based on generic gpio helper functions by Guennadi and generic DMA devicetree bindings. Signed-off-by: Markus Pargmann m...@pengutronix.de

Re: [PATCH v3] mmc: mxcmmc: DT support

2013-04-12 Thread Arnd Bergmann
On Sunday 31 March 2013, Anatolij Gustschin wrote: From: Markus Pargmann m...@pengutronix.de Adding devicetree support for imx21-mmc and imx31-mmc. Based on generic gpio helper functions by Guennadi and generic DMA devicetree bindings. Signed-off-by: Markus Pargmann m...@pengutronix.de

Re: [PATCH v3] mmc: mxcmmc: DT support

2013-04-12 Thread Chris Ball
Hi, On Fri, Apr 12 2013, Arnd Bergmann wrote: On Sunday 31 March 2013, Anatolij Gustschin wrote: From: Markus Pargmann m...@pengutronix.de Adding devicetree support for imx21-mmc and imx31-mmc. Based on generic gpio helper functions by Guennadi and generic DMA devicetree bindings.

Re: [PATCH v3 0/5] mmc: mxcmmc: add mpc512x support

2013-04-12 Thread Chris Ball
Hi, On Mon, Apr 08 2013, Anatolij Gustschin wrote: The SDHC controller on mpc512x is compatible with i.MX31 SDHC controller, the existing MMC host driver can be used on mpc512x with some modifications, the patch series extends the existing driver. It is based on the following v3 mxcmmc DT

[PATCH] mmc: debugfs: Add debugfs ability to read CID and CSD

2013-04-12 Thread Steve Magnani
Adds 'cid' and 'csd' debugfs entries for SD/MMC devices that allow userland to obtain the values of the corresponding device registers. Signed-off-by: Steven J. Magnani st...@digidescorp.com --- --- a/drivers/mmc/core/debugfs.c2013-04-12 07:39:22.532586948 -0500 +++

Re: [PATCH] mmc: debugfs: Add debugfs ability to read CID and CSD

2013-04-12 Thread Steven J. Magnani
On Sat, 2013-04-13 at 01:06 +0200, Johan Rudholm wrote: I believe these registers are already available as sysfs nodes? I don't have access to the proper hardware right now, but I'm pretty sure you'll find something if you do for instance find /sys -name csd. Ahh. Thanks for the tip; I