Re: [PATCH] mmc: sdhci-of-arasan: Get quirks from device tree

2015-07-27 Thread Michal Simek
On 07/28/2015 03:07 AM, Shawn Lin wrote: > On 2015/7/27 16:23, Michal Simek wrote: >> On 07/27/2015 10:04 AM, Shawn Lin wrote: >>> This patch adds the interface to get quirks from dts, and >>> there is no need to assign different quirks by condition statement >>> of arasan IP version. >>> >>> Signe

[PATCH] mmc: dw_mmc: Fix coding style issues

2015-07-27 Thread Shawn Lin
This patch fixes the following issues reported by checkpatch.pl: - use -EINVAL instead of -ENOSYS, to fix warning message: "ENOSYS means 'invalid syscall nr' and nothing else" - split lines whose length is greater than 80 characters - avoid quoted string split across lines - use min_t instead of

Re: [PATCH] mmc: sdhci-of-arasan: Get quirks from device tree

2015-07-27 Thread Shawn Lin
On 2015/7/27 16:23, Michal Simek wrote: On 07/27/2015 10:04 AM, Shawn Lin wrote: This patch adds the interface to get quirks from dts, and there is no need to assign different quirks by condition statement of arasan IP version. Signed-off-by: Shawn Lin --- drivers/mmc/host/sdhci-of-arasan.c

Re: [PATCH] mmc: sdhci-of-arasan: Get quirks from device tree

2015-07-27 Thread Shawn Lin
On 2015/7/27 23:19, Lars-Peter Clausen wrote: On 07/27/2015 10:04 AM, Shawn Lin wrote: This patch adds the interface to get quirks from dts, and there is no need to assign different quirks by condition statement of arasan IP version. Signed-off-by: Shawn Lin --- drivers/mmc/host/sdhci-of-ar

Re: [RFC PATCH] mmc: Kconfig: Add dependency on GPIOLIB for Arasan driver

2015-07-27 Thread Scott Branden
Hi Michal, comment in line On 15-07-24 06:53 AM, Michal Simek wrote: The patch "mmc: sdhci-of-arasan: Call OF parsing for MMC" (sha1: 16b23787fc709fe60c5d2bd05927b1a3da33d4e9) introduce new dependency on GPIOLIB which calls mmc_of_parse() -> mmc_gpiod_request_cd() (slot-gpio.c) which calls devm

Re: [PATCH 3/3] mmc: sdhci-of-esdhc: add workaround for T4240 incorrect HOSTVER value

2015-07-27 Thread Scott Wood
On Mon, 2015-07-27 at 09:58 +0200, Ulf Hansson wrote: > On 25 July 2015 at 04:27, Scott Wood wrote: > > On Tue, 2015-07-21 at 15:02 +0200, Ulf Hansson wrote: > > > On 21 July 2015 at 11:45, Yangbo Lu wrote: > > > > For T4240-R1.0-R2.0, the HOSTVER register has incorrcet vender > > > > version val

Re: [PATCH] mmc: sdhci-of-arasan: Get quirks from device tree

2015-07-27 Thread Lars-Peter Clausen
On 07/27/2015 10:04 AM, Shawn Lin wrote: This patch adds the interface to get quirks from dts, and there is no need to assign different quirks by condition statement of arasan IP version. Signed-off-by: Shawn Lin --- drivers/mmc/host/sdhci-of-arasan.c | 7 +++ 1 file changed, 7 insertio

Re: [PATCH v1 1/1] mmc: atmel-mci: allow DMA transfers for AVR32

2015-07-27 Thread Andy Shevchenko
On Mon, 2015-07-27 at 14:24 +0200, Arnd Bergmann wrote: > On Monday 27 July 2015 14:53:30 you wrote: > > The commit ecb89f2f5f3e (mmc: atmel-mci: remove compat for non DT > > board when > > requesting dma chan) removes compat transfer which breaks DMA > > support for ATNGW100. This patch returns b

Re: [PATCH v1 1/1] mmc: atmel-mci: allow DMA transfers for AVR32

2015-07-27 Thread Arnd Bergmann
On Monday 27 July 2015 14:53:30 you wrote: > The commit ecb89f2f5f3e (mmc: atmel-mci: remove compat for non DT board when > requesting dma chan) removes compat transfer which breaks DMA > support for ATNGW100. This patch returns back that functionality. > > Cc: Ludovic Desroches > Signed-off-by:

[PATCH v1 1/1] mmc: atmel-mci: allow DMA transfers for AVR32

2015-07-27 Thread Andy Shevchenko
The commit ecb89f2f5f3e (mmc: atmel-mci: remove compat for non DT board when requesting dma chan) removes compat transfer which breaks DMA support for ATNGW100. This patch returns back that functionality. Cc: Ludovic Desroches Signed-off-by: Andy Shevchenko --- drivers/mmc/host/atmel-mci.c | 49

Re: [PATCH] mmc: sdhci-of-arasan: Get quirks from device tree

2015-07-27 Thread Michal Simek
On 07/27/2015 10:04 AM, Shawn Lin wrote: > This patch adds the interface to get quirks from dts, and > there is no need to assign different quirks by condition statement > of arasan IP version. > > Signed-off-by: Shawn Lin > --- > > drivers/mmc/host/sdhci-of-arasan.c | 7 +++ > 1 file chang

[PATCH v1] mmc: sprd: add MMC host driver for Spreadtrum SoC

2015-07-27 Thread Billows Wu
From: Billows Wu the Spreadtrum MMC host driver is used to supply EMMC, SD, and SDIO types of memory cards Signed-off-by: Billows Wu --- drivers/mmc/host/sprd_sdhost.c | 1197 drivers/mmc/host/sprd_sdhost.h | 592 drivers/mmc/h

[PATCH] mmc: sdhci-of-arasan: Get quirks from device tree

2015-07-27 Thread Shawn Lin
This patch adds the interface to get quirks from dts, and there is no need to assign different quirks by condition statement of arasan IP version. Signed-off-by: Shawn Lin --- drivers/mmc/host/sdhci-of-arasan.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/mmc/host/sdhci-of

Re: [PATCH 3/3] mmc: sdhci-of-esdhc: add workaround for T4240 incorrect HOSTVER value

2015-07-27 Thread Ulf Hansson
On 25 July 2015 at 04:27, Scott Wood wrote: > On Tue, 2015-07-21 at 15:02 +0200, Ulf Hansson wrote: >> On 21 July 2015 at 11:45, Yangbo Lu wrote: >> > For T4240-R1.0-R2.0, the HOSTVER register has incorrcet vender >> > version value and sdhc spec version value. This will break down >> > the ADMA