How to fix SDIO Operating Frequency in iMX6 device tree

2014-05-14 Thread Ashutosh Singh
I want to fixed the SDIO Operating Frequency to 25MHz for one of the SDIO based Wifi module connected to Card slot. How can i fixed it in my dtsi file. I am using iMX6 quard based custom board. Thanks & Regard Ashutosh -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the

Re: [PATCH v2 1/3] lib/crc7: Shift crc7() output left 1 bit

2014-05-14 Thread George Spelvin
H. Peter Anvin wrote: > Seems to me to make the code easier to read, not harder. That was the > whole point. I thought it made it harder by moving the terminating 1 bit out of the driver proper, where it has a symbolic name. Thus someone comparing the driver to the spec has to read another source

Re: [PATCH v2 1/3] lib/crc7: Shift crc7() output left 1 bit

2014-05-14 Thread H. Peter Anvin
Seems to me to make the code easier to read, not harder. That was the whole point. On May 14, 2014 6:15:51 PM PDT, George Spelvin wrote: >H. Peter Anvin wrote: >> If the whole point of this is to use it for MMC/SD cards, why not >just >> also subsume the OR 1 and call it crc7_mmc() or something

Re: [PATCH v2 1/3] lib/crc7: Shift crc7() output left 1 bit

2014-05-14 Thread George Spelvin
H. Peter Anvin wrote: > If the whole point of this is to use it for MMC/SD cards, why not just > also subsume the OR 1 and call it crc7_mmc() or something like that. > > (Which I'm all for doing... I don't know of any other crc7 users.) You'll find all users in my patch series. 2/3 updates the MM

Re: [PATCH v2 1/3] lib/crc7: Shift crc7() output left 1 bit

2014-05-14 Thread H. Peter Anvin
On 05/11/2014 03:02 AM, George Spelvin wrote: > From 770aa22e6c9c92027e3e21797192ccabb3e7c70e Mon Sep 17 00:00:00 2001 > From: George Spelvin > Date: Sat, 10 May 2014 10:32:57 -0400 > Subject: [PATCH v2 1/3] lib/crc7: Shift crc7() output left 1 bit > > This eliminates a 1-bit left shift in every

Re: [PATCH 2/5] mmc: dw_mmc: remove the "supports-highspeed" property.

2014-05-14 Thread Dinh Nguyen
On Wed, 2014-05-14 at 13:55 +0900, Jaehoon Chung wrote: > Hi, Dinh. > > On 05/13/2014 12:48 AM, Dinh Nguyen wrote: > > On Mon, 2014-05-12 at 20:14 +0900, Jaehoon Chung wrote: > >> Remove the "support-highspeed" property in dw-mmc. > >> "support-highspeed" property can be replaced to "cap-sd/mmc-hi

Re: [PATCH] mmc: sdhci: remove mdelay in eMMC tuning

2014-05-14 Thread Doug Anderson
Arnd, On Wed, May 14, 2014 at 5:18 AM, Arnd Bergmann wrote: > I just stumbled over this thread. Looking at the callers of the > execute_tuning() function, I see that all three come from non-atomic > context. How about an add-on patch to turn the mdelay(1) into an > msleep(1)? That would be much f

Re: [PATCH 2/3] drivers/mmc/host/mmc_spi.c: Use get/put_unaligned_be32

2014-05-14 Thread John W. Linville
On Wed, May 14, 2014 at 08:23:57AM -0400, George Spelvin wrote: > Ulf Hansson wrote: > > Feel free to take this through the wireless tree as well. I assumes > > it's that same patchset as the other spi related fixes? > > I'd like to answer, but I'm not sure which "other spi related fixes" > you're

[PATCH] MAINTAINERS: mmc: Add path to git tree

2014-05-14 Thread Ulf Hansson
This tree has already been added to Stephen Rothwell's list for linux-next. Make it visible in the MAINTAINERS file as well. Cc: Chris Ball Signed-off-by: Ulf Hansson --- MAINTAINERS |1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index c2803c7..3b58515 100644 -

Re: [PATCH 2/3] drivers/mmc/host/mmc_spi.c: Use get/put_unaligned_be32

2014-05-14 Thread Ulf Hansson
On 14 May 2014 14:23, George Spelvin wrote: > Ulf Hansson wrote: >> Feel free to take this through the wireless tree as well. I assumes >> it's that same patchset as the other spi related fixes? > > I'd like to answer, but I'm not sure which "other spi related fixes" > you're referring to. If you

Re: [PATCH 2/3] drivers/mmc/host/mmc_spi.c: Use get/put_unaligned_be32

2014-05-14 Thread George Spelvin
Ulf Hansson wrote: > Feel free to take this through the wireless tree as well. I assumes > it's that same patchset as the other spi related fixes? I'd like to answer, but I'm not sure which "other spi related fixes" you're referring to. If you mean patches 1 and 3 of this series, then obviously.

Re: [PATCH v13 1/2] clk: sunxi: Fixup clk_sunxi_mmc_phase_control to take a clk rather then a hw_clk

2014-05-14 Thread Ulf Hansson
On 12 May 2014 14:04, Hans de Goede wrote: > __clk_get_hw is supposed to be used by clk providers, not clk consumers. > > Signed-off-by: Hans de Goede Reviewed-by: Ulf Hansson > --- > drivers/clk/sunxi/clk-sunxi.c | 3 ++- > include/linux/clk/sunxi.h | 2 +- > 2 files changed, 3 insertion

Re: [PATCH] mmc: sdhci: remove mdelay in eMMC tuning

2014-05-14 Thread Arnd Bergmann
On Tuesday 13 May 2014 18:13:30 Grant Grundler wrote: > On Wed, May 7, 2014 at 1:35 AM, Ulf Hansson wrote: > > On 7 May 2014 03:52, Nick Sanders wrote: > >> This patch removes an unneccesary 1ms mdelay in the HS200 tuning > >> loop, called 40 times per retuning. Currently this causes a latency >

Re: [PATCH v13 2/2] ARM: sunxi: Add driver for SD/MMC hosts found on Allwinner sunxi SoCs

2014-05-14 Thread Hans de Goede
Hi, On 05/14/2014 02:03 PM, Ulf Hansson wrote: > On 12 May 2014 15:00, Arend van Spriel wrote: >> On 05/12/2014 02:04 PM, Hans de Goede wrote: >>> >>> From: David Lanzendörfer >>> >>> The Allwinner sunxi mmc host uses dma in bus-master mode using a built-in >>> designware idmac controller, which

Re: [PATCH v13 2/2] ARM: sunxi: Add driver for SD/MMC hosts found on Allwinner sunxi SoCs

2014-05-14 Thread Ulf Hansson
On 12 May 2014 15:00, Arend van Spriel wrote: > On 05/12/2014 02:04 PM, Hans de Goede wrote: >> >> From: David Lanzendörfer >> >> The Allwinner sunxi mmc host uses dma in bus-master mode using a built-in >> designware idmac controller, which is identical to the one found in the >> mmc-dw >> hosts.

Re: [PATCH] mmc: SD tuning is broken for some controllers

2014-05-14 Thread Ulf Hansson
On 9 May 2014 17:34, Al Cooper wrote: > The SD Host Controller spec states that the SD Host Controller can > request that the driver send up to 40 CMD19's while doing tuning > and that the total time the card spends responding must be < 150ms. > The sdhci_execute_tuning() function in sdhci.c that

Re: [PATCH] mmc: card: restrict access to RPMB partition

2014-05-14 Thread Ulf Hansson
On 9 May 2014 15:39, Yuvaraj Kumar C D wrote: > From: Andrew Bresticker > > The RPMB partition should only be accessed through the RPMB ioctls > and not through read()/write(). This patch makes mmc_blk_open() > reject open attempts to the RPMB partition in read or write mode. > > Signed-off-by:

Re: [PATCH] mmc: wmt-sdmmc: Use GFP_KERNEL instead of hard-coded value

2014-05-14 Thread Ulf Hansson
On 14 May 2014 13:01, Axel Lin wrote: > 2014-04-28 8:58 GMT+08:00 Axel Lin : >> Signed-off-by: Axel Lin >> --- >> drivers/mmc/host/wmt-sdmmc.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/drivers/mmc/host/wmt-sdmmc.c b/drivers/mmc/host/wmt-sdmmc.c >> index 34231d5.

Re: [PATCH] mmc: wmt-sdmmc: Use GFP_KERNEL instead of hard-coded value

2014-05-14 Thread Axel Lin
2014-04-28 8:58 GMT+08:00 Axel Lin : > Signed-off-by: Axel Lin > --- > drivers/mmc/host/wmt-sdmmc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/mmc/host/wmt-sdmmc.c b/drivers/mmc/host/wmt-sdmmc.c > index 34231d5..3605c37 100644 > --- a/drivers/mmc/host/wmt-sdm

Re: [PATCH v11 0/6] mmc: omap_hsmmc: Enable SDIO IRQ

2014-05-14 Thread Ulf Hansson
On 11 May 2014 13:28, Andreas Fenkart wrote: > Hi Balaji, Tony, all > > v12 > - drop !CONFIG_OF compile break only exists when > #undef CONFIG_OF after include headers 1/7(Sebastian Reichel) > - do not emit "falling back to polling" if wake_irq not specified > since MMC does not need it, and i

Re: [PATCH 2/3] drivers/mmc/host/mmc_spi.c: Use get/put_unaligned_be32

2014-05-14 Thread Ulf Hansson
On 11 May 2014 12:05, George Spelvin wrote: > Very minor source and binary size reduction. > > Signed-off-by: George Spelvin > --- > I spotted this while making the previous crc7 change. > > This looks simple enough, but I don't actually have one of these devices to > test. > At least one other

Re: [PATCH v2 1/3] lib/crc7: Shift crc7() output left 1 bit

2014-05-14 Thread Ulf Hansson
On 11 May 2014 12:02, George Spelvin wrote: > From 770aa22e6c9c92027e3e21797192ccabb3e7c70e Mon Sep 17 00:00:00 2001 > From: George Spelvin > Date: Sat, 10 May 2014 10:32:57 -0400 > Subject: [PATCH v2 1/3] lib/crc7: Shift crc7() output left 1 bit > > This eliminates a 1-bit left shift in every si

Re: [PATCH v3] mmc: sdhci-pci-o2micro: Add SeaBird SeaEagle SD3 support

2014-05-14 Thread Ulf Hansson
On 5 May 2014 12:50, peter.guo wrote: > From: Peter Guo > > Add O2Micro/BayHubTech chip 8520 subversion B1 SD3.0 support. > Add O2Micro/BayHubTech chip 8620 and 8621 SD3.0 support > Enable Led function of 8520 chip. > > Signed-off-by: Peter Guo > Signed-off-by: Adam Lee Thanks Peter, Adam! Un

Re: [PATCH RFC] mmc: add slot argument to mmc_of_parse

2014-05-14 Thread Ulf Hansson
On 7 May 2014 12:06, Ludovic Desroches wrote: > Some hosts manage several slots. In these case information such as the bus > width, chip detect and others are into the slot node. So we have to parse > child nodes. If not NULL, slot node will be used instead of the device > node. > > Signed-off-by:

Re: [PATCH 5/5] mmc: dw_mmc: use the mmc regulator API into core.c

2014-05-14 Thread Yuvaraj Cd
On Mon, May 12, 2014 at 4:44 PM, Jaehoon Chung wrote: > Use the mmc regulator API into core.c instead of enabling locally. > It can use the "vmmc", and optional "vqmmc". > > Signed-off-by: Jaehoon Chung > --- > drivers/mmc/host/dw_mmc.c | 61 > ++--- >

Re: [PATCH v2] mmc: omap: Use DIV_ROUND_UP instead of open coded

2014-05-14 Thread Ulf Hansson
On 3 May 2014 03:07, Axel Lin wrote: > Also uses NSEC_PER_SEC and USEC_PER_SEC instead of hard-coded value. > This makes the intention more clear. > > Signed-off-by: Axel Lin Thanks Axel! Will include this patch in the next PR to Chris. Kind regards Ulf Hansson > --- > drivers/mmc/host/omap.

Re: [PATCH] mmc: add new au6601 driver

2014-05-14 Thread Oleksij Rempel
Hello all, are there any comments, suggestions, critics about this patch? Am 08.05.2014 11:58, schrieb Oleksij Rempel: > This driver is based on documentation which was based on my RE-work and > comparision with other MMC drivers. > It works in legacy mode and can provide 20MB/s R/W spead for mos