Re: [PATCH] mmc: sdhci-sirf: add sirf tuning function (cmd 19)

2014-11-17 Thread Barry Song
2014-11-12 17:35 GMT+08:00 Ulf Hansson ulf.hans...@linaro.org: On 11 November 2014 16:47, Barry Song 21cn...@gmail.com wrote: From: Minda Chen minda.c...@csr.com Add manual tuning function in CSR atlas7 SoC. It is mainly used for the UHS-I SD card working SDR50 SDR104 mode. The tuning

[PATCH 1/1] Production State Awareness support in host side

2014-11-17 Thread Avi Shchislowski
Adding support for PSA (Production State Awareness) feature for all eMMC devices with revision =5.0 In this patch the eMMC driver will check if device was completed its Production State mode, and will switch it to Normal (field) mode. Switching to normal mode signal the device to complete its work

Re: [PATCH 1/1] Production State Awareness support in host side

2014-11-17 Thread Ulf Hansson
On 17 November 2014 13:52, Avi Shchislowski avi.shchislow...@sandisk.com wrote: Adding support for PSA (Production State Awareness) feature for all eMMC devices with revision =5.0 In this patch the eMMC driver will check if device was completed its Production State mode, and will switch it to

Re: [PATCH] mmc: sdhci-sirf: add sirf tuning function (cmd 19)

2014-11-17 Thread Ulf Hansson
On 17 November 2014 10:30, Barry Song 21cn...@gmail.com wrote: 2014-11-12 17:35 GMT+08:00 Ulf Hansson ulf.hans...@linaro.org: On 11 November 2014 16:47, Barry Song 21cn...@gmail.com wrote: From: Minda Chen minda.c...@csr.com Add manual tuning function in CSR atlas7 SoC. It is mainly used for

[PATCH] mmc: dw_mmc: avoid write to CDTHRCTL on older versions

2014-11-17 Thread James Hogan
Commit f1d2736c8156 (mmc: dw_mmc: control card read threshold) added dw_mci_ctrl_rd_thld() with an unconditional write to the CDTHRCTL register at offset 0x100. However before version 240a, the FIFO region started at 0x100, so the write messes with the FIFO and completely breaks the driver. If

Re: [PATCH] mmc: dw_mmc: add quirk for data over interrupt timeout

2014-11-17 Thread Addy
On 2014年11月14日 21:18, Jaehoon Chung wrote: Hi, Addy. Did you use the DW_MCI_QUIRK_IDMAC_DTO? I'm not sure, but i wonder if you get what result when you use above quirk. DW_MCI_QUIRK_IDMAC_DTO is only for version2.0 or below. /* * DTO fix - version 2.10a and below, and only

Re: [PATCH] mmc: dw_mmc: avoid write to CDTHRCTL on older versions

2014-11-17 Thread Jaehoon Chung
Hi, James. Thanks for pointing out. Acked-by: Jaehoon Chung jh80.ch...@samsung.com Best Regards, Jaehoon Chung On 11/18/2014 02:49 AM, James Hogan wrote: Commit f1d2736c8156 (mmc: dw_mmc: control card read threshold) added dw_mci_ctrl_rd_thld() with an unconditional write to the CDTHRCTL

[PATCH] mmc: mxs-mmc: Simplify PM hooks

2014-11-17 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com By using SIMPLE_DEV_PM_OPS we can make the code smaller and cleaner. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- drivers/mmc/host/mxs-mmc.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git