[PATCH 0/2] mmc: rtsx: add support for sdio card

2014-11-26 Thread micky_ching
From: Micky Ching This patch is used to change transfer mode for sdio card support by SD interface. Micky Ching (2): mfd: rtsx: add func to split u32 into register mmc: rtsx: add support for sdio card drivers/mmc/host/rtsx_pci_sdmmc.c | 366 ++ include/l

[PATCH 2/2] mmc: rtsx: add support for sdio card

2014-11-26 Thread micky_ching
From: Micky Ching Add support for sdio card by SD interface. The main change is data transfer mode, When read data, host wait data transfer while command start. When write data, host will start data transfer after command get response. The transfer mode modify can be applied both for SD/MMC card

[PATCH 1/2] mfd: rtsx: add func to split u32 into register

2014-11-26 Thread micky_ching
From: Micky Ching Add helper function to write u32 to registers, if we want to put u32 value to 4 continuous register, this can help us reduce tedious work. Signed-off-by: Micky Ching --- include/linux/mfd/rtsx_pci.h | 15 +++ 1 file changed, 15 insertions(+) diff --git a/include/

Re: [PATCH v2] mmc: dw_mmc: add quirk for broken data transfer over scheme

2014-11-26 Thread Doug Anderson
Hi, On Tue, Nov 25, 2014 at 12:10 AM, Addy Ke wrote: > This patch add a new quirk to add a s/w timer to notify the driver > to terminate current transfer and report a data timeout to the core, > if DTO interrupt does NOT come within the given time. > > dw_mmc call mmc_request_done func to finish

Re: [PATCH] mmc: new API for data write using scatter gather DMA

2014-11-26 Thread Arend van Spriel
On 11/26/14 14:43, Ulf Hansson wrote: On 26 November 2014 at 12:07, Avinash Patil wrote: From: Bing Zhao This patch adds new API to handle scatter gather aggregation. Why is this needed? One thing I can imagine is that the receiving device has specific scatter-gather alignment requirement

[PATCH v3] mmc: Add Production State Awareness Support

2014-11-26 Thread Alex Lemberg
In this patch driver should recognize if eMMC device (Rev >=5.0) was left in PRE_SOLDERING_POST_WRITES (0x02) state, and switch it to NORMAL (0x00). PRE_SOLDERING_POST_WRITES (0x02) state - represents a state where the device is in production process and the host (usually programmer) completed load

RE: [PATCH v2] mmc: Add Production State Awareness Support

2014-11-26 Thread Alex Lemberg
Hi Jaehoon, Thank you for reviewing the patch. > -Original Message- > From: Jaehoon Chung [mailto:jh80.ch...@samsung.com] > Sent: Wednesday, November 26, 2014 6:33 AM > To: Alex Lemberg; ulf.hans...@linaro.org > Cc: linux-mmc@vger.kernel.org; ch...@printf.net; Avi Shchislowski > Subject:

Re: [PATCH] mmc: new API for data write using scatter gather DMA

2014-11-26 Thread Ulf Hansson
On 26 November 2014 at 12:07, Avinash Patil wrote: > From: Bing Zhao > > This patch adds new API to handle scatter gather aggregation. Why is this needed? > > Signed-off-by: Bing Zhao > Signed-off-by: Avinash Patil > Signed-off-by: Xinming Hu > Signed-off-by: Cathy Luo > --- > drivers/mmc/

Re: [PATCH v2] mmc: core: add core-level function for sending tuning commands

2014-11-26 Thread Ulf Hansson
On 26 November 2014 at 06:05, Barry Song <21cn...@gmail.com> wrote: > From: Minda Chen > > According to the SD card spec, Add a manual tuning command function > for SDR104/HS200. > Sending command 19 or command 21 to read data and compare with the > tunning block pattern. > > This patch will help