AT91 MCI SDIO transfers
From: Bart Cerneels <hidden>
Date: 2009-11-09 15:46:01
Hi ARM developers, this is an Atmel AT91 MMC/SD host controller question. I'm having a serious issue with response timeouts and unknown events while using a marvell 8385 based SDIO wifi module. It's supported by the libertas-sdio driver. I have this problem originally with linux 2.6.28 but it's also reproducible with 2.6.31. Since the same wifi module with the exact same driver (libertas) and binary firmware is working perfectly on my PC (ubuntu 9.10 2.6.31.4), this can only be a host-controller problem. As far as I can tell the quirks of the AT91-MCI as listed in the errata are handled. But there is one major thing that I don't understand: The AT91 MCI has special transfer types for SDIO ( bit 3 in TRTYP in MCI_CMDR) but reading through at91_mci.c this is never being used. I assume the hardware has this for a reason, perhaps there is some special handling going on specific to SDIO? Should I continue to investigate this or does SDIO indeed work correctly without using these transfer types? Bart