How-to use the sdio driver?
Lars Holowko
Lars.Holowko at lantronix.com
Thu Jul 9 12:12:58 EDT 2009
Thanks Daniel,
For confirming that it should work. At least I know that I am not on the
wrong track. I'll keep checking my GPIOs.
Lars
-----Original Message-----
From: Daniel Mack [mailto:daniel at caiaq.de]
Sent: Wednesday, July 08, 2009 2:32 PM
To: Lars Holowko
Cc: libertas-dev at lists.infradead.org
Subject: Re: How-to use the sdio driver?
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
**********************************************************************
This e-mail is the property of Lantronix. It is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential, or otherwise protected from disclosure. Distribution or copying of this e-mail, or the information contained herein, to anyone other than the intended recipient is prohibited.
More information about the libertas-dev
mailing list