Re: [PATCH v6 0/5] mmc: core: Signal voltage switch procedure for UHS mode

2013-02-11 Thread Chris Ball
Hi Johan, On Mon, Jan 28 2013, Johan Rudholm wrote: This patch series attempts to make the 1.8V signal voltage switch required for UHS mode work according to the SD specification. Thanks, pushed to mmc-next for 3.9. - Chris. -- Chris Ball c...@laptop.org http://printf.net/ One Laptop Per

Re: [PATCH] mmc: sdhci-pltfm: Add a common clk API based implementation of get_timeout_clock

2013-02-11 Thread Chris Ball
Hi Lars-Peter, On Mon, Jan 28 2013, Lars-Peter Clausen wrote: Quite a few drivers have a implementation of the get_timeout_clock callback which simply returns the result of clk_get_rate on devices clock. This patch adds a common implementation of this to the sdhci-pltfm module and replaces

Re: [PATCH REPOST] mmc: bcm2835: set SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK

2013-02-11 Thread Chris Ball
Hi Stephen, On Fri, Feb 08 2013, Stephen Warren wrote: SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK does basically the same as implementing struct sdhci_ops .get_timeout_clock, so simply set that quirk and remove the custom code to simplify the driver. Reported-by: Lars-Peter Clausen l...@metafoo.de

Re: [PATCH v2] mmc: omap_hsmmc: MAINTAINERS: update

2013-02-11 Thread Chris Ball
Hi, On Wed, Feb 06 2013, Balaji T K wrote: Update Maintainer email for omap_hsmmc, as Venkatraman will no longer be able to maintain omap_hsmmc driver. Signed-off-by: Balaji T K balaj...@ti.com Acked-by: Venkatraman S svenk...@gmail.com --- MAINTAINERS |2 +- 1 files changed, 1

Re: [PATCH] mmc: mmc_spi: Fix return value evaluation of irq_of_parse_and_map()

2013-02-11 Thread Chris Ball
Hi, On Wed, Jan 30 2013, Roland Stigge wrote: When irq_of_parse_and_map() returns an error, it does as zero. But in mmc_spi_get_pdata(), the error return case is compared against NO_IRQ. This might work where NO_IRQ is zero (defaults to zero when undefined, as on MIPS) but not where NO_IRQ is

Re: [PATCH 1/2] mmc: core: fix permanent sleep of mmcqd during card removal

2013-02-11 Thread Chris Ball
Hi, On Tue, Jan 22 2013, Seungwon Jeon wrote: This patch is derived from 'mmc: fix async request mechanism ...'. According as async transfer, a request is handled with twice mmc_start_req. When the card is removed, the request is actually not issued in the first mmc_start_req

Re: [PATCH 2/2] mmc: block: don't start new request when the card is removed

2013-02-11 Thread Chris Ball
Hi, On Tue, Jan 22 2013, Seungwon Jeon wrote: Current request can be started newly while handling the error. But if the card is removed, it's unnecessary to restart a request. This makes the extra error handling. Signed-off-by: Seungwon Jeon tgih@samsung.com ---

Re: [PATCH] mmc: core: fixing for the wrong indent

2013-02-11 Thread Chris Ball
Hi, On Fri, Feb 01 2013, Jaehoon Chung wrote: This patch is fixed the wrong indent. (Just code cleanup) Signed-off-by: Jaehoon Chung jh80.ch...@samsung.com --- drivers/mmc/core/core.c | 23 +++ 1 files changed, 11 insertions(+), 12 deletions(-) Thanks, pushed to

Re: [PATCH 2/3] mmc: use regulator_can_change_voltage() instead of regulator_count_voltages() hacks

2013-02-11 Thread Chris Ball
Hi Marek, On Fri, Feb 01 2013, Marek Szyprowski wrote: On 12/4/2012 3:01 PM, Marek Szyprowski wrote: mmc_regulator_set_ocr() depends on the ability of regulator to change the voltage value. When regulator cannot change its voltage output, some code is skipped to avoid reporting false errors

Re: [PATCH 3/3] mmc: sdhci: check voltage range only on regulators aware of voltage value

2013-02-11 Thread Chris Ball
Hi Marek, On Fri, Feb 01 2013, Marek Szyprowski wrote: On 12/4/2012 3:01 PM, Marek Szyprowski wrote: Some regulators don't report any voltage values, so checking supported voltage range results in disabling all SDHCI_CAN_VDD_* flags and registration failure. This patch finally provides a

Re: [PATCH 0/3] omap_hsmmc DT DMA Client support

2013-02-11 Thread Chris Ball
Hi Matt, On Fri, Feb 01 2013, Matt Porter wrote: This series adds DT DMA Engine Client support to the omap_hsmmc. It leverages the generic DMA OF helpers in -next and the dma_request_slave_channel_compat() wrapper introduced in the AM33XX DMA Engine series to support DMA in omap_hsmmc on

Re: [PATCH 1/3] MMC: rtsx: remove driving adjustment

2013-02-11 Thread Chris Ball
Hi, On Mon, Feb 04 2013, Roger Tseng wrote: Several new models of readers use different way to select driving capability(a necessary adjustment along with voltage change). Removing this from device-independent rtsx_pci_sdmmc module. It will be implemented in device-depend calls encapsulated

Re: Control drive strength in software

2013-02-11 Thread Chris Ball
Hi Jeremie, On Mon, Feb 04 2013, Jeremie Samuel wrote: This function doesn't have an mmc_host as parameter. It is an issue for me since the drive strength parameters can be board specific. A solution would be to add this parameter: diff --git a/include/linux/mmc/host.h

Re: [PATCH REPOST] mmc: bcm2835: set SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK

2013-02-11 Thread Stephen Warren
On 02/11/2013 09:36 AM, Chris Ball wrote: Hi Stephen, On Fri, Feb 08 2013, Stephen Warren wrote: SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK does basically the same as implementing struct sdhci_ops .get_timeout_clock, so simply set that quirk and remove the custom code to simplify the driver.

Re: [PATCH v9 0/2] mmc: support packed command feature of eMMC4.5

2013-02-11 Thread Chris Ball
Hi Seungwon, On Wed, Feb 06 2013, Seungwon Jeon wrote: This patch-set adds support of packed command feature for eMMC4.5 devices. Specially, packed write is introduced. Thanks, I've pushed this to mmc-next for 3.9 now. It would be great to see benchmarks for the effect on average write

Re: [PATCH REPOST] mmc: bcm2835: set SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK

2013-02-11 Thread Chris Ball
Hi, On Mon, Feb 11 2013, Stephen Warren wrote: On 02/11/2013 09:36 AM, Chris Ball wrote: Hi Stephen, On Fri, Feb 08 2013, Stephen Warren wrote: SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK does basically the same as implementing struct sdhci_ops .get_timeout_clock, so simply set that quirk and

Re: [PATCH v6 0/5] mmc: core: Signal voltage switch procedure for UHS mode

2013-02-11 Thread Johan Rudholm
Hi Chris, 2013/2/11 Chris Ball c...@laptop.org: Hi Johan, On Mon, Jan 28 2013, Johan Rudholm wrote: This patch series attempts to make the 1.8V signal voltage switch required for UHS mode work according to the SD specification. Thanks, pushed to mmc-next for 3.9. Cool! Just so we won't

Re: [PATCH v3 3/3] mmc: sdhci: update signal voltage switch code

2013-02-11 Thread Chris Ball
Hi, On Mon, Dec 17 2012, Kevin Liu wrote: The protocal related code is moved to core stack. So update the host driver accordingly. Signed-off-by: Kevin Liu kl...@marvell.com Tested-by: Tim Wang wan...@marvell.com Thanks, pushed to mmc-next for 3.9. - Chris. -- Chris Ball c...@laptop.org

Re: [PATCH v6 0/5] mmc: core: Signal voltage switch procedure for UHS mode

2013-02-11 Thread Chris Ball
Hi, On Mon, Feb 11 2013, Johan Rudholm wrote: Thanks, pushed to mmc-next for 3.9. Cool! Just so we won't forget and break something, have you considered taking in the following patch too? From fc6069b79203f64e7efa8dd0bb295bebcd22f710 Mon Sep 17 00:00:00 2001 From: Kevin Liu

Re: [PATCH v9 0/2] mmc: support packed command feature of eMMC4.5

2013-02-11 Thread Arnd Bergmann
On Monday 11 February 2013, Chris Ball wrote: On Wed, Feb 06 2013, Seungwon Jeon wrote: This patch-set adds support of packed command feature for eMMC4.5 devices. Specially, packed write is introduced. Thanks, I've pushed this to mmc-next for 3.9 now. It would be great to see benchmarks

[PATCH v2 RESEND] mmc: sdhci-s3c: Use devm_clk_get()

2013-02-11 Thread Jingoo Han
Use devm_clk_get() rather than clk_get() to make cleanup paths more simple. Signed-off-by: Jingoo Han jg1@samsung.com --- Changes since v1: - modified the commit message drivers/mmc/host/sdhci-s3c.c | 17 ++--- 1 files changed, 2 insertions(+), 15 deletions(-) diff --git

Re: [PATCH v2 1/3] ARM: davinci: da850: override mmc DT node device name

2013-02-11 Thread Sekhar Nori
On 2/7/2013 1:27 PM, Manjunathappa, Prakash wrote: Populate OF_DEV_AUXDATA with desired device name expected by davinci_mmc driver. Without this clk_get of davinci_mmc DT driver fails. But there is no mmc DT support for DaVinci at this time. This patch should come after the driver DT support

RE: [PATCH v2 1/3] ARM: davinci: da850: override mmc DT node device name

2013-02-11 Thread Manjunathappa, Prakash
On Tue, Feb 12, 2013 at 11:16:21, Nori, Sekhar wrote: On 2/7/2013 1:27 PM, Manjunathappa, Prakash wrote: Populate OF_DEV_AUXDATA with desired device name expected by davinci_mmc driver. Without this clk_get of davinci_mmc DT driver fails. But there is no mmc DT support for DaVinci at

Re: [PATCH v2 2/3] mmc: davinci_mmc: add DT support

2013-02-11 Thread Sekhar Nori
On 2/7/2013 1:27 PM, Manjunathappa, Prakash wrote: Adds device tree support for davinci_mmc. Also add binding documentation. Tested in non-dma PIO mode and without GPIO card_detect/write_protect option because of dependencies on EDMA and GPIO module DT support. Signed-off-by: Manjunathappa,

[PATCH v3 0/3] Add DT support for davinci_mmc driver

2013-02-11 Thread Manjunathappa, Prakash
Patch set adds DT support for davinci_mmc driver and is verified on da850-evm without card_detect/write_protect and EDMA support. This patch depends on below patches under review: 1) Patch drivers/pinctrl: grab default handles from device core

[PATCH v3 1/3] mmc: davinci_mmc: add DT support

2013-02-11 Thread Manjunathappa, Prakash
Adds device tree support for davinci_mmc. Also add binding documentation. As of now in non-dma PIO mode and without GPIO card_detect/write_protect option because of dependencies on EDMA and GPIO module DT support. Signed-off-by: Manjunathappa, Prakash prakash...@ti.com Cc:

[PATCH v3 3/3] ARM: davinci: da850: override mmc DT node device name

2013-02-11 Thread Manjunathappa, Prakash
Populate OF_DEV_AUXDATA with desired device name expected by davinci_mmc driver. Without this clk_get of davinci_mmc DT driver fails. Signed-off-by: Manjunathappa, Prakash prakash...@ti.com Cc: linux-mmc@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Cc: