Skip to contentSkip to conversation

V4L2 radio drivers for TI-WL7

DISCUSSION Pavan Savoy 4 participants 7 messages Jul 2, 2010 – Jul 9, 2010 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hi,

We have/in process of developing a V4L2 driver for the FM Radio on the Texas Instruments WiLink 7 module.

For transport/communication with the chip, we intend to use the shared transport driver currently staged in mainline at drivers/staging/ti-st/.

To which tree should I generate patches against? is the tree
git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6.git
fine ? to be used with the v4l_for_2.6.35 branch ?

Also, this is over the UART/TTY unlike the WL1273 i2c mfd driver...

Please suggest.

Thanks & Regards,
Pavan Savoy

#1 lore raw
Quoted 9 lines · On Friday 02 July 2010 09:01:34 Pavan Savoy wrote:

Hi,

We have/in process of developing a V4L2 driver for the FM Radio on the Texas Instruments WiLink 7 module.

For transport/communication with the chip, we intend to use the shared transport driver currently staged in mainline at drivers/staging/ti-st/.

To which tree should I generate patches against? is the tree
git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6.git
fine ? to be used with the v4l_for_2.6.35 branch ?

You patch against git://git.linuxtv.org/v4l-dvb.git.

Quoted 2 lines

Also, this is over the UART/TTY unlike the WL1273 i2c mfd driver...

Is the WiLink 7 a platform device (i.e. an integral part of the CPU) or a separate chip that can be used with any hardware?

Will the FM Radio always be controlled over a UART/TTY bus or is that specific to your development platform?

Regards,

Hans

Signature · 1 line
Hans Verkuil - video4linux developer - sponsored by TANDBERG, part of Cisco
#2 lore raw
Quoted 5 lines · Hans Verkuil
Quoted 4 lines · On Friday 02 July 2010 09:01:34 Pavan Savoy wrote:

Hi,

We have/in process of developing a V4L2 driver for the FM Radio on the Texas Instruments WiLink 7 module.

Quoted 7 lines
Quoted 5 lines

For transport/communication with the chip, we intend to use the shared transport driver currently staged in mainline at drivers/staging/ti-st/.

To which tree should I generate patches against? is the tree
git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6.git
fine ? to be used with the v4l_for_2.6.35 branch ?

You patch against git://git.linuxtv.org/v4l-dvb.git.

Could the MAINTAINERS entry be updated to refelct this? It currently has

MEDIA INPUT INFRASTRUCTURE (V4L/DVB)

M:      Mauro Carvalho Chehab <[email protected]>
P:      LinuxTV.org Project
L:      [email protected]
W:      http://linuxtv.org
Q:      http://patchwork.kernel.org/project/linux-media/list/
T:      git git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6.git
S:      Maintained
F:      Documentation/dvb/
F:      Documentation/video4linux/
F:      drivers/media/
F:      include/media/
F:      include/linux/dvb/
F:      include/linux/videodev*.h

Misleading documentation is even worse than no documentation....

Bjørn

#3 lore raw
In reply to Hans Verkuil

Em 05-07-2010 03:21, Hans Verkuil escreveu:

Quoted 5 lines · On Friday 02 July 2010 09:01:34 Pavan Savoy wrote:
Quoted 4 lines

Hi,

We have/in process of developing a V4L2 driver for the FM Radio on the Texas Instruments WiLink 7 module.

Quoted 7 lines
Quoted 5 lines

For transport/communication with the chip, we intend to use the shared transport driver currently staged in mainline at drivers/staging/ti-st/.

To which tree should I generate patches against? is the tree
git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6.git
fine ? to be used with the v4l_for_2.6.35 branch ?

You patch against git://git.linuxtv.org/v4l-dvb.git.

The latest development tree is at branch "devel/for_v2.6.36". Note, however, that after the launch of v2.6.35, I'll create a new branch, since the merged patches will likely get different hashes upstream. So, except if you have a short timeframe to develop the driver, it is better to develop it against the Linus tree:

git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git

Cheers,
Mauro.

#4 lore raw
In reply to Hans Verkuil
Quoted 28 lines · Hans Verkuil

From: Hans Verkuil <[email protected]>
Subject: Re: V4L2 radio drivers for TI-WL7
To: [email protected]
Cc: [email protected], [email protected], [email protected], "pavan savoy" <[email protected]>, [email protected]
Date: Monday, 5 July, 2010, 11:51 AM

Quoted 3 lines · On Friday 02 July 2010 09:01:34 Pavan Savoy wrote:

Hi,

We have/in process of developing a V4L2 driver for the

FM Radio on the Texas Instruments WiLink 7 module.

Quoted 2 lines

For transport/communication with the chip, we intend

to use the shared transport driver currently staged in mainline at drivers/staging/ti-st/.

Quoted 2 lines

To which tree should I generate patches against? is

the tree

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6.git

Quoted 1 line

fine ? to be used with the v4l_for_2.6.35 branch ?

You patch against git://git.linuxtv.org/v4l-dvb.git.

Quoted 2 lines

Also, this is over the UART/TTY unlike the WL1273 i2c

mfd driver...

Quoted 7 lines

Is the WiLink 7 a platform device (i.e. an integral part of the CPU) or a separate
chip that can be used with any hardware?

Will the FM Radio always be controlled over a UART/TTY bus or is that specific
to your development platform?

WiLink 7 would be a peripheral which has 1 interface with apps processor being UART, more details at,

http://www.google.co.in/url?sa=t&source=web&cd=3&ved=0CBQQFjAC&url=http%3A%2F%2Ffocus.ti.com%2Fgeneral%2Fdocs%2Fwtbu%2Fwtbuproductcontent.tsp%3FtemplateId%3D6123%26navigationId%3D12859%26contentId%3D67453%26DCMP%3Dwtbu_wilink7_2010%26HQS%3DOther%2BPR%2Bwilink7videos&ei=d7kyTKPXMoTGlQfJ-7W-Cw&usg=AFQjCNEjN2jc9TdSDWDRtWcmbZn6Szhbug&sig2=DN4gAQls9AdOeHQhlPlvjA

Since there exists only 1 interface for all BT/FM and GPS cores on chip, a shared transport driver has been developed and placed at drivers/staging/ti-st/

Would it be suitable if we place the V4L2 FM driver at drivers/staging/ti-st/ to ? Since we don't have the common interface headers such as st.h in include/linux..

Quoted 8 lines

Regards,

    Hans

Signature · 2 lines
Hans Verkuil - video4linux developer - sponsored by
TANDBERG, part of Cisco
#5 lore raw
Quoted 39 lines · On Tuesday 06 July 2010 07:07:12 Pavan Savoy wrote:
Quoted 28 lines · Hans Verkuil

From: Hans Verkuil <[email protected]>
Subject: Re: V4L2 radio drivers for TI-WL7
To: [email protected]
Cc: [email protected], [email protected], [email protected], "pavan savoy" <[email protected]>, [email protected]
Date: Monday, 5 July, 2010, 11:51 AM

Quoted 3 lines · On Friday 02 July 2010 09:01:34 Pavan Savoy wrote:

Hi,

We have/in process of developing a V4L2 driver for the

FM Radio on the Texas Instruments WiLink 7 module.

Quoted 2 lines

For transport/communication with the chip, we intend

to use the shared transport driver currently staged in mainline at drivers/staging/ti-st/.

Quoted 2 lines

To which tree should I generate patches against? is

the tree

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6.git

Quoted 1 line

fine ? to be used with the v4l_for_2.6.35 branch ?

You patch against git://git.linuxtv.org/v4l-dvb.git.

Quoted 2 lines

Also, this is over the UART/TTY unlike the WL1273 i2c

mfd driver...

Quoted 7 lines

Is the WiLink 7 a platform device (i.e. an integral part of the CPU) or a separate
chip that can be used with any hardware?

Will the FM Radio always be controlled over a UART/TTY bus or is that specific
to your development platform?

Quoted 5 lines

WiLink 7 would be a peripheral which has 1 interface with apps processor being UART, more details at,

http://www.google.co.in/url?sa=t&source=web&cd=3&ved=0CBQQFjAC&url=http%3A%2F%2Ffocus.ti.com%2Fgeneral%2Fdocs%2Fwtbu%2Fwtbuproductcontent.tsp%3FtemplateId%3D6123%26navigationId%3D12859%26contentId%3D67453%26DCMP%3Dwtbu_wilink7_2010%26HQS%3DOther%2BPR%2Bwilink7videos&ei=d7kyTKPXMoTGlQfJ-7W-Cw&usg=AFQjCNEjN2jc9TdSDWDRtWcmbZn6Szhbug&sig2=DN4gAQls9AdOeHQhlPlvjA

Since there exists only 1 interface for all BT/FM and GPS cores on chip, a shared transport driver has been developed and placed at drivers/staging/ti-st/

It sounds like this will be typically used in embedded systems and implemented as a platform device.

Quoted 1 line

Would it be suitable if we place the V4L2 FM driver at drivers/staging/ti-st/ to ? Since we don't have the common interface headers such as st.h in include/linux..

Staging is fine. This driver can still be merged through the v4l-dvb repositories, even if it is in staging.

Regards,

Hans

Signature · 1 line
Hans Verkuil - video4linux developer - sponsored by TANDBERG, part of Cisco
#6 lore raw

----------------
Thanks & Regards,
Pavan Savoy | x0099669

Quoted 57 lines

-----Original Message-----
From: Hans Verkuil [mailto:[email protected]]
Sent: Friday, July 09, 2010 5:41 AM
To: Savoy, Pavan
Cc: [email protected]; [email protected]; [email protected]; [email protected]
Subject: Re: V4L2 radio drivers for TI-WL7

Quoted 7 lines · On Tuesday 06 July 2010 07:07:12 Pavan Savoy wrote:
Quoted 4 lines · Hans Verkuil

From: Hans Verkuil <[email protected]>
Subject: Re: V4L2 radio drivers for TI-WL7
To: [email protected]
Cc: [email protected], [email protected], [email protected], "pavan savoy"

<[email protected]>, [email protected]

Quoted 28 lines
Quoted 28 lines

Date: Monday, 5 July, 2010, 11:51 AM

Quoted 3 lines · On Friday 02 July 2010 09:01:34 Pavan Savoy wrote:

Hi,

We have/in process of developing a V4L2 driver for the

FM Radio on the Texas Instruments WiLink 7 module.

Quoted 2 lines

For transport/communication with the chip, we intend

to use the shared transport driver currently staged in mainline at drivers/staging/ti-st/.

Quoted 2 lines

To which tree should I generate patches against? is

the tree

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6.git

Quoted 1 line

fine ? to be used with the v4l_for_2.6.35 branch ?

You patch against git://git.linuxtv.org/v4l-dvb.git.

Quoted 2 lines

Also, this is over the UART/TTY unlike the WL1273 i2c

mfd driver...

Is the WiLink 7 a platform device (i.e. an integral part of the CPU) or a separate
chip that can be used with any hardware?

Quoted 7 lines
Quoted 3 lines

Will the FM Radio always be controlled over a UART/TTY bus or is that specific
to your development platform?

WiLink 7 would be a peripheral which has 1 interface with apps processor being UART, more details at,

http://www.google.co.in/url?sa=t&source=web&cd=3&ved=0CBQQFjAC&url=http%3A%2F%2Ffocus.ti.com%2Fgeneral%2Fdoc
s%2Fwtbu%2Fwtbuproductcontent.tsp%3FtemplateId%3D6123%26navigationId%3D12859%26contentId%3D67453%26DCMP%3Dwt bu_wilink7_2010%26HQS%3DOther%2BPR%2Bwilink7videos&ei=d7kyTKPXMoTGlQfJ-7W- Cw&usg=AFQjCNEjN2jc9TdSDWDRtWcmbZn6Szhbug&sig2=DN4gAQls9AdOeHQhlPlvjA

Quoted 1 line
Quoted 5 lines
Quoted 1 line

Since there exists only 1 interface for all BT/FM and GPS cores on chip, a shared transport driver has

been developed and placed at drivers/staging/ti-st/

It sounds like this will be typically used in embedded systems and implemented as a platform device.

Yes it is. It is a two-faced device driver. It essentially is a TTY ldisc driver which is mainly used for the transport purposes, and has the overall context of a platform device driver.

Quoted 5 lines
Quoted 1 line

Would it be suitable if we place the V4L2 FM driver at drivers/staging/ti-st/ to ? Since we don't have the

common interface headers such as st.h in include/linux..

Staging is fine. This driver can still be merged through the v4l-dvb repositories, even if it is in staging.

Yes, Thanks on this one. However I am not sure how it would affect the current development of the 1273 drivers (from nokia), since the V4L2 driver which we have for 1283 - would essentially have the same sort of engine which forms the commands/interprets the responses, with the only difference being the transport (i2c vs. TTY). Matti / Edurado - Please comment ...

Quoted 6 lines

Regards,

Hans

--
Hans Verkuil - video4linux developer - sponsored by TANDBERG, part of Cisco