Re: [PATCH 2/2] sdhci-pxa: add call back interface to share sdhci-pxa

2011-05-20 Thread zhangfei gao
On Fri, May 20, 2011 at 2:24 AM, Nicolas Pitre wrote: > On Thu, 19 May 2011, zhangfei gao wrote: > >> On Wed, May 18, 2011 at 4:38 PM, Arnd Bergmann wrote: >> > On Tuesday 17 May 2011, zhangfei gao wrote: >> >> >> The code handle several register difference are located at >> >> >> arch/arm/mach-m

[PATCH] mmc: vub300: quieten "SET_CLOCK_SPEED" printk

2011-05-20 Thread Chris Ball
An average vub300 session with CONFIG_MMC_CLKGATE=y set prints repeated lines in the form of: [83083.620491] usb 1-1.4: SET_CLOCK_SPEED 48000kHz [83083.629664] usb 1-1.4: SET_CLOCK_SPEED 0kHz [root@xo ~]# dmesg | grep SET_CLOCK_SPEED | wc -l 203 So, change this from dev_info() to dev_dbg(). We

Re: [v5 2/5] MMC: Use CMD23 for multiblock transfers when we can.

2011-05-20 Thread Andrei Warkentin
On Fri, May 20, 2011 at 5:29 AM, Jaehoon Chung wrote: > Hi Andrei. > > I have some question.. > In mmc_blk_issue_rw_rq() of block.c, there is the below code. > > static int mmc_blk_issue_rw_rq(struct mmc_queue *mq, struct request *req) > { >        struct mmc_blk_data *md = mq->data; >        stru

Re: [v5 4/5] MMC: Block CMD23 support for UHS104/SDXC cards.

2011-05-20 Thread Andrei Warkentin
On Fri, May 20, 2011 at 5:38 AM, Nath, Arindam wrote: > Hi Andrei, > > > [...] >> diff --git a/drivers/mmc/core/sd.c b/drivers/mmc/core/sd.c >> index 596d0b9..efff41d 100644 >> --- a/drivers/mmc/core/sd.c >> +++ b/drivers/mmc/core/sd.c >> @@ -203,6 +203,13 @@ static int mmc_decode_scr(struct mmc_c

Re: [v5 5/5] MMC: SDHCI AutoCMD23 support.

2011-05-20 Thread Andrei Warkentin
Hi Arindam, On Fri, May 20, 2011 at 5:46 AM, Nath, Arindam wrote: > Hi Andrei, > > [...] >> diff --git a/drivers/mmc/host/sdhci.h b/drivers/mmc/host/sdhci.h >> index 7e28eec..713caf0 100644 >> --- a/drivers/mmc/host/sdhci.h >> +++ b/drivers/mmc/host/sdhci.h >> @@ -25,6 +25,7 @@ >>   */ >> >>  #de

RE: [v5 5/5] MMC: SDHCI AutoCMD23 support.

2011-05-20 Thread Nath, Arindam
Hi Andrei, [...] > diff --git a/drivers/mmc/host/sdhci.h b/drivers/mmc/host/sdhci.h > index 7e28eec..713caf0 100644 > --- a/drivers/mmc/host/sdhci.h > +++ b/drivers/mmc/host/sdhci.h > @@ -25,6 +25,7 @@ > */ > > #define SDHCI_DMA_ADDRESS0x00 > +#define SDHCI_ARGUMENT2 0x00 Sin

RE: [v5 4/5] MMC: Block CMD23 support for UHS104/SDXC cards.

2011-05-20 Thread Nath, Arindam
Hi Andrei, [...] > diff --git a/drivers/mmc/core/sd.c b/drivers/mmc/core/sd.c > index 596d0b9..efff41d 100644 > --- a/drivers/mmc/core/sd.c > +++ b/drivers/mmc/core/sd.c > @@ -203,6 +203,13 @@ static int mmc_decode_scr(struct mmc_card *card) > else > card->erased_byte = 0x0; >

Re: [v5 2/5] MMC: Use CMD23 for multiblock transfers when we can.

2011-05-20 Thread Jaehoon Chung
Hi Andrei. I have some question.. In mmc_blk_issue_rw_rq() of block.c, there is the below code. static int mmc_blk_issue_rw_rq(struct mmc_queue *mq, struct request *req) { struct mmc_blk_data *md = mq->data; struct mmc_card *card = md->queue.card; struct mmc_blk_request br

Re: [[v4] 2/5] MMC: Use CMD23 for multiblock transfers when we can.

2011-05-20 Thread Jaehoon Chung
Andrei Warkentin wrote: > On Fri, May 20, 2011 at 1:49 AM, Andrei Warkentin > wrote: >> On Thu, May 19, 2011 at 11:38 PM, Jaehoon Chung >> wrote: >>> Hi Andrei, >>> >>> Andrei Warkentin wrote: On Wed, May 18, 2011 at 9:37 PM, Jaehoon Chung wrote: > Hi Andrei > > Andrei W

RE: I have three patches, could someone give your comment?

2011-05-20 Thread Huang Changming-R66093
I have posted these patches, why I can't received them from Linux-mmc? Thanks and Best Regards Jerry Huang > -Original Message- > From: linux-mmc-ow...@vger.kernel.org [mailto:linux-mmc- > ow...@vger.kernel.org] On Behalf Of r66...@freescale.com > Sent: Friday, May 20, 2011 3:31 PM > To:

[PATCH 3/3] SDHC/MMC: add f_min to mmc_power_on

2011-05-20 Thread r66093
From: Jerry Huang 1. when f_init is zero, the SDHC can't work correctly, so f_min will replace it. 2. Before running get_cd recall function to detect if the card is present, must make sure the power is up. Signed-off-by: Jerry Huang --- drivers/mmc/core/core.c |7 ++- 1 files change

[PATCH 2/3] MMC/SD: add callback function to detect card

2011-05-20 Thread r66093
From: Jerry Huang Add callback function to check if the card has been removed. in order to check if the card has been removed, the function mmc_send_status will send commad CMD13 to card and ask the card to send its status register to sdhc driver, which will generate interrupt repeatly and make

[PATCH 1/3] SDHCI: add sdhci_get_cd callback to detect the card

2011-05-20 Thread r66093
From: Jerry Huang Add callback function sdhci_get_cd to detect the card. In order to check if the card is present, we will read the PRESENT STATE register and check the bit15. Signed-off-by: Jerry Huang --- drivers/mmc/host/sdhci.c | 19 +++ 1 files changed, 19 insertions(+)

I have three patches, could someone give your comment?

2011-05-20 Thread r66093
-- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html