Skip to contentSkip to conversation

sdhci-esdhc-imx and SDIO interrupts

DISCUSSION Per-Henrik Lundblom 3 participants 7 messages Aug 31, 2011 – Sep 1, 2011 MMC, SD and SDIO

lore
Share & tools
lore
#0 lore raw

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: [email protected]
hemsida: www.whatever.nu

#1 lore raw
Quoted 4 lines · Per-Henrik Lundblom

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

Signature · 4 lines
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 |
#2 lore raw
Quoted 7 lines · Robert Schwebel
Quoted 4 lines

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: [email protected]
hemsida: www.whatever.nu

#3 lore raw

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

Quoted 34 lines

-----Original Message-----
From: [email protected] [mailto:linux-mmc- [email protected]] On Behalf Of Per-Henrik Lundblom
Sent: Thursday, September 01, 2011 12:34 AM
To: [email protected]
Subject: Re: sdhci-esdhc-imx and SDIO interrupts

Quoted 7 lines · Robert Schwebel
Quoted 4 lines

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: [email protected]
hemsida: www.whatever.nu

--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to [email protected] More majordomo info at
http://vger.kernel.org/majordomo-info.html

#4 lore raw
Quoted 1 line · * Lin Tony-B19295 <[email protected]> [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: [email protected]
hemsida: www.whatever.nu

#5 lore raw

Chris ball's tree.

Quoted 23 lines

-----Original Message-----
From: [email protected] [mailto:linux-mmc- [email protected]] On Behalf Of Per-Henrik Lundblom
Sent: Thursday, September 01, 2011 2:46 PM
To: [email protected]
Subject: Re: sdhci-esdhc-imx and SDIO interrupts

Quoted 1 line · * Lin Tony-B19295 <[email protected]> [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: [email protected]
hemsida: www.whatever.nu

--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to [email protected] More majordomo info at
http://vger.kernel.org/majordomo-info.html

#6 lore raw
Quoted 1 line · * Lin Tony-B19295 <[email protected]> [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: [email protected]
hemsida: www.whatever.nu