Re: [PATCH 1/2] mmc: core: enable CMD19 tuning for DDR50 mode

2015-09-23 Thread Ulf Hansson
[...] >> >> Also, I was giving this a second thought... >> >> What happens with the SD 3.0 card when it *doesn't* support CMD19. >> Will it still be functional afterwards or will it move from "transfer >> state" to another not known state? > > uffe, i am not the expert of this issue but weijun

Re: [PATCH 2/3] mmc: debugfs: implement ios show for SDR12 and SDR25

2015-09-23 Thread Ulf Hansson
On 22 September 2015 at 03:19, Shawn Lin wrote: > This patch add MMC_TIMING_UHS_SDR12 and MMC_TIMING_UHS_SDR25 > for mmc_ios_show to show the ios->timing if mmc card runs under > these two mode. > > Signed-off-by: Shawn Lin > --- > >

Re: [PATCH 0/3] mmc: Wait for card_busy before starting sdio requests

2015-09-23 Thread Ulf Hansson
On 22 September 2015 at 17:30, Hans de Goede wrote: > Hi Ulf, > > Here is a non RFC version of my patch-set to wait for card_busy before > starting sdio requests. It is the same as the RFC version of the set, > but this time it has been tested no hardware which actually needs

Re: [PATCH] mmc: mediatek: Add MMC_CAP_RUNTIME_RESUME support

2015-09-23 Thread Ulf Hansson
On 22 September 2015 at 08:00, Chaotian Jing wrote: > Add MMC_CAP_RUNTIME_RESUME support to save resume time > Drop unnecessary SDC_ARG write > > Signed-off-by: Chaotian Jing Thanks, applied for next! Kind regards Uffe > --- >

Re: [PATCH V4] mmc: block: Add new ioctl to send multi commands

2015-09-23 Thread Ulf Hansson
On 22 September 2015 at 11:27, Jon Hunter wrote: > Certain eMMC devices allow vendor specific device information to be read > via a sequence of vendor commands. These vendor commands must be issued > in sequence and an atomic fashion. One way to support this would be to >

Re: [PATCH 3/3] mmc: debugfs: implement ios show for driver type

2015-09-23 Thread Ulf Hansson
On 22 September 2015 at 03:20, Shawn Lin wrote: > This patch add ios->drv_type for mmc_ios_show to show the > card's driver type. > > Signed-off-by: Shawn Lin Thanks, applied for next! Kind regards Uffe > --- > > drivers/mmc/core/debugfs.c

Re: [PATCH] mmc: sunxi: Fix clk-delay settings

2015-09-23 Thread Ulf Hansson
On 23 September 2015 at 22:06, Hans de Goede wrote: > In recent allwinner kernel sources the mmc clk-delay settings have been > slightly tweaked, and for sun9i they are completely different then what > we are using. > > This commit brings us in sync with what allwinner does,

Re: [PATCH V4] mmc: block: Add new ioctl to send multi commands

2015-09-23 Thread Ulf Hansson
On 24 September 2015 at 00:06, Grant Grundler wrote: > On Wed, Sep 23, 2015 at 2:42 PM, Ulf Hansson wrote: >> On 22 September 2015 at 11:27, Jon Hunter wrote: >>> Certain eMMC devices allow vendor specific device information to

Re: [v2] mmc: sdhci-pltfm: enable interrupt mode to detect card for ls1021a

2015-09-23 Thread Ulf Hansson
On 16 September 2015 at 08:36, Yangbo Lu wrote: > Enable interrupt mode to detect card instead of polling mode for > ls1021a by removing the quirk SDHCI_QUIRK_BROKEN_CARD_DETECTION. > This could improve data transferring performance and avoid the call > trace caused by

Re: [PATCH V4] mmc: block: Add new ioctl to send multi commands

2015-09-23 Thread Grant Grundler
On Wed, Sep 23, 2015 at 2:42 PM, Ulf Hansson wrote: > On 22 September 2015 at 11:27, Jon Hunter wrote: >> Certain eMMC devices allow vendor specific device information to be read >> via a sequence of vendor commands. These vendor commands must be

Re: [PATCH] mmc: pwrseq_simple: use GPIO descriptors array API

2015-09-23 Thread Ulf Hansson
On 21 September 2015 at 14:14, Javier Martinez Canillas wrote: > The simple power sequence provider sets a value for multiple GPIOs in one > go so it is better to use the API already provided by the GPIO descriptor > API instead of open coding the same logic. > >

Re: [PATCH 0/3] mmc: Fix module autoload for OF platform drivers

2015-09-23 Thread Ulf Hansson
On 17 September 2015 at 23:48, Luis de Bethencourt wrote: > Hi, > > These patches add the missing MODULE_DEVICE_TABLE() for OF to export > the information so modules have the correct aliases built-in and > autoloading works correctly. > > A longer explanation by Javier

[PATCH] mmc: sunxi: Fix clk-delay settings

2015-09-23 Thread Hans de Goede
In recent allwinner kernel sources the mmc clk-delay settings have been slightly tweaked, and for sun9i they are completely different then what we are using. This commit brings us in sync with what allwinner does, fixing problems accessing sdcards on some A33 devices (and likely others). For pre