Re: [PATCH 2/2] mmc: core: reset sdio card properly on resume.

2014-11-11 Thread Ulf Hansson
On 11 November 2014 01:17, NeilBrown ne...@suse.de wrote: On Mon, 10 Nov 2014 14:29:19 +0100 Ulf Hansson ulf.hans...@linaro.org wrote: On 8 November 2014 01:14, NeilBrown ne...@suse.de wrote: mmc_sdio_power_restore calls mmc_send_if_cond(host, host-ocr_avail); ret =

RE: [PATCH 1/3] mmc: Support FFU for eMMC v5.0

2014-11-11 Thread Avi Shchislowski
Hi I used the git send-email... Thanks -Original Message- From: Jaehoon Chung [mailto:jh80.ch...@samsung.com] Sent: Tuesday, November 11, 2014 5:08 AM To: Avi Shchislowski; ulf.hans...@linaro.org Cc: 'Chris Ball'; linux-mmc@vger.kernel.org; Alex Lemberg; gwen...@google.com; open list;

Re: [PATCH] mmc: dw_mmc: try pick the exact same voltage as vmmc for vqmmc

2014-11-11 Thread Ulf Hansson
On 11 November 2014 05:02, Addy Ke addy...@rock-chips.com wrote: SD2.0 cards need vqmmc and vmmc to be the same. No, that's not correct. If I remember the spec correctly, the bus signal threshold is 0.75 * VDD. But vqmmc call regulator_set_voltage to set min_uv(2.7v) as far as possible. I

Re: [PATCH v4] mmc: add Toshiba PCI SD controller driver

2014-11-11 Thread Ulf Hansson
On 10 November 2014 17:58, Ondrej Zary li...@rainbow-software.org wrote: This patch resurrects an old never-finished driver for Toshiba PCI SD controllers found in some older Toshiba laptops (such as Portege R100): 02:0d.0 System peripheral [0880]: Toshiba America Info Systems SD TypA

Re: [PATCH v3 1/3] mmc: core: consistent handling of initial values

2014-11-11 Thread Ulf Hansson
On 6 November 2014 14:46, Johan Rudholm johan.rudh...@axis.com wrote: mmc_do_hw_reset(), mmc_power_up() and mmc_power_off() all set similar initial values for bus_mode, bus_width, chip_select and timing. Let's make this handling simpler and more consistent by sticking them together in a common

Re: [PATCH v4] mmc: add Toshiba PCI SD controller driver

2014-11-11 Thread Ondrej Zary
On Tuesday 11 November 2014, Ulf Hansson wrote: On 10 November 2014 17:58, Ondrej Zary li...@rainbow-software.org wrote: This patch resurrects an old never-finished driver for Toshiba PCI SD controllers found in some older Toshiba laptops (such as Portege R100): 02:0d.0 System peripheral

Re: [PATCH v4] mmc: add Toshiba PCI SD controller driver

2014-11-11 Thread Ulf Hansson
On 11 November 2014 12:30, Ondrej Zary li...@rainbow-software.org wrote: On Tuesday 11 November 2014, Ulf Hansson wrote: On 10 November 2014 17:58, Ondrej Zary li...@rainbow-software.org wrote: This patch resurrects an old never-finished driver for Toshiba PCI SD controllers found in some

Re: [PATCH] mmc: dw_mmc: exynos: Add support for exynos7

2014-11-11 Thread Alim Akhtar
Hi Jaehoon, As 64bit dependent patch for dw_mmc is already merged. Do you have any comments on this patch? This patch still apply cleanly on ulf's next and v3.18-rc4 kernel. Regards, Alim On Tue, Oct 21, 2014 at 1:50 PM, Vivek Gautam gautam.vi...@samsung.com wrote: On Tue, Oct 21, 2014 at 1:47

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

2014-11-11 Thread Barry Song
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 principle can be seen in SD spec part1 v3.01 4.2.4.5 (tuning command). SD host send the cmd19 and set the delay value(0-127). and the

[PATCH v5] mmc: add Toshiba PCI SD controller driver

2014-11-11 Thread Ondrej Zary
This patch resurrects an old never-finished driver for Toshiba PCI SD controllers found in some older Toshiba laptops (such as Portege R100): 02:0d.0 System peripheral [0880]: Toshiba America Info Systems SD TypA Controller [1179:0805] (rev 05) The code is fixed, cleaned up and successfully

Re: [PATCH] mmc: dw_mmc: exynos: Add support for exynos7

2014-11-11 Thread Jaehoon Chung
Hi, Alim. I have also tested this patch with my board. It's working fine. Looks good to me. Dear, Ulf. Could you merge this patch at your repository? Acked-by: Jaehoon Chung jh80.ch...@samsung.com Best Regards, Jaehoon Chung On 11/11/2014 11:14 PM, Alim Akhtar wrote: Hi Jaehoon, As 64bit

[PATCH 2/2] mmc: core: reset sdio card properly on resume.

2014-11-11 Thread NeilBrown
mmc_sdio_power_restore() calls mmc_send_if_cond(host, host-card-ocr); ret = mmc_send_io_op_cond(host, 0, NULL); between mmc_go_idle() and mmc_sdio_init_card(). mmc_sdio_resume() needs to as well, else my libertas sdio wifi device doesn't resume properly from suspend.

[PATCH 0/2] mmc: core: power-on sdio card correctly.

2014-11-11 Thread NeilBrown
These two patches replace my previous patch [PATCH 2/2] mmc: core: reset sdio card properly on resume. The only change is to use host-card-ocr instead of host-ocr_avail, as recommend by Ulf. These restore my libertas wifi device properly on system resume. (I'm still hoping for a reply to my

[PATCH 1/2] mmc: core: use card-ocr when negotiating voltage setting in mmc_sdio_power_restore

2014-11-11 Thread NeilBrown
As we are restoring power to a known card, it makes sense to use the 'ocr' value known for the card rather than the generic one for the host interface. This matches the use of card-ocr passed to mmc_power_up in mmc_sdio_runtime_resume (just before mmc_sdio_power_restore is called), and the value

[PATCHv2] mmc: dw_mmc: add the message for deprecating supports-highspeed

2014-11-11 Thread Jaehoon Chung
Recommend to use mmc-cap-highspeed or sd-cap-highspeed instead of supports-highspeed. Although supports-highspeed supports, devloper can use mmc-cap-highspeed or sd-cap-highspeed through this message. Signed-off-by: Jaehoon Chung jh80.ch...@samsung.com --- Changelog V2: - Fixed Checkpatch