Skip to contentSkip to conversation

siano: add high level SDIO interface driver for SMS based cards

PATCH Uri Shkolnik 1 participant 1 message Mar 14, 2009 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw
Quoted 73 lines · Mauro Carvalho Chehab

From: Mauro Carvalho Chehab <[email protected]>
Subject: Re: [PATCH 1/1] siano: add high level SDIO interface driver for SMS based cards
To: "Patrick Boettcher" <[email protected]>
Cc: "Uri Shkolnik" <[email protected]>, "Michael Krufky" <[email protected]>, [email protected]
Date: Saturday, March 14, 2009, 1:29 PM
On Sat, 14 Mar 2009 12:02:02 +0100
(CET)
Patrick Boettcher <[email protected]>

Quoted 3 lines · wrote:

Hi Mauro,

(sorry for hijacking) (since when do we like top-posts

? ;) )

You're welcome.

Quoted 5 lines · Mauro Carvalho Chehab
Quoted 4 lines

Hi Uri,

The patch looks sane, but I'd like to have a

better picture of the Siano

Quoted 3 lines
Quoted 3 lines

device, to better understand this interface.

The basic question is: why do we need an SDIO

interface for a DVB device? For

Quoted 3 lines
Quoted 1 line

what reason this interface is needed?

The answer is relatively easy: Some hosts only have a

SDIO interface, so

Quoted 1 line

no USB, no PCI, no I2C, no MPEG2-streaming interface.

So, the device has

Quoted 1 line

to provide a SDIO interface in order to read and write

register and to

Quoted 1 line

make DMAs to get the data to the host. Think of your

cell-phone, or your

Quoted 3 lines

PDA.

There are some/a lot of vendors who use Linux in their

commercial

Quoted 1 line

mobile-TV product and there are some component-makers

like Siano, who are

Quoted 1 line

supporting those vendors through GPL drivers.

Ok, so, if I understand well, the SDIO interface will be used just like we
currently use the I2C or USB bus, right?

So, we should create some glue between DVB and SDIO bus just like we have with
PCI, USB, I2C, etc.

Ideally something like (using the design we currently have with dvb-usb):

+------------+
| DVB driver |
+------------+
      |
      V
+----------+
| DVB SDIO |
+----------+
      |
      V
+----------+
| DVB Core |
+----------+

Is that what you're thinking?

Quoted 8 lines

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

Hi all,

Patrick, thanks for helping me, you can write stuff I can't (at least in public channels).

Ignoring for a moment DTV and Siano - most application processors which are used for portable devices (cellular phones, PDA, others), either do not have USB port at all, or it is strongly preferred not to use it for inner device communication (due high power consumption and electrical noise from the 480MHz USB bus). In those devices, if there is a USB port, it is used mostly to connect the device externally to a PC or other external entity (than the power comes from the PC).

Regarding the rough Siano's architecture (I can't extend too much) -

The device interface driver (USB, SDIO, SPP....) is on the bottom, used for control and data (C&D) exchanged with the SMS chip-set based device.

The Siano's "core" component is in the middle - it is a kind of an hub that routes the C&D from the device(s) interface(s) to the selected adapter. The "core" also responsible for various common (for all interfaces and adapters) logic stuff (like firmware download, IR, ....).

The top component in the Siano's architecture, is the adapter. This component is responsible for the connectivity (and abstraction) toward the selected sub-system API (such as DVB-API v3, or S2/DVB-API v5, or other).

Hope I made it little clearer.

Regards,

Uri