Re: MMC_CAP_SDIO_IRQ for omap 3430

2009-10-21 Thread Dirk Behme
27;Steve Sakoman' Subject: Re: MMC_CAP_SDIO_IRQ for omap 3430 Madhusudhan wrote: Hi John, So does the SDIO card interrupt mode work fine now? (wrong attachment in previous mail :( sorry) If somebody likes to test, my updated patch v2 in attachment. Compile tested only, testing and comments

Re: MMC_CAP_SDIO_IRQ for omap 3430

2009-10-21 Thread Dirk Behme
hard'; linux- m...@vger.kernel.org; 'Steve Sakoman' Subject: Re: MMC_CAP_SDIO_IRQ for omap 3430 Madhusudhan wrote: Hi John, So does the SDIO card interrupt mode work fine now? (wrong attachment in previous mail :( sorry) If somebody likes to test, my updated patch v2 in attachment. Compile tes

Re: MMC_CAP_SDIO_IRQ for omap 3430

2009-10-20 Thread John Rigby
..@vger.kernel.org [mailto:linux-mmc- >> ow...@vger.kernel.org] On Behalf Of Dirk Behme >> Sent: Monday, October 19, 2009 1:17 PM >> To: linux-o...@vger.kernel.org >> Cc: Madhusudhan; 'John Rigby'; 'Woodruff, Richard'; linux- >> m...@vger.kernel

RE: MMC_CAP_SDIO_IRQ for omap 3430

2009-10-20 Thread Madhusudhan
d'; linux- > m...@vger.kernel.org; 'Steve Sakoman' > Subject: Re: MMC_CAP_SDIO_IRQ for omap 3430 > > Madhusudhan wrote: > > Hi John, > > > > So does the SDIO card interrupt mode work fine now? > > (wrong attachment in previous mail :( sorry) >

Re: MMC_CAP_SDIO_IRQ for omap 3430

2009-10-20 Thread Steve Sakoman
dhusudhan wrote: >>> >>>>  Hi John, >>>> >>>> >>>> >>>> So does the SDIO card interrupt mode work fine now? >>>> >>>> >>>> >>>> Regards, >>>> >>>> Madhu

Re: MMC_CAP_SDIO_IRQ for omap 3430

2009-10-20 Thread John Rigby
t;> >>>  Hi John, >>> >>> >>> >>> So does the SDIO card interrupt mode work fine now? >>> >>> >>> >>> Regards, >>> >>> Madhu >>> >>> >>>  ------ >

Re: MMC_CAP_SDIO_IRQ for omap 3430

2009-10-19 Thread Dirk Behme
Rigby [mailto:jcri...@gmail.com] *Sent:* Sunday, October 18, 2009 7:24 PM *To:* Woodruff, Richard *Cc:* Dirk Behme; Chikkature Rajashekar, Madhusudhan; linux-mmc@vger.kernel.org; linux-o...@vger.kernel.org; Steve Sakoman *Subject:* Re: MMC_CAP_SDIO_IRQ for omap 3430 Ok I was going to ask where you

RE: MMC_CAP_SDIO_IRQ for omap 3430

2009-10-19 Thread Woodruff, Richard
> From: John Rigby [mailto:jcri...@gmail.com] > Sent: Monday, October 19, 2009 8:13 PM > It is not perfect yet, I am still polling in sdio_irq.c because > sometimes the card irq does get dropped. I suspect that is why the > davinci driver had extra checks and calls in various places. Maybe. D

Re: MMC_CAP_SDIO_IRQ for omap 3430

2009-10-19 Thread John Rigby
ernel.org; linux-o...@vger.kernel.org; Steve Sakoman > Subject: Re: MMC_CAP_SDIO_IRQ for omap 3430 > > > > Ok I was going to ask where you found that but I just rechecked the TRM and > there it is in plain site: > > When this bit is set to 1, the host controller automatically disa

Re: MMC_CAP_SDIO_IRQ for omap 3430

2009-10-19 Thread Dirk Behme
[mailto:jcri...@gmail.com] Sent: Sunday, October 18, 2009 7:24 PM To: Woodruff, Richard Cc: Dirk Behme; Chikkature Rajashekar, Madhusudhan; linux-mmc@vger.kernel.org; linux-o...@vger.kernel.org; Steve Sakoman Subject: Re: MMC_CAP_SDIO_IRQ for omap 3430 Ok I was going to ask where you found that

Re: MMC_CAP_SDIO_IRQ for omap 3430

2009-10-19 Thread Dirk Behme
18, 2009 7:24 PM To: Woodruff, Richard Cc: Dirk Behme; Chikkature Rajashekar, Madhusudhan; linux-mmc@vger.kernel.org; linux-o...@vger.kernel.org; Steve Sakoman Subject: Re: MMC_CAP_SDIO_IRQ for omap 3430 Ok I was going to ask where you found that but I just rechecked the TRM and there it is in

RE: MMC_CAP_SDIO_IRQ for omap 3430

2009-10-19 Thread Madhusudhan
: MMC_CAP_SDIO_IRQ for omap 3430 Ok I was going to ask where you found that but I just rechecked the TRM and there it is in plain site: When this bit is set to 1, the host controller automatically disables all the input buffers except the buffer of mmci_dat[1] outside of a transaction in order to detect

RE: MMC_CAP_SDIO_IRQ for omap 3430

2009-10-19 Thread Woodruff, Richard
> From: Dirk Behme [mailto:dirk.be...@googlemail.com] > Sent: Monday, October 19, 2009 9:52 AM > To: Woodruff, Richard > Do you have any idea about MMCHS_HCTL.IBG? Not off the top of my head. I was working with someone who hit issues so I did a quick spec read and came up with previous list.

Re: MMC_CAP_SDIO_IRQ for omap 3430

2009-10-19 Thread Dirk Behme
Woodruff, Richard wrote: From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of Dirk Behme Sent: Sunday, October 18, 2009 11:45 AM It would be funny if the TRM was wrong and the CIRQ bit is really cleared by writing 1 to it. I'll try that. A while bac

Re: MMC_CAP_SDIO_IRQ for omap 3430

2009-10-18 Thread John Rigby
Richard, MMCHS_CON.CPTL = 1 < Don't disable input buffer on DAT1 after completion to allow seeing SDIO interrupt> Sounds exactly like what we need. Thanks John On Sun, Oct 18, 2009 at 5:12 PM, Woodruff, Richard wrote: > >> From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- >> ow...@vg

RE: MMC_CAP_SDIO_IRQ for omap 3430

2009-10-18 Thread Woodruff, Richard
> From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- > ow...@vger.kernel.org] On Behalf Of Dirk Behme > Sent: Sunday, October 18, 2009 11:45 AM > > It would be funny if the TRM was wrong and the CIRQ bit is really > > cleared by writing 1 to it. I'll try that. A while back I hunted down

Re: MMC_CAP_SDIO_IRQ for omap 3430

2009-10-17 Thread Dirk Behme
Friday, October 16, 2009 2:28 PM To: Madhusudhan Chikkature Cc: linux-mmc@vger.kernel.org; John Rigby; linux-o...@vger.kernel.org; Steve Sakoman Subject: Re: MMC_CAP_SDIO_IRQ for omap 3430 Madhusudhan Chikkature wrote: Hi Dirk, I am inlining the patch so that it helps review. ... @@ -1165,8 +1178,1

Re: MMC_CAP_SDIO_IRQ for omap 3430

2009-10-17 Thread Dirk Behme
--- From: Dirk Behme [mailto:dirk.be...@googlemail.com] Sent: Friday, October 16, 2009 2:28 PM To: Madhusudhan Chikkature Cc: linux-mmc@vger.kernel.org; John Rigby; linux-o...@vger.kernel.org; Steve Sakoman Subject: Re: MMC_CAP_SDIO_IRQ for omap 3430 Madhusudhan Chikkature wrote: Hi Dirk, I am inlining the pa

Re: MMC_CAP_SDIO_IRQ for omap 3430

2009-10-17 Thread John Rigby
>> On Fri, Oct 16, 2009 at 3:14 PM, Madhusudhan wrote: >>> >>>> -Original Message- >>>> From: Dirk Behme [mailto:dirk.be...@googlemail.com] >>>> Sent: Friday, October 16, 2009 2:28 PM >>>> To: Madhusudhan Chikkature >>>

Re: MMC_CAP_SDIO_IRQ for omap 3430

2009-10-16 Thread Dirk Behme
2009 2:28 PM To: Madhusudhan Chikkature Cc: linux-mmc@vger.kernel.org; John Rigby; linux-o...@vger.kernel.org; Steve Sakoman Subject: Re: MMC_CAP_SDIO_IRQ for omap 3430 Madhusudhan Chikkature wrote: Hi Dirk, I am inlining the patch so that it helps review. ... @@ -1165,8 +1178,15 @@ static void oma

Re: MMC_CAP_SDIO_IRQ for omap 3430

2009-10-16 Thread John Rigby
gt;> To: Madhusudhan Chikkature >> Cc: linux-mmc@vger.kernel.org; John Rigby; linux-o...@vger.kernel.org; >> Steve Sakoman >> Subject: Re: MMC_CAP_SDIO_IRQ for omap 3430 >> >> Madhusudhan Chikkature wrote: >> > Hi Dirk, >> > >> >

RE: MMC_CAP_SDIO_IRQ for omap 3430

2009-10-16 Thread Madhusudhan
> -Original Message- > From: Dirk Behme [mailto:dirk.be...@googlemail.com] > Sent: Friday, October 16, 2009 2:28 PM > To: Madhusudhan Chikkature > Cc: linux-mmc@vger.kernel.org; John Rigby; linux-o...@vger.kernel.org; > Steve Sakoman > Subject: Re: MMC_CAP_S

Re: MMC_CAP_SDIO_IRQ for omap 3430

2009-10-16 Thread Dirk Behme
Madhusudhan Chikkature wrote: Hi Dirk, I am inlining the patch so that it helps review. ... @@ -1165,8 +1178,15 @@ static void omap_hsmmc_set_ios(struct mm break; case MMC_BUS_WIDTH_4: OMAP_HSMMC_WRITE(host->base, CON, con & ~DW8); - OMAP_H

Re: MMC_CAP_SDIO_IRQ for omap 3430

2009-10-16 Thread Madhusudhan Chikkature
Hi Dirk, I am inlining the patch so that it helps review. Subject: [PATCH][RFC] OMAP HSMMC: Add SDIO interrupt support Form: Dirk Behme At the moment, OMAP HSMMC driver supports only SDIO polling, resulting in poor performance. Add support for SDIO interrupt handling. Signed-off-by: Dirk Beh