How-to use the sdio driver?

Daniel Mack daniel at caiaq.de
Wed Jul 8 17:31:46 EDT 2009


On Wed, Jul 08, 2009 at 02:14:21PM -0700, Lars Holowko wrote:
> I am trying to get to run the libertas SDIO driver to work on an Atmel
> AT91SAM9G20-EK eval board (linux-2.6.30.1).
> 
> After an insmod libertas_sdio.ko I see this on the console
> 
> libertas_sdio: Libertas SDIO driver
> libertas_sdio: Copyright Pierre Ossman
> 
> but obviously if_sdio_probe never gets called (I added a printk there).

Your driver should be probed once the device was detected on the SDIO
bus. Make sure all modules are loaded and the pin functions are set up
correctly. Is the power domain for that chip set up? Some board have
MOSFET load switches connected to GPIOs in order to be able to switch
off the device on demand.

Don't know you board environment, but on PXA based machines, there is
no more glue logic you need to provide.

You will need to provide a firmware later on, but that's a different
story.

Daniel




More information about the libertas-dev mailing list