linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pierre Ossman <drzeus-list@drzeus.cx>
To: Ram <vshrirama@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: SDIO Drivers?
Date: Fri, 07 Apr 2006 10:55:15 +0200	[thread overview]
Message-ID: <443628F3.9050107@drzeus.cx> (raw)
In-Reply-To: <8bf247760604040130n155eeffauc5798750f8357bca@mail.gmail.com>

Ram wrote:
> Hi,
>    i want to write an SDIO driver. There is not much information of
> what an SDIO driver is
>    supposed to do or any sample sdio drivers.
> 
>    I have a few questions regarding that:
> 
>    1) What is an SDIO Driver?.
> 

They don't exist in the kernel right now, that's why you haven't found
any examples.

To support SDIO, the MMC layer would need to be extended to handle the
initialisation of SDIO cards (they're a bit different from SD storage
and MMC). After that, a driver model needs to be constructed. It might
be possible to build upon the current MMC driver model, but one would
need to make sure that cards that are both storage and SDIO are handled.

>    2) Is SDIO a protocol/standard to which all devices confirm?.
> 

It's a subset of the SD standard suite. Note that it only specifies how
to get access to registers in the card (like for instance PCI). To
actually use the card you also need a specification for how to use the
registers.

>    3)  Is it a generic driver ?. (Same for a set of devices) or
> different for each device?
>         Suppose i want to run an SDIO WLAN Card?. will the
> manufacturer support it or
>        an will a Generic Driver "drive" it?
> 

Depends on if there is a generic interface for SDIO WLAN cards. SD is a
very closed world so we know very little about the protocols.

>    4) What is a SD Driver?
> 

Depends on context. It might refer to the driver for SD storage cards.
Or it might refer to a driver for the SD controller (that interfaces to
the card(s)).

>    5) What are the differences between SD Driver and SDIO Driver?.
> 

If we're talking about SD storage vs SDIO, then the drivers use
different parts of the SD protocol. They share the same bus interface
though (which is implemented as the MMC layer in Linux).

> 
>    6) Are there any sample/Open Source SDIO drivers available in Linux
> Kernel or else where?.If, not when can one expect/is anyone working on
> it currently?.
> 

There are a lot of people interested, but I haven't seen anyone working
on it yet.

Rgds
Pierre


  reply	other threads:[~2006-04-07  8:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-04  8:30 SDIO Drivers? Ram
2006-04-07  8:55 ` Pierre Ossman [this message]
2006-04-07 14:43   ` Russell King
2006-04-07 18:07     ` Pierre Ossman
2006-04-09  6:55   ` Marcel Holtmann
2006-08-25  9:26 SDIO drivers? Maximus
2006-08-25 15:05 ` Ian Stirling

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=443628F3.9050107@drzeus.cx \
    --to=drzeus-list@drzeus.cx \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vshrirama@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).