Re: [PATCH v2 3/4] mmc: dw_mmc: Convert to mmc_send_tuning()

2014-12-24 Thread Alim Akhtar
Hi Ulf, On Mon, Dec 22, 2014 at 8:11 PM, Ulf Hansson ulf.hans...@linaro.org wrote: On 20 December 2014 at 14:18, Alim Akhtar alim.akh...@gmail.com wrote: Hi Ulf, On Mon, Dec 8, 2014 at 3:40 PM, Ulf Hansson ulf.hans...@linaro.org wrote: On 6 December 2014 at 13:43, Alim Akhtar

Re: [PATCH V3 1/2] mmc: dw_mmc: Convert to mmc_send_tuning()

2014-12-24 Thread Alim Akhtar
Hi Ulf, On Tue, Dec 23, 2014 at 9:32 PM, Ulf Hansson ulf.hans...@linaro.org wrote: Instead of having a local hack taking care of sending the tuning command and as well to verify the response pattern, let's convert to the common mmc_send_tuning() API. This change affects the Exynos variant,

[PATCH 0/3] Convert omap_hsmmc to use common devicetree parsing code.

2014-12-24 Thread NeilBrown
This is a resend against latest git://git.linaro.org/people/ulf.hansson/mmc next with requested changes. My goal is to get omap_hsmmc to use the common code for parsing of, particularly so that I can set cap-power-off-card, which omap_hsmmc doesn't explicitly report. Thanks, NeilBrown ---

[PATCH 3/3] mmc: omap_hsmmc: use mmc_of_parse to parse common mmc configuration.

2014-12-24 Thread NeilBrown
This ensures that all standard options are available to hsmmc, In particular, I need cap-power-off-card. Signed-off-by: NeilBrown ne...@suse.de --- drivers/mmc/host/omap_hsmmc.c | 33 - 1 file changed, 8 insertions(+), 25 deletions(-) diff --git

[PATCH 2/3] mmc: omap_hsmmc: use slot-gpio library for gpio support.

2014-12-24 Thread NeilBrown
Using the common code removes some code duplication, and makes it easier to switch to using mmc_of_parse() which will remove more duplication. This uses the new mmc_gpio_set_cd_isr to provide a non-standard interrupt service routine for card-detect interrupts. Signed-off-by: NeilBrown

[PATCH 1/3] mmc: core: Allow host driver to provide isr for card-detect interrupts.

2014-12-24 Thread NeilBrown
One of the reasons omap_hsmmc doesn't use the slot-gpio library is that it has some non-standard functionality in the card-detect interrupt service routine. To make it possible for omap_hsmmc (and maybe others) to be converted to use slot-gpio, add 'mmc_gpio_set_cd_isr' which provides an