Re: [PATCH v2 1/4] rename ARCH_BCM to ARCH_BCM_MOBILE (mach-bcm)

2013-10-29 Thread Christian Daudt
On Mon, Oct 28, 2013 at 1:38 PM, Olof Johansson wrote: > On Mon, Sep 23, 2013 at 10:20 AM, Christian Daudt wrote: >> --- a/arch/arm/mach-bcm/Kconfig >> +++ b/arch/arm/mach-bcm/Kconfig >> @@ -1,5 +1,17 @@ >> config ARCH_BCM >> - bool "Broadcom SoC" if ARCH_MULTI_V7 >> + bool "Broadcom

Re: [PATCH] mmc: rtsx: change phase searching method

2013-10-29 Thread micky
Hi Chris: Have you accepted this patch, I'm waiting a long time for your reply. Best Reagards. micky On 09/02/2013 05:16 PM, micky_ch...@realsil.com.cn wrote: From: Micky Ching The new phase searching method is more concise, and makes the code easier to understand. Signed-off-by: Micky Chi

[PATCH] mmc: core: Use MMC_UNSAFE_RESUME as default behavior

2013-10-29 Thread Ulf Hansson
The reason for inventing MMC_UNSAFE_RESUME does not stand any more. Entering suspend without using MMC_UNSAFE_RESUME triggered an ungraceful power cut of the card. For no reason the card device and the block device queue was then also removed from the system. To improve the situation, it is better

[PATCH v2 09/19] mmc: sh_mmcif: Enable the driver on all ARM platforms

2013-10-29 Thread Laurent Pinchart
Renesas ARM platforms are transitioning from single-platform to multi-platform kernels using the new ARCH_SHMOBILE_MULTI. Make the driver available on all ARM platforms to enable it on both ARCH_SHMOBILE and ARCH_SHMOBILE_MULTI, and increase build testing coverage with COMPILE_TEST. Cc: Chris Ball

[PATCH v2 08/19] mmc: sdhi: Enable the driver on all ARM platforms

2013-10-29 Thread Laurent Pinchart
Renesas ARM platforms are transitioning from single-platform to multi-platform kernels using the new ARCH_SHMOBILE_MULTI. Make the driver available on all ARM platforms to enable it on both ARCH_SHMOBILE and ARCH_SHMOBILE_MULTI, and increase build testing coverage with COMPILE_TEST. Whether the CT

Re: [PATCH 08/19] mmc: sdhi: Enable the driver on all ARM platforms

2013-10-29 Thread Laurent Pinchart
Hi Sergei, On Tuesday 29 October 2013 23:47:36 Sergei Shtylyov wrote: > On 10/29/2013 04:15 PM, Laurent Pinchart wrote: > > Renesas ARM platforms are transitioning from single-platform to > > multi-platform kernels using the new ARCH_SHMOBILE_MULTI. Make the > > driver available on all

[PATCH 2/2] Add 'mmc partition access' command

2013-10-29 Thread Richard Retanubun
This command alters the PARTITION_CONFIG[PARTITION_ACCESS] bits to allow R/W to the various partition that exist on the device. --- Hi Chris and mmc-utils maintainers, WARNING: While this alters the bits that I want, it actually does not work. Any subsequent access (e.g. mmc extcsd read) ends u

[PATCH 1/2] Allow 'mmc bootpart enable' to set things back to default

2013-10-29 Thread Richard Retanubun
Passing bootpart argument as 0 will cause the BOOT_ACK (Bit[6]) and BOOT_PARTITION_ENABLE (Bit[5:3]) to be set back to the device default. --- mmc.h |1 + mmc_cmds.c |3 +++ 2 files changed, 4 insertions(+) diff --git a/mmc.h b/mmc.h index 9871d62..1127d75 100644 --- a/mmc.h +++ b/mm

Re: [PATCH 08/19] mmc: sdhi: Enable the driver on all ARM platforms

2013-10-29 Thread Sergei Shtylyov
On 10/29/2013 04:15 PM, Laurent Pinchart wrote: Renesas ARM platforms are transitioning from single-platform to multi-platform kernels using the new ARCH_SHMOBILE_MULTI. Make the driver available on all ARM platforms to enable it on both ARCH_SHMOBILE and ARCH_SHMOBILE_MULTI and increase build t

Re: [PATCH v2 0/7] mmc: sh_mmcif: Convert to use runtime PM at request idle

2013-10-29 Thread Ulf Hansson
On 22 October 2013 16:07, Ulf Hansson wrote: > In a step in removing CONFIG_MMC_CLKGATE, host drivers can implement same > functionality through runtime PM. This patchset is converting the sh_mmcif > accordingly. > > On the way, it was reasonable to include some minor cleanups to simplify code. >

[RFC/PATCH 2/2] mmc: sdhci-pci: add broken HS200 quirk for Intel Merrifield

2013-10-29 Thread David Cohen
Due to unkown hw issue so far, Merrifield is unable to enable HS200 support. This patch adds quirk to avoid SDHCI to initialize with error below: [ 53.850132] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G W 3.12.0-rc6-00037-g3d7c8d9-dirty #36 [ 53.850150] Hardware name: Intel Corporation Merrifield

[RFC/PATCH 1/2] mmc: sdhci: add quirk for broken HS200 support

2013-10-29 Thread David Cohen
This patch defines a quirk for platforms unable to enable HS200 support. Signed-off-by: David Cohen Reviewed-by: Chuanxiao Dong --- drivers/mmc/host/sdhci.c | 3 ++- include/linux/mmc/sdhci.h | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/host/sdhci.c b/drive

[RFC/PATCH 0/2] mmc: sdhci: Workaround Intel Merrifield issue for HS200

2013-10-29 Thread David Cohen
Hi, SDHCI used to work well on Intel Merrifield until this patch was applied: commit 156e14b126ffb6f040bc6f1aff3c51077e42a744 Author: Giuseppe CAVALLARO Date: Wed Jun 12 08:16:38 2013 +0200 mmc: sdhci: fix caps2 for HS200 Although the HC supports HS200 (eMMC) the caps2 are always

Re: [PATCH v3 2/4] mmc: omap_hsmmc: Enable SDIO IRQ.

2013-10-29 Thread Felipe Balbi
Hi, On Tue, Oct 29, 2013 at 04:06:58PM +0100, Andreas Fenkart wrote: > >> diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c > >> index 94d6dc8..53beac4 100644 > >> --- a/drivers/mmc/host/omap_hsmmc.c > >> +++ b/drivers/mmc/host/omap_hsmmc.c > >> @@ -130,6 +130,7 @@ static

Re: [PATCH v3 2/4] mmc: omap_hsmmc: Enable SDIO IRQ.

2013-10-29 Thread Kumar Gala
On Oct 5, 2013, at 6:17 AM, Andreas Fenkart wrote: > 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 > anyw

Re: [PATCH v3 2/4] mmc: omap_hsmmc: Enable SDIO IRQ.

2013-10-29 Thread Andreas Fenkart
Hi 2013/10/8 Felipe Balbi : > Hi, > > On Sat, Oct 05, 2013 at 01:17:08PM +0200, Andreas Fenkart wrote: >> 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

[PATCH -next] mmc: MMC requires GPIOLIB to build

2013-10-29 Thread Sergey Senozhatsky
MMC should select GPIOLIB to build: ERROR: "devm_gpio_request_one" [drivers/mmc/core/mmc_core.ko] undefined! linux-next/scripts/Makefile.modpost:90: recipe for target '__modpost' failed make[1]: *** [__modpost] Error 1 Makefile:955: recipe for target 'modules' failed Signed-off-by: Sergey Senozha

Re: [PATCH 08/19] mmc: sdhi: Enable the driver on all ARM platforms

2013-10-29 Thread Laurent Pinchart
Hi Sergei, On Tuesday 29 October 2013 16:12:49 Sergei Shtylyov wrote: > On 29-10-2013 13:52, Laurent Pinchart wrote: > >>> Renesas ARM platforms are transitioning from single-platform to > >>> multi-platform kernels using the new ARCH_SHMOBILE_MULTI. Make the > >>> driver available on all ARM plat

Re: [PATCH 08/19] mmc: sdhi: Enable the driver on all ARM platforms

2013-10-29 Thread Sergei Shtylyov
Hello. On 29-10-2013 13:52, Laurent Pinchart wrote: Renesas ARM platforms are transitioning from single-platform to multi-platform kernels using the new ARCH_SHMOBILE_MULTI. Make the driver available on all ARM platforms to enable it on both ARCH_SHMOBILE and ARCH_SHMOBILE_MULTI and increase bu

[PATCH] mmc:sdhci fix 2 tuning issues in sdchi_exectuing_tuning

2013-10-29 Thread Peter Guo
1. Tuning success at 40th time should be ok, but current code take this as failed. 2. tuning_count equals to 0 means disable retuning function, but current code still do retuning. Signed-off-by: peter.guo --- drivers/mmc/host/sdhci.c |7 --- 1 file changed, 4 insertions(+), 3 dele

Re: [PATCH 08/19] mmc: sdhi: Enable the driver on all ARM platforms

2013-10-29 Thread Laurent Pinchart
Hi Guennadi, On Tuesday 29 October 2013 10:07:29 Guennadi Liakhovetski wrote: > Hi Laurent > > On Tue, 29 Oct 2013, Laurent Pinchart wrote: > > Renesas ARM platforms are transitioning from single-platform to > > multi-platform kernels using the new ARCH_SHMOBILE_MULTI. Make the > > driver availab

Re: [PATCH 08/19] mmc: sdhi: Enable the driver on all ARM platforms

2013-10-29 Thread Guennadi Liakhovetski
Hi Laurent On Tue, 29 Oct 2013, Laurent Pinchart wrote: > Renesas ARM platforms are transitioning from single-platform to > multi-platform kernels using the new ARCH_SHMOBILE_MULTI. Make the > driver available on all ARM platforms to enable it on both ARCH_SHMOBILE > and ARCH_SHMOBILE_MULTI and i

Re: [PATCH 07/12] mmc: sh_mmcif: Convert to clk_prepare/unprepare

2013-10-29 Thread Guennadi Liakhovetski
On Mon, 28 Oct 2013, Laurent Pinchart wrote: > Turn clk_enable() and clk_disable() calls into clk_prepare_enable() and > clk_disable_unprepare() to get ready for the migration to the common > clock framework. > > Cc: Chris Ball > Cc: Guennadi Liakhovetski > Cc: linux-mmc@vger.kernel.org > Signe

Re: [PATCH 08/12] mmc: sh_mobile_sdhi: Convert to clk_prepare/unprepare

2013-10-29 Thread Guennadi Liakhovetski
On Mon, 28 Oct 2013, Laurent Pinchart wrote: > Turn clk_enable() and clk_disable() calls into clk_prepare_enable() and > clk_disable_unprepare() to get ready for the migration to the common > clock framework. > > Cc: Chris Ball > Cc: Guennadi Liakhovetski > Cc: linux-mmc@vger.kernel.org > Signe

Re: [PATCH 2/2] mmc: dw_mmc: add dw_mmc-k3 for k3 platform

2013-10-29 Thread zhangfei gao
Dear Kumar Thanks for the careful review. On Sun, Oct 27, 2013 at 11:29 PM, Kumar Gala wrote: > > On Oct 23, 2013, at 8:03 AM, Zhangfei Gao wrote: > >> +Required Properties: >> + >> +* compatible: should be >> + - "hisilicon,hi4511-dw-mshc": for controllers with hi4511 >> + specific e