Re: [PATCH 4/8] sdhci: sdhci-esdhci-imx: add sd3.0 clock tuning support

2013-09-16 Thread Ulf Hansson
On 5 September 2013 19:52, Dong Aisheng donga...@gmail.com wrote: On Thu, Sep 5, 2013 at 3:33 PM, Ulf Hansson ulf.hans...@linaro.org wrote: On 4 September 2013 14:54, Dong Aisheng b29...@freescale.com wrote: Freescale i.MX6Q/DL uSDHC clock tuning progress is a little different from the

Question : existence check for eMMC device

2013-09-16 Thread Jongman Heo
Hi, guys, I need to support multiple systems with and without eMMC flash, using single software. I used to check /sys/block/mmcblk0/device/cid file to decide whether eMMC flash exists or not on the system. But it seems that the sysfs file might be brought up slowly (though it's very unusual,

Re: [PATCH v2 9/9] ARM: dts: imx6qdl: add uhs pinctrl state for usdhc3

2013-09-16 Thread Shawn Guo
On Fri, Sep 13, 2013 at 07:11:38PM +0800, Dong Aisheng wrote: This is needed for supporting ultra high speed cards like SD3.0 cards. Signed-off-by: Dong Aisheng b29...@freescale.com --- arch/arm/boot/dts/imx6qdl-sabreauto.dtsi |5 - arch/arm/boot/dts/imx6qdl.dtsi | 30

Re: [PATCH v3] ARM: EDMA: Fix clearing of unused list for DT DMA resources

2013-09-16 Thread Sekhar Nori
Hi Joel, On Saturday 14 September 2013 06:27 AM, Joel Fernandes wrote: From: Joel Fernandes jo...@ti.com Subject: [PATCH v4] ARM: EDMA: Fix clearing of unused list for DT DMA resources HWMOD removal for MMC is breaking edma_start as the events are being manually triggered due to unused

Re: [PATCH 0/3] mmc: omap_hsmmc: get rid of ti,non-removable

2013-09-16 Thread Sekhar Nori
On Friday 13 September 2013 09:07 PM, Tony Lindgren wrote: * Sekhar Nori nsek...@ti.com [130913 03:18]: Get rid of TI specific binding ti,non-removable in favour of the generic binding present for the same purpose. Looks like there's a different handling in the MMC driver for

Re: [PATCH 0/3] mmc: omap_hsmmc: get rid of ti,non-removable

2013-09-16 Thread Sekhar Nori
On Saturday 14 September 2013 03:37 AM, Balaji T K wrote: On Friday 13 September 2013 09:07 PM, Tony Lindgren wrote: * Sekhar Nori nsek...@ti.com [130913 03:18]: Get rid of TI specific binding ti,non-removable in favour of the generic binding present for the same purpose. Looks like there's

[PATCH 0/7] mmc: core: Fixup ocr mask setup to prevent spec violation

2013-09-16 Thread Ulf Hansson
According to the eMMC/SD/SDIO specs the VDD voltage level must not be changed during the initialization, without a complete power cycle of the card. Before this patchset, some host drivers were trying to change voltage level at MMC_POWER_ON state, which is also what the protocol layer advised

[PATCH 0/7] mmc: core: Fixup ocr mask setup to prevent spec violation

2013-09-16 Thread Ulf Hansson
According to the eMMC/SD/SDIO specs the VDD voltage level must not be changed during the initialization, without a complete power cycle of the card. Before this patchset, some host drivers were trying to change voltage level at MMC_POWER_ON state, which is also what the protocol layer advised

[PATCH 2/7] mmc: core: Let mmc_set_signal_voltage take ocr as parameter

2013-09-16 Thread Ulf Hansson
This is yet another step of restructure code to be able to fixup the setup of the negotiated ocr mask. Signed-off-by: Ulf Hansson ulf.hans...@linaro.org --- drivers/mmc/core/core.c |4 ++-- drivers/mmc/core/core.h |2 +- drivers/mmc/core/sd.c |3 ++- drivers/mmc/core/sdio.c |3

[PATCH 1/7] mmc: core: Let mmc_power_up|cycle take ocr as parameter

2013-09-16 Thread Ulf Hansson
As a step to fixup the setup of the negotiated ocr mask, we need the mmc_power_up|cycle functions to take the ocr as a parameter. Signed-off-by: Ulf Hansson ulf.hans...@linaro.org --- drivers/mmc/core/core.c | 24 drivers/mmc/core/core.h |4 ++--

[PATCH 4/7] mmc: core: Cleanup code for setting ocr mask for SDIO

2013-09-16 Thread Ulf Hansson
At several places in mmc_sdio_init_card function the cached mask in host-ocr were being updated. To simplify code, we make use of an local ocr parameter instead. Signed-off-by: Ulf Hansson ulf.hans...@linaro.org --- drivers/mmc/core/sdio.c | 26 ++ 1 file changed, 10

[PATCH 5/7] mmc: core: Move cached value of the negotiated ocr mask to card struct

2013-09-16 Thread Ulf Hansson
The negotiated ocr mask is directly related to the card. Once a card gets removed, the mask shall be dropped. By moving the cache of the ocr mask from the host struct to the card struct we have accomplished this. Signed-off-by: Ulf Hansson ulf.hans...@linaro.org --- drivers/mmc/core/core.c |

[PATCH 3/7] mmc: core: Remove unnecessary retry mechanism at SDIO attach

2013-09-16 Thread Ulf Hansson
The retry and fallback mechanism when failing to switch to 1.8V signaling voltage is handled by the SDIO card init function. Thus we can remove the duplicated old code from the attach function. Signed-off-by: Ulf Hansson ulf.hans...@linaro.org --- drivers/mmc/core/sdio.c | 14 +++--- 1

[PATCH 7/7] mmc: core: Collect common code for card ocr validation

2013-09-16 Thread Ulf Hansson
Since mmc_select_voltage now only gets called from the attach sequence, it makes sense to move the out of spec validations of the card ocr into this function. Signed-off-by: Ulf Hansson ulf.hans...@linaro.org --- drivers/mmc/core/core.c | 10 ++ drivers/mmc/core/mmc.c | 11

[PATCH 6/7] mmc: core: Prevent violation of specs while initializing cards

2013-09-16 Thread Ulf Hansson
According to eMMC/SD/SDIO specs, the VDD (VCC) voltage level must be maintained during the initialization sequence. If we want/need to tune the voltage level, a complete power cycle of the card must be executed. Most host drivers conforms to the specifications by only allowing to change VDD

[PATCH v5] mmc: sdhci-msm: Add support for MSM chipsets

2013-09-16 Thread Georgi Djakov
This platform driver adds the support of Secure Digital Host Controller Interface compliant controller found in Qualcomm MSM chipsets. CC: Asutosh Das asuto...@codeaurora.org CC: Venkat Gopalakrishnan venk...@codeaurora.org CC: Sahitya Tummala stumm...@codeaurora.org CC: Subhash Jadavani

Re: [PATCH v3] ARM: EDMA: Fix clearing of unused list for DT DMA resources

2013-09-16 Thread Joel Fernandes
On 09/16/2013 06:48 AM, Sekhar Nori wrote: Hi Joel, On Saturday 14 September 2013 06:27 AM, Joel Fernandes wrote: From: Joel Fernandes jo...@ti.com Subject: [PATCH v4] ARM: EDMA: Fix clearing of unused list for DT DMA resources HWMOD removal for MMC is breaking edma_start as the events

Re: [PATCH 3/3] arm: dts: socfpga: Add support for SD/MMC

2013-09-16 Thread Stephen Warren
On 09/14/2013 06:30 AM, Tomasz Figa wrote: ... Just as a side note, correct name is Synopsys, not Synopsis. There are multiple places around Documentation/devicetree where this typo is present[1]. Should we consider correcting this or the typo will have to stay? [1] git grep -i synopsis

[PATCH] dts: Fix misspelling of Synopsys

2013-09-16 Thread dinguyen
From: Dinh Nguyen dingu...@altera.com s/Synopsis/Synopsys s/synopsis/synopsys Signed-off-by: Dinh Nguyen dingu...@altera.com Cc: Pavel Machek pa...@denx.de CC: Arnd Bergmann a...@arndb.de CC: Olof Johansson o...@lixom.net Cc: Rob Herring rob.herr...@calxeda.com Cc: Pawel Moll pawel.m...@arm.com

Re: [PATCH 3/3] arm: dts: socfpga: Add support for SD/MMC

2013-09-16 Thread Dinh Nguyen
On Mon, 2013-09-16 at 10:36 -0600, Stephen Warren wrote: On 09/14/2013 06:30 AM, Tomasz Figa wrote: ... Just as a side note, correct name is Synopsys, not Synopsis. There are multiple places around Documentation/devicetree where this typo is present[1]. Should we consider correcting this

Re: [PATCH 0/7] mmc: core: Fixup ocr mask setup to prevent spec violation

2013-09-16 Thread Guennadi Liakhovetski
Hi Ulf On Mon, 16 Sep 2013, Ulf Hansson wrote: According to the eMMC/SD/SDIO specs the VDD voltage level must not be changed during the initialization, without a complete power cycle of the card. Before this patchset, some host drivers were trying to change voltage level at MMC_POWER_ON

Re: [PATCH] dts: Fix misspelling of Synopsys

2013-09-16 Thread Olof Johansson
On Mon, Sep 16, 2013 at 03:57:48PM -0500, dingu...@altera.com wrote: From: Dinh Nguyen dingu...@altera.com s/Synopsis/Synopsys s/synopsis/synopsys Signed-off-by: Dinh Nguyen dingu...@altera.com Cc: Pavel Machek pa...@denx.de CC: Arnd Bergmann a...@arndb.de CC: Olof Johansson

Re: [PATCH] dts: Fix misspelling of Synopsys

2013-09-16 Thread Rob Herring
On 09/16/2013 04:45 PM, Olof Johansson wrote: On Mon, Sep 16, 2013 at 03:57:48PM -0500, dingu...@altera.com wrote: From: Dinh Nguyen dingu...@altera.com s/Synopsis/Synopsys s/synopsis/synopsys Signed-off-by: Dinh Nguyen dingu...@altera.com Cc: Pavel Machek pa...@denx.de CC: Arnd Bergmann

RE: [PATCH] dts: Fix misspelling of Synopsys

2013-09-16 Thread Seungwon Jeon
On Tue, September 17, 2013, Rob Herring wrote: On 09/16/2013 04:45 PM, Olof Johansson wrote: On Mon, Sep 16, 2013 at 03:57:48PM -0500, dingu...@altera.com wrote: From: Dinh Nguyen dingu...@altera.com s/Synopsis/Synopsys s/synopsis/synopsys Signed-off-by: Dinh Nguyen

Re: [PATCH v3] ARM: EDMA: Fix clearing of unused list for DT DMA resources

2013-09-16 Thread Sekhar Nori
On Monday 16 September 2013 09:56 PM, Joel Fernandes wrote: On 09/16/2013 06:48 AM, Sekhar Nori wrote: Hi Joel, On Saturday 14 September 2013 06:27 AM, Joel Fernandes wrote: From: Joel Fernandes jo...@ti.com Subject: [PATCH v4] ARM: EDMA: Fix clearing of unused list for DT DMA resources

[PATCH 1/2] mmc:sdhc: Add vendor specific interrupt and handle routine

2013-09-16 Thread Haijun Zhang
As spec detailed: Error Interrupt Status Register(Offset 032h)[15-12] Error Interrupt Status Enable Register (Offset 036h)[15-12] Error Interrupt Signal Enable Register (Offset 03Ah)[15-12] Bits above are specified by vendor itself. So add interface to handle this requirememt. Also share

[PATCH 2/2] mmc:esdhc: Enable DMA err bit for eSDHC host

2013-09-16 Thread Haijun Zhang
eSDHC host had bit eSDHC_IRQSTAT[3] to indicate that DMA (SDMA or ADMA) transfer has failed. So enable this bit detecting and its interrupt. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- drivers/mmc/host/sdhci-of-esdhc.c | 20 1 file changed, 20 insertions(+)

Re: [PATCH v3] ARM: EDMA: Fix clearing of unused list for DT DMA resources

2013-09-16 Thread Joel Fernandes
On 09/17/2013 12:08 AM, Sekhar Nori wrote: [..] I still cannot find any users of edma in the device tree sources either in linux-next or linus/master. Why cannot this wait until v3.13? I understand this affects only DT users of EDMA. But I get so many private reports of breakage due to this