Re: [PATCH V2 00/10] mmc_of_parse() adaptations, DT support for Sheevaplugs

2013-05-14 Thread Guennadi Liakhovetski
Hi Simon On Mon, 13 May 2013, Simon Baatz wrote: While adding DT support for the Sheevaplugs by Globalscale Technologies (Kirkwood), it turned out that the DT binding of mvsdio lacked features to properly support the hardware (active high/low of CD and WP pins could not be described in DT).

Re: [PATCH V2 05/10] mmc: sdhi-pxav3: handle mmc_of_parse() errors during probe

2013-05-14 Thread Guennadi Liakhovetski
There's a typo in the subject line - it's sdhci, not sdhi :) Thanks Guennadi On Mon, 13 May 2013, Simon Baatz wrote: Signed-off-by: Simon Baatz gmbno...@gmail.com --- drivers/mmc/host/sdhci-pxav3.c |7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git

[PATCH] mmc: sdhci-sirf: let device core setup the default pin configuration

2013-05-14 Thread Barry Song
With device core now able to setup the default pin configuration, the call to devm_pinctrl_get_select_default can be removed. And the pin configuration code based on the deprecated Samsung specific gpio bindings is also removed. CC: Linus Walleij linus.wall...@linaro.org Signed-off-by: Barry Song

Re: [PATCH V2 01/10] mmc: return mmc_of_parse() errors to caller

2013-05-14 Thread Ulf Hansson
On 13 May 2013 23:18, Simon Baatz gmbno...@gmail.com wrote: In addition to just logging errors encountered during DT parsing or allocating GPIO slots for CD/WP, mmc_of_parse() now returns with an error. Signed-off-by: Simon Baatz gmbno...@gmail.com --- drivers/mmc/core/host.c | 24

Re: [PATCH] mmc: core: Add a capability for disabling mmc cards

2013-05-14 Thread Adam Lee
On Tue, May 14, 2013 at 03:38:17PM +0800, Adam Lee wrote: On some systems we need a way to disable MMC card support in a MMC/SD card slot due to the legal concern. Add support in the core SD/MMC code to support this. CC more addresses. Yes, this capability seems odd, but linux computer

Re: [PATCH 0/3] mmc: sdhci: support runtime PM for BYT SD cards

2013-05-14 Thread Linus Walleij
On Tue, May 7, 2013 at 10:04 AM, Westerberg, Mika mika.westerb...@intel.com wrote: On Tue, May 07, 2013 at 10:00:48AM +0300, Adrian Hunter wrote: It would be simpler if the above 2 ACPI GPIO patches made it to 3.10 or went via the mmc tree. Adding Rafael in case he can still take them for

Re: [PATCH] mmc: sdhci-sirf: let device core setup the default pin configuration

2013-05-14 Thread Linus Walleij
On Tue, May 14, 2013 at 7:49 AM, Barry Song baohua.s...@csr.com wrote: With device core now able to setup the default pin configuration, the call to devm_pinctrl_get_select_default can be removed. And the pin configuration code based on the deprecated Samsung specific gpio bindings is also

[PATCH v2] mmc: sdhci-sirf: let device core setup the default pin configuration

2013-05-14 Thread Barry Song
With device core now able to setup the default pin configuration, the call to devm_pinctrl_get_select_default can be removed. And the pin configuration code based on the deprecated Samsung specific gpio bindings is also removed. Acked-by: Linus Walleij linus.wall...@linaro.org Signed-off-by:

[PATCH] mmc: mmci: Fixup regulator handling for vqmmc

2013-05-14 Thread Ulf Hansson
From: Ulf Hansson ulf.hans...@linaro.org We can not rely on regulator_is_enabled to decide whether to enable|disable the regulator. It would mean that the reference counter for it is not balanced properly. Instead keep track of our internal state by using a new flag in the host struct, so we can

[PATCH v1 0/1] mmc: mxcmmc: completion of MPC512x support

2013-05-14 Thread Gerhard Sittig
the mxcmmc(4) driver is shared across the i.MX and the MPC512x platforms the driver's initialization did setup the i.MX related clocks but did not setup the MPC512x related clock, this change fixes the omission and thus makes SDHC/MMC fully operational on both platforms Gerhard Sittig (1):

[PATCH v1 1/1] mmc: mxcmmc: setup mpc512x related clocks

2013-05-14 Thread Gerhard Sittig
the mxcmmc(4) driver is shared across the i.MX and MPC512x platforms, setup the 'sdhc_clk' instead of 'ipg' and 'per' in the mpc512x case this change re-uses the i.MX 'per' clock related variable for everything SDHC/MMC related, and makes the 'ipg' clock related variable access conditional --

Re: [PATCH] mmc: core: Add a capability for disabling mmc cards

2013-05-14 Thread Doug Anderson
Chris / Adam, On Tue, May 14, 2013 at 4:19 AM, Chris Ball c...@laptop.org wrote: This has already been NACKed by Nicolas: https://patchwork.kernel.org/patch/1359121/ (At least, I think it has -- your forward doesn't include the patch itself.) Yup, it got NAKed. Unless something has

Re: [PATCH V2 00/10] mmc_of_parse() adaptations, DT support for Sheevaplugs

2013-05-14 Thread Simon Baatz
Hi Guennadi, On Tue, May 14, 2013 at 08:37:47AM +0200, Guennadi Liakhovetski wrote: On Mon, 13 May 2013, Simon Baatz wrote: While adding DT support for the Sheevaplugs by Globalscale Technologies (Kirkwood), it turned out that the DT binding of mvsdio lacked features to properly support

Re: [PATCH] mmc: core: Add a capability for disabling mmc cards

2013-05-14 Thread Nicolas Pitre
On Tue, 14 May 2013, Chris Ball wrote: Hi, On Tue, May 14 2013, Adam Lee wrote: On Tue, May 14, 2013 at 03:38:17PM +0800, Adam Lee wrote: On some systems we need a way to disable MMC card support in a MMC/SD card slot due to the legal concern. Add support in the core SD/MMC code to

[PATCH 5/5] mmc: dw_mmc: Add support DW SD/MMC driver on SOCFPGA

2013-05-14 Thread dinguyen
From: Dinh Nguyen dingu...@altera.com Add platform specific functionality for the DW SD/MMC driver for SoCFPGA. Move SDMMC_CMD_USE_HOLD_REG to dw_mmc.h so other platforms can use this define. Signed-off-by: Dinh Nguyen dingu...@altera.com CC: Seungwon Jeon tgih@samsung.com CC: Jaehoon Chung

Re: [PATCH V2 07/10] ARM: mvebu: Use standard MMC binding for all users of mvsdio

2013-05-14 Thread Jason Cooper
On Mon, May 13, 2013 at 11:18:58PM +0200, Simon Baatz wrote: In order to prepare the switch to the standard MMC device tree parser for mvsdio, adapt all current uses of mvsdio in the dts files to the standard format. Signed-off-by: Simon Baatz gmbno...@gmail.com ---

Re: [PATCH V2 09/10] ARM: Kirkwood: Add dts files for Sheevaplug and eSATA Sheevaplug

2013-05-14 Thread Jason Cooper
On Mon, May 13, 2013 at 11:19:00PM +0200, Simon Baatz wrote: Signed-off-by: Simon Baatz gmbno...@gmail.com --- arch/arm/boot/dts/Makefile|2 + arch/arm/boot/dts/kirkwood-sheevaplug-common.dtsi | 97 +

Re: [PATCH V2 10/10] ARM: Kirkwood: add DT support for Sheevaplug and Sheevaplug eSATA

2013-05-14 Thread Jason Cooper
On Mon, May 13, 2013 at 11:19:01PM +0200, Simon Baatz wrote: Signed-off-by: Simon Baatz gmbno...@gmail.com --- arch/arm/mach-kirkwood/Kconfig|7 +++ arch/arm/mach-kirkwood/Makefile |1 + arch/arm/mach-kirkwood/board-dt.c |4

Re: [PATCH 5/5] mmc: dw_mmc: Add support DW SD/MMC driver on SOCFPGA

2013-05-14 Thread Jaehoon Chung
On 05/15/2013 07:52 AM, dingu...@altera.com wrote: From: Dinh Nguyen dingu...@altera.com Add platform specific functionality for the DW SD/MMC driver for SoCFPGA. Move SDMMC_CMD_USE_HOLD_REG to dw_mmc.h so other platforms can use this define. Signed-off-by: Dinh Nguyen dingu...@altera.com

[PATCH] mmc: mmcif: don't clear masked interrupts

2013-05-14 Thread Guennadi Liakhovetski
Masking events on MMCIF means, an occurrence of the masked event won't raise an interrupt, but the event bit will still be set in the interrupt status register. If simultaneously a different event occurs, that was enabled, both flags will be set. However, only the unmasked event bit should be