[PATCH 5/6] mmc: sdhci-esdhc-imx: add imx6sx support

2015-05-27 Thread Dong Aisheng
From: Dong Aisheng b29...@freescale.com The imx6sx usdhc is derived from imx6sl, the difference is minor. imx6sx have the errata ESDHC_FLAG_ERR004536 fixed. So introduce a new compatible string for imx6sx to distinguish them. Signed-off-by: Dong Aisheng b29...@freescale.com ---

[PATCH 4/6] mmc: sdhci-esdhc-imx: using specific compatible string in binding doc

2015-05-27 Thread Dong Aisheng
From: Dong Aisheng b29...@freescale.com Using specific compatible string in binding doc to make the binding more clear. It's also used to avoid checkpatch warning in the future like follows: WARNING: DT compatible string fsl,imx6sx-usdhc appears un-documented -- check

Re: [PATCH 03/13] serial: 8250_dma: Support for deferred probing when requesting DMA channels

2015-05-27 Thread Peter Ujfalusi
On 05/26/2015 06:08 PM, Tony Lindgren wrote: * Peter Ujfalusi peter.ujfal...@ti.com [150526 06:28]: Switch to use ma_request_slave_channel_compat_reason() to request the DMA channels. In case of error, return the error code we received including -EPROBE_DEFER Signed-off-by: Peter Ujfalusi

RE: [RFC PATCH v2] mmc: sleep notification

2015-05-27 Thread Avi Shchislowski
-Original Message- From: Ulf Hansson [mailto:ulf.hans...@linaro.org] Sent: Tuesday, May 26, 2015 5:22 PM To: Avi Shchislowski Cc: Alex Lemberg; linux-mmc Subject: Re: [RFC PATCH v2] mmc: sleep notification On 26 May 2015 at 15:44, Avi Shchislowski avi.shchislow...@sandisk.com

Re: [PATCH v3 1/2] mmc: sdhci: fix abort due to missing runtime PM

2015-05-27 Thread Dong Aisheng
On Thu, May 21, 2015 at 09:15:03AM +0200, Stefan Agner wrote: When using i.MX ESDHC driver, while entering suspend while the device is in runtime PM, the sdhci_(suspend|resume)_host function are called with disabled clocks. Since this functions access the SDHC host registers, this leads to an

Re: sdhci(imx6): misbehaves while installing debian jessie, Got data interrupt 0x00100000

2015-05-27 Thread Russell King - ARM Linux
On Wed, May 27, 2015 at 11:44:59AM +0200, Ulf Hansson wrote: [...] Though, the side-effect you are describing isn't very nice. Even if it doesn't solve you problem, perhaps we should discuss about converting from wait_for_completion() to wait_for_completion_timeout(), when the mmc core

Re: sdhci(imx6): misbehaves while installing debian jessie, Got data interrupt 0x00100000

2015-05-27 Thread Ulf Hansson
[...] Though, the side-effect you are describing isn't very nice. Even if it doesn't solve you problem, perhaps we should discuss about converting from wait_for_completion() to wait_for_completion_timeout(), when the mmc core waits for the host driver to return the result for the request.

[PATCH 3/6] mmc: sdhci-esdhc-imx: add ADMA Length Mismatch errata fix

2015-05-27 Thread Dong Aisheng
The uSDHC has an ADMA Length Mismatch errata ERR004536 which may cause ADMA work abnormally. The errata has already been fixed for i.MX6Q TO1.2 and i.MX6DL TO1.1 by enable the bit 7 in 0x6c register. Unfortunately this fix is not included in i.MX6SL. So we disable ADMA for i.MX6SL and use SDMA

[PATCH 0/6] mmc: imx: a few clean up and fixes

2015-05-27 Thread Dong Aisheng
Patch 1 is a small clean up. Patch 2-4 and 6 are small fixes. Patch 5 add mx6sx support. Dong Aisheng (6): mmc: sdhci-esdhc-imx: merge the same register check into one place mmc: sdhci-esdhc-imx: usdhc does not have missing card interrupt issue mmc: sdhci-esdhc-imx: add ADMA Length Mismatch

Re: [PATCH 11/13] spi: omap2-mcspi: Support for deferred probing when requesting DMA channels

2015-05-27 Thread Peter Ujfalusi
Mark, On 05/26/2015 06:27 PM, Mark Brown wrote: On Tue, May 26, 2015 at 04:26:06PM +0300, Peter Ujfalusi wrote: Switch to use ma_request_slave_channel_compat_reason() to request the DMA channels. Only fall back to pio mode if the error code returned is not -EPROBE_DEFER, otherwise return

[PATCH 6/6] mmc: sdhci-esdhc-imx: add quirk SDHCI_QUIRK2_BROKEN_HS200 for imx6qdl

2015-05-27 Thread Dong Aisheng
The iMX6Q/DL can not support HS200 mode while iMX6SL and iMX6SX can, so introduce a new flag to distinguish them. Signed-off-by: Dong Aisheng aisheng.d...@freescale.com --- drivers/mmc/host/sdhci-esdhc-imx.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git

[PATCH 2/6] mmc: sdhci-esdhc-imx: usdhc does not have missing card interrupt issue

2015-05-27 Thread Dong Aisheng
The usdhc does not have missing card interrupt issue, so don't execute workaround for usdhc. Signed-off-by: Dong Aisheng aisheng.d...@freescale.com --- drivers/mmc/host/sdhci-esdhc-imx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c

[PATCH 1/6] mmc: sdhci-esdhc-imx: merge the same register check into one place

2015-05-27 Thread Dong Aisheng
In esdhc_writel_le() function, there's duplicated checking of the same register as follows: if (unlikely(reg == SDHCI_INT_ENABLE || reg == SDHCI_SIGNAL_ENABLE)). Merge them into one and remove the duplicated one. Signed-off-by: Dong Aisheng aisheng.d...@freescale.com ---

Re: [PATCH v3 1/2] mmc: sdhci: fix abort due to missing runtime PM

2015-05-27 Thread Stefan Agner
On 2015-05-27 12:05, Dong Aisheng wrote: snip diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c b/drivers/mmc/host/sdhci-esdhc-imx.c index 82f512d..7b7b3a3 100644 --- a/drivers/mmc/host/sdhci-esdhc-imx.c +++ b/drivers/mmc/host/sdhci-esdhc-imx.c @@ -1132,7 +1132,7 @@ static int

Re: [PATCH 03/13] serial: 8250_dma: Support for deferred probing when requesting DMA channels

2015-05-27 Thread Peter Ujfalusi
On 05/27/2015 01:41 PM, Peter Ujfalusi wrote: On 05/26/2015 05:44 PM, Greg Kroah-Hartman wrote: On Tue, May 26, 2015 at 04:25:58PM +0300, Peter Ujfalusi wrote: Switch to use ma_request_slave_channel_compat_reason() to request the DMA channels. In case of error, return the error code we

Re: [PATCH 11/13] spi: omap2-mcspi: Support for deferred probing when requesting DMA channels

2015-05-27 Thread Mark Brown
On Wed, May 27, 2015 at 02:15:12PM +0300, Peter Ujfalusi wrote: I have put the maintainers of the relevant subsystems as CC in the commit message and sent the series to all of the mailing lists. This series was touching 7 subsystems and I thought not spamming every maintainer with all the

Re: [PATCH 11/13] spi: omap2-mcspi: Support for deferred probing when requesting DMA channels

2015-05-27 Thread Mark Brown
On Tue, May 26, 2015 at 04:26:06PM +0300, Peter Ujfalusi wrote: Switch to use ma_request_slave_channel_compat_reason() to request the DMA channels. Only fall back to pio mode if the error code returned is not -EPROBE_DEFER, otherwise return from the probe with the -EPROBE_DEFER. Acked-by: Mark

Re: [PATCH] mmc: dw_mmc: Wait for data transfer after response errors

2015-05-27 Thread Doug Anderson
Hi, On Tue, May 26, 2015 at 6:53 PM, Jaehoon Chung jh80.ch...@samsung.com wrote: Have not checked the dw TRM for this change, will do that as soon as I get access to it. OK, sounds good. I have some old version of the DesignWare TRM, so possibly something is different in the newer one...

Re: [PATCH 13/13] ASoC: omap-pcm: Switch to use dma_request_slave_channel_compat_reason()

2015-05-27 Thread Mark Brown
On Tue, May 26, 2015 at 04:26:08PM +0300, Peter Ujfalusi wrote: dmaengine provides a wrapper function to handle DT and non DT boots when requesting DMA channel. Use that instead of checking for of_node in the platform driver. Acked-by: Mark Brown broo...@kernel.org signature.asc Description: