Re: [PATCH v4 2/5] MFD: WL1273 FM Radio: MFD driver for the FM radio.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Matti/Hans,

--- On Mon, 30/8/10, Matti J. Aaltonen <matti.j.aaltonen@xxxxxxxxx> wrote:

> From: Matti J. Aaltonen <matti.j.aaltonen@xxxxxxxxx>
> Subject: Re: [PATCH v4 2/5] MFD: WL1273 FM Radio: MFD driver for the FM radio.
> To: "ext Hans Verkuil" <hverkuil@xxxxxxxxx>
> Cc: "ext Pavan Savoy" <pavan_savoy@xxxxxxxxxxx>, "Mauro Carvalho Chehab" <mchehab@xxxxxxxxxx>, "linux-media@xxxxxxxxxxxxxxx" <linux-media@xxxxxxxxxxxxxxx>, "Valentin Eduardo (Nokia-MS/Helsinki)" <eduardo.valentin@xxxxxxxxx>, petri.karhula@xxxxxxxxx
> Date: Monday, 30 August, 2010, 5:14 PM
> Hello.
> 
> On Sat, 2010-08-28 at 11:29 +0200, ext Hans Verkuil wrote:
> > On Thursday, August 26, 2010 09:39:45 Matti J.
> Aaltonen wrote:
> > > Hi.
> > > 
> > > On Wed, 2010-08-25 at 23:20 +0200, ext Pavan
> Savoy wrote:
> > > > 
> > > > > I'm sorry for not answering to you
> earlier. But I don't
> > > > > have my own
> > > > > public repository. But to create the
> whole thing is
> > > > > extremely simple:
> > > > > just take the current mainline tree and
> apply my patches on
> > > > > top of it...
> > > > 
> > > > Yep, that I can do, the reason I asked for
> was, we've pushed a few patches of our own for WL1283 over
> shared transport/UART (Not HCI-VS, but I2C like commands,
> packed in a CH8 protocol format).
> > > > The FM register set in both chip are a
> match, with only transport being the difference (i2c vs.
> UART).
> > > > Also we have the Tx version of driver ready
> too, it just needs a bit of cleanup and more conformance to
> already existing V4L2 TX Class..
> > > > 
> > > > So I was wondering, although there is no
> problem with WL1273 with I2C and WL1283 with UART being
> there on the kernel (whenever that happens), but it would be
> way more cooler if the transport was say abstracted out ..
> > > > 
> > > > what do you say? just an idea...
> > > 
> > > I think it's a good idea. And the WL1273 ship can
> also used with a UART
> > > connection, we just chose I2C when the driver
> development started etc...
> > 
> > Making a completely bus-independent driver is actually
> possible. It would require
> > that the driver uses the subdev API
> (include/media/v4l2-subdev.h). Any register
> > read or writes can be done by calling the v4l2_device
> notify() callback and the
> > bridge/host driver can then translate the callback to
> either i2c or uart read
> > or writes.
> > 
> > Both v4l2_device and v4l2_subdev structs are
> completely abstract structs (i.e.
> > they do not rely on any particular bus), so it should
> be possible to implement
> > this.
> > 
> > I had this scenario in the back of my mind when I
> designed these APIs, but this
> > would be the first driver where this would actually
> apply to.
> > 
> 
> That sounds interesting. I think that after the driver gets
> accepted in
> its current form we can start to work according to the
> above scenario...

Please have a look at the patches at
http://www.mail-archive.com/linux-media@xxxxxxxxxxxxxxx/msg21477.html

which are for Wl128x/UART transport.

also here's a tree where the other set of patches would come from,
http://git.omapzoom.org/?p=kernel/omap.git;a=tree;f=drivers/misc/ti-st;h=028ff4a739d7b59b94d0c613b5ef510ff338b65d;hb=refs/heads/p-android-omap-2.6.32

We are trying to make the drivers listed above conform to other V4L2 drivers and then post patches.

Please comment ...
Thanks in advance...

> Cheers,
> Matti
> 
> 
> 
> 
> 
> 
> 


--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux