All of lore.kernel.org
 help / color / mirror / Atom feed
* sdhci-esdhc-imx and SDIO interrupts
@ 2011-08-31 12:09 Per-Henrik Lundblom
  2011-08-31 15:50 ` Robert Schwebel
  0 siblings, 1 reply; 7+ messages in thread
From: Per-Henrik Lundblom @ 2011-08-31 12:09 UTC (permalink / raw)
  To: linux-mmc

Hi,

I'm working with a driver for an SDIO Wireless LAN card and just tried
it out on an i.MX35 based development board (Phytec PCM-043). My
impression is that the sdhci-esdhc-imx driver doesn't support SDIO
interrupts, is that correct?

Regards,

PH


--
Per-Henrik Lundblom           epost: ph@whatever.nu
hemsida: www.whatever.nu


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: sdhci-esdhc-imx and SDIO interrupts
  2011-08-31 12:09 sdhci-esdhc-imx and SDIO interrupts Per-Henrik Lundblom
@ 2011-08-31 15:50 ` Robert Schwebel
  2011-08-31 16:33   ` Per-Henrik Lundblom
  0 siblings, 1 reply; 7+ messages in thread
From: Robert Schwebel @ 2011-08-31 15:50 UTC (permalink / raw)
  To: Per-Henrik Lundblom; +Cc: linux-mmc

On Wed, Aug 31, 2011 at 02:09:12PM +0200, Per-Henrik Lundblom wrote:
> I'm working with a driver for an SDIO Wireless LAN card and just tried
> it out on an i.MX35 based development board (Phytec PCM-043). My
> impression is that the sdhci-esdhc-imx driver doesn't support SDIO
> interrupts, is that correct?

I think we didn't test this on the PCM043 so far, so it probably won't
work without further activities.

rsc
-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: sdhci-esdhc-imx and SDIO interrupts
  2011-08-31 15:50 ` Robert Schwebel
@ 2011-08-31 16:33   ` Per-Henrik Lundblom
  2011-09-01  5:30     ` Lin Tony-B19295
  0 siblings, 1 reply; 7+ messages in thread
From: Per-Henrik Lundblom @ 2011-08-31 16:33 UTC (permalink / raw)
  To: linux-mmc

* Robert Schwebel <r.schwebel@pengutronix.de> [110831 17:50]:

> > I'm working with a driver for an SDIO Wireless LAN card and just tried
> > it out on an i.MX35 based development board (Phytec PCM-043). My
> > impression is that the sdhci-esdhc-imx driver doesn't support SDIO
> > interrupts, is that correct?
> 
> I think we didn't test this on the PCM043 so far, so it probably won't
> work without further activities.

Just having a quick look at the code and a few printouts from sdhci.c
indicates that SDIO IRQs are enabled but in the end the eSDHC controller
doesn't report any IRQs. On the other hand, the IRQ handling for SDIO
IRQs in sdhci.c doesn't follow the steps described in the i.MX35
Reference Manual (but that doesn't explain why there is not one single
SDIO IRQ reported).

/PH

--
Per-Henrik Lundblom           epost: ph@whatever.nu
hemsida: www.whatever.nu


^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: sdhci-esdhc-imx and SDIO interrupts
  2011-08-31 16:33   ` Per-Henrik Lundblom
@ 2011-09-01  5:30     ` Lin Tony-B19295
  2011-09-01  6:46       ` Per-Henrik Lundblom
  0 siblings, 1 reply; 7+ messages in thread
From: Lin Tony-B19295 @ 2011-09-01  5:30 UTC (permalink / raw)
  To: Per-Henrik Lundblom, linux-mmc

I commit a patch to fix this issue. Did you update your code? 

> -----Original Message-----
> From: linux-mmc-owner@vger.kernel.org [mailto:linux-mmc-
> owner@vger.kernel.org] On Behalf Of Per-Henrik Lundblom
> Sent: Thursday, September 01, 2011 12:34 AM
> To: linux-mmc@vger.kernel.org
> Subject: Re: sdhci-esdhc-imx and SDIO interrupts
> 
> * Robert Schwebel <r.schwebel@pengutronix.de> [110831 17:50]:
> 
> > > I'm working with a driver for an SDIO Wireless LAN card and just
> > > tried it out on an i.MX35 based development board (Phytec PCM-043).
> > > My impression is that the sdhci-esdhc-imx driver doesn't support
> > > SDIO interrupts, is that correct?
> >
> > I think we didn't test this on the PCM043 so far, so it probably won't
> > work without further activities.
> 
> Just having a quick look at the code and a few printouts from sdhci.c
> indicates that SDIO IRQs are enabled but in the end the eSDHC controller
> doesn't report any IRQs. On the other hand, the IRQ handling for SDIO
> IRQs in sdhci.c doesn't follow the steps described in the i.MX35
> Reference Manual (but that doesn't explain why there is not one single
> SDIO IRQ reported).
> 
> /PH
> 
> --
> Per-Henrik Lundblom           epost: ph@whatever.nu
> hemsida: www.whatever.nu
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
> the body of a message to majordomo@vger.kernel.org More majordomo info at
> http://vger.kernel.org/majordomo-info.html



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: sdhci-esdhc-imx and SDIO interrupts
  2011-09-01  5:30     ` Lin Tony-B19295
@ 2011-09-01  6:46       ` Per-Henrik Lundblom
  2011-09-01  7:34         ` Lin Tony-B19295
  0 siblings, 1 reply; 7+ messages in thread
From: Per-Henrik Lundblom @ 2011-09-01  6:46 UTC (permalink / raw)
  To: linux-mmc

* Lin Tony-B19295 <B19295@freescale.com> [110901 07:31]:

> I commit a patch to fix this issue. Did you update your code? 

Sorry for my stupid question but where did you commit that patch?

/PH

--
Per-Henrik Lundblom           epost: ph@whatever.nu
hemsida: www.whatever.nu


^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: sdhci-esdhc-imx and SDIO interrupts
  2011-09-01  6:46       ` Per-Henrik Lundblom
@ 2011-09-01  7:34         ` Lin Tony-B19295
  2011-09-01 11:21           ` Per-Henrik Lundblom
  0 siblings, 1 reply; 7+ messages in thread
From: Lin Tony-B19295 @ 2011-09-01  7:34 UTC (permalink / raw)
  To: Per-Henrik Lundblom, linux-mmc

Chris ball's tree.

> -----Original Message-----
> From: linux-mmc-owner@vger.kernel.org [mailto:linux-mmc-
> owner@vger.kernel.org] On Behalf Of Per-Henrik Lundblom
> Sent: Thursday, September 01, 2011 2:46 PM
> To: linux-mmc@vger.kernel.org
> Subject: Re: sdhci-esdhc-imx and SDIO interrupts
> 
> * Lin Tony-B19295 <B19295@freescale.com> [110901 07:31]:
> 
> > I commit a patch to fix this issue. Did you update your code?
> 
> Sorry for my stupid question but where did you commit that patch?
> 
> /PH
> 
> --
> Per-Henrik Lundblom           epost: ph@whatever.nu
> hemsida: www.whatever.nu
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
> the body of a message to majordomo@vger.kernel.org More majordomo info at
> http://vger.kernel.org/majordomo-info.html



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: sdhci-esdhc-imx and SDIO interrupts
  2011-09-01  7:34         ` Lin Tony-B19295
@ 2011-09-01 11:21           ` Per-Henrik Lundblom
  0 siblings, 0 replies; 7+ messages in thread
From: Per-Henrik Lundblom @ 2011-09-01 11:21 UTC (permalink / raw)
  To: linux-mmc

* Lin Tony-B19295 <B19295@freescale.com> [110901 09:34]:

> Chris ball's tree.

Thanks! Merged relevant parts with 2.6.93.4 and the mach-mx3 platform
and now it seems like SDIO interrupts are working fine. Sweet :)

/PH

--
Per-Henrik Lundblom           epost: ph@whatever.nu
hemsida: www.whatever.nu


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-09-01 11:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-31 12:09 sdhci-esdhc-imx and SDIO interrupts Per-Henrik Lundblom
2011-08-31 15:50 ` Robert Schwebel
2011-08-31 16:33   ` Per-Henrik Lundblom
2011-09-01  5:30     ` Lin Tony-B19295
2011-09-01  6:46       ` Per-Henrik Lundblom
2011-09-01  7:34         ` Lin Tony-B19295
2011-09-01 11:21           ` Per-Henrik Lundblom

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.