Re: [PATCH] ARM: OMAP2: HSMMC: explicit fields to declare cover/card detect pin

2015-03-25 Thread Ulf Hansson
On 20 March 2015 at 15:53, Andreas Fenkart afenk...@gmail.com wrote: board-rx51 has no card detect pin in the mmc slot, but can detect that the (cell-phone) cover has been removed and the card is accessible. The semantics between cover/card detect differ, the gpio on the slot informs you after

Re: [PATCH] mmc: sdhci-esdhc-imx: support voltage-range property

2015-03-25 Thread Ulf Hansson
On 24 March 2015 at 14:45, Marc Kleine-Budde m...@pengutronix.de wrote: From: Sascha Hauer s.ha...@pengutronix.de Signed-off-by: Sascha Hauer s.ha...@pengutronix.de Signed-off-by: Marc Kleine-Budde m...@pengutronix.de Thanks! Applied. Kind regards Uffe ---

Re: [PATCH 12/13] mmc: atmel-mci: use endian agnostic IO

2015-03-25 Thread Ulf Hansson
On 18 March 2015 at 16:53, Ben Dooks ben.do...@codethink.co.uk wrote: Change the __raw IO functions to endian agnostic relaxed ones to allow the driver to function on big endian ARM systems. Signed-off-by: Ben Dooks ben.do...@codethink.co.uk Thanks! Applied. Kind regards Uffe -- CC:

Re: [PATCH] mmc: mmci: Cascade EPROBE_DEFER from regulators.

2015-03-25 Thread Ulf Hansson
On 25 March 2015 at 02:39, Bjorn Andersson bjorn.anders...@sonymobile.com wrote: Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com Thanks! Applied. Kind regards Uffe --- drivers/mmc/host/mmci.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git

Re: [PATCH v3] mmc: sdhci-msm: Add support for vendor capabilities registers

2015-03-25 Thread Ulf Hansson
On 23 March 2015 at 17:47, Georgi Djakov georgi.dja...@linaro.org wrote: Some versions of this controller do not advertise their 3.0v and 8bit bus-width support capabilities. It is required to explicitly set these capabilities for the specific controller versions. Signed-off-by: Georgi Djakov

Re: [RFC PATCH 0/4] mmc: sdhci: Support maximum DMA latency request via PM QoS

2015-03-25 Thread Adrian Hunter
On 24/03/15 22:13, Rafael J. Wysocki wrote: On Tuesday, March 24, 2015 03:40:36 PM Adrian Hunter wrote: Hi Here are some patches to address an issue with SDHCI in Intel Baytrail. Intel Baytrail has been observed sometimes to hang if host controllers are using DMA while deep C-states are

Re: [PATCH V2 11/15] mmc: sdhci: Change to new way of doing re-tuning

2015-03-25 Thread Adrian Hunter
On 24/03/15 23:12, Ulf Hansson wrote: On 23 March 2015 at 22:11, Adrian Hunter adrian.hun...@intel.com wrote: On 23/03/2015 5:02 p.m., Ulf Hansson wrote: [...] I have no locking issues, so I am not sure what you mean here. Okay, I should have stated race conditions. Which I resolved

Re: [PATCH] gpio: pcf857x: restore the initial line state of all pcf lines

2015-03-25 Thread Linus Walleij
On Wed, Mar 18, 2015 at 2:21 PM, Kishon Vijay Abraham I kis...@ti.com wrote: [Me] Specify exactly what stuff may happen after the reboot notifier. okay, it's assumed the device may be used (active) till the shutdown handler of that particular device is called. In this particular case we are

Re: [PATCH] ARM: OMAP2: HSMMC: explicit fields to declare cover/card detect pin

2015-03-25 Thread Tony Lindgren
* Ulf Hansson ulf.hans...@linaro.org [150325 01:32]: On 20 March 2015 at 15:53, Andreas Fenkart afenk...@gmail.com wrote: board-rx51 has no card detect pin in the mmc slot, but can detect that the (cell-phone) cover has been removed and the card is accessible. The semantics between

Re: [RFC PATCH 0/4] mmc: sdhci: Support maximum DMA latency request via PM QoS

2015-03-25 Thread Pavel Machek
Hi! Here are some patches to address an issue with SDHCI in Intel Baytrail. Intel Baytrail has been observed sometimes to hang if host controllers are using DMA while deep C-states are used. Workaround that by I wonder if there is more information on this one? I see your address is @intel.

[PATCH 0/2] Remove mmc_host enable/disable methods.

2015-03-25 Thread NeilBrown
Only omap_hsmmc uses enable and disable, and this seems to be largely for historical reasons and is no longer necessary. I have tested these patches with an OMAP3 with an uSD card on mmc0 and a wifi SDIO device on mmc1. NeilBrown --- NeilBrown (2): mmc: omap_hsmmc: stop using .enable

Re: [PATCH 3/4] mmc: sdio: support switching to 1-bit before turning off clocks

2015-03-25 Thread NeilBrown
On Mon, 23 Mar 2015 10:10:18 +0100 Ulf Hansson ulf.hans...@linaro.org wrote: On 24 February 2015 at 03:42, NeilBrown ne...@suse.de wrote: @@ -941,8 +947,12 @@ void mmc_release_host(struct mmc_host *host) WARN_ON(!host-claimed); - if (host-ops-disable host-claim_cnt ==

[PATCH 2/2] mmc: remove enable/disable methods.

2015-03-25 Thread NeilBrown
The 'enable' and 'disable' methods are deprecated according to host.h, and are no longer used. So discard them. Signed-off-by: NeilBrown n...@brown.name --- drivers/mmc/core/core.c |5 - include/linux/mmc/host.h |6 -- 2 files changed, 11 deletions(-) diff --git

[PATCH 1/2] mmc: omap_hsmmc: stop using .enable and .disable method.

2015-03-25 Thread NeilBrown
enable and disable are only used to get and put runtime pm references. .set_ios already does this itself, and other drivers just do it in set_ios and .request without using enable/disable. So add pm_runtime get/put to omap_hsmmc_request(), and discard the enable/disable methods. Signed-off-by:

Re: [PATCH 1/2] mmc: omap_hsmmc: stop using .enable and .disable method.

2015-03-25 Thread NeilBrown
On Thu, 26 Mar 2015 08:43:37 +1100 NeilBrown n...@brown.name wrote: enable and disable are only used to get and put runtime pm references. .set_ios already does this itself, and other drivers just do it in set_ios and .request without using enable/disable. So add pm_runtime get/put to

[PATCH RESEND 6/7] mmc: host: dw_mmc: change idmac descriptor files to __le32

2015-03-25 Thread Ben Dooks
The dw_mmc driver does not take into account the processor may be in big endian when writing the descriptors. Change the descriptors for the 32bit IDMA to use __le32 and ensure they are suitably swapped before writing. Note, this has not been tested as the socfpga driver does not try to use idma.

[PATCH 6/7] mmc: host: dw_mmc: change idmac descriptor files to __le32

2015-03-25 Thread Ben Dooks
The dw_mmc driver does not take into account the processor may be in big endian when writing the descriptors. Change the descriptors for the 32bit IDMA to use __le32 and ensure they are suitably swapped before writing. Note, this has not been tested as the socfpga driver does not try to use idma.

[PATCH 7/7] mmc: host: dw_mmc: fix fifo ordering in big endian

2015-03-25 Thread Ben Dooks
The dw_mmc driver changes to make the IO accesors endian agnostic did not take into account the fifo accesses do not need to be swapped. To fix this add a mmci_fifo_read/write wrapper to allow these to be passed through the IO without being swapped. Since these are now specific functions, it

[PATCH 5/7] mmc: host: dw_mmc make IO accessors endian agnostic

2015-03-25 Thread Ben Dooks
The dw_mmc driver does not use endian agnostic IO accessors, so fix the use of __raw reads and writes to be the relaxed versions. This fixes the dw_mmc driver initialisation on Altera socfpga in big endian. Signed-off-by: Ben Dooks ben.do...@codethink.co.uk -- CC: Linux MMC

[PATCH RESEND 7/7] mmc: host: dw_mmc: fix fifo ordering in big endian

2015-03-25 Thread Ben Dooks
The dw_mmc driver changes to make the IO accesors endian agnostic did not take into account the fifo accesses do not need to be swapped. To fix this add a mmci_fifo_read/write wrapper to allow these to be passed through the IO without being swapped. Since these are now specific functions, it

[PATCH RESEND 5/7] mmc: host: dw_mmc make IO accessors endian agnostic

2015-03-25 Thread Ben Dooks
The dw_mmc driver does not use endian agnostic IO accessors, so fix the use of __raw reads and writes to be the relaxed versions. This fixes the dw_mmc driver initialisation on Altera socfpga in big endian. Signed-off-by: Ben Dooks ben.do...@codethink.co.uk -- CC: Linux MMC