Re: [PATCH 4/4] v4l2: add blackfin capture bridge driver

2011-09-14 Thread Scott Jiang
2011/9/15 Guennadi Liakhovetski : > On Thu, 15 Sep 2011, Scott Jiang wrote: > >> accually this array is to convert mbus to pixformat. ppi supports any >> formats. > > You mean, it doesn't distinguish formats? It just packs bytes in RAM > exactly as it ready them from the bus, and doesn't support a

Re: [PATCH 4/4] v4l2: add blackfin capture bridge driver

2011-09-14 Thread Scott Jiang
> >> + >> +#define CAPTURE_DRV_NAME        "bfin_capture" >> +#define BCAP_MIN_NUM_BUF        2 >> + >> +struct bcap_format { >> +     u8 *desc; >> +     u32 pixelformat; >> +     enum v4l2_mbus_pixelcode mbus_code; >> +     int bpp; /* bytes per pixel */ > > Don't you think you might have to proce

Re: [PATCH 4/4] v4l2: add blackfin capture bridge driver

2011-09-14 Thread Guennadi Liakhovetski
On Thu, 15 Sep 2011, Scott Jiang wrote: > accually this array is to convert mbus to pixformat. ppi supports any formats. You mean, it doesn't distinguish formats? It just packs bytes in RAM exactly as it ready them from the bus, and doesn't support any formats natively, i.e., doesn't offer any

USB 2.0 video capture

2011-09-14 Thread Frank R
I purchase the following video capture USB device: : SVID2USB2 Not sure what to do at this point. dmesg said to email the following: [ 217.496381] CE: hpet increased min_delta_ns to 11520 nsec [ 229.836347] usb 2-3: new high speed USB device using ehci_hcd and address 5 [ 230.017201] IR NEC p

Re: [PATCH 4/4] v4l2: add blackfin capture bridge driver

2011-09-14 Thread Scott Jiang
2011/9/14 Sylwester Nawrocki : > On 09/14/2011 09:10 AM, Scott Jiang wrote: +static int bcap_qbuf(struct file *file, void *priv, +                     struct v4l2_buffer *buf) +{ +     struct bcap_device *bcap_dev = video_drvdata(file); +     struct v4l2_fh *fh = file->priv

Re: [PATCH] mmp_camera: add MODULE_ALIAS

2011-09-14 Thread Jonathan Corbet
On Wed, 7 Sep 2011 10:36:46 +0100 (BST) Daniel Drake wrote: > This enables module autoloading. > > Signed-off-by: Daniel Drake No objections here, consider it acked. Mauro: as far as I'm concerned, Daniel can be considered a co-maintainer of the OLPC camera drivers. I'm not planning to forg

cron job: media_tree daily build: ERRORS

2011-09-14 Thread Hans Verkuil
This message is generated daily by a cron job that builds media_tree for the kernels and architectures in the list below. Results of the daily build of media_tree: date:Wed Sep 14 19:00:33 CEST 2011 git hash:2d04c13a507f5a01daa7422cd52250809573cfdb gcc version: i686-linux-gcc (GC

Re: [PATCH] arm: omap: Fix build error in ispccdc.c

2011-09-14 Thread Laurent Pinchart
Mauro, On Wednesday 14 September 2011 17:33:03 Roedel, Joerg wrote: > Ping? I've acked the patch on September the 6th and asked in the e-mail if you could pick it and push it to v3.1. Is there anything else I need to do ? -- Regards, Laurent Pinchart -- To unsubscribe from this list: send the

Re: [PATCH] arm: omap: Fix build error in ispccdc.c

2011-09-14 Thread Roedel, Joerg
Ping? On Tue, Sep 06, 2011 at 10:02:15AM -0400, Joerg Roedel wrote: > The following build error occurs with 3.1-rc5: > > CC drivers/media/video/omap3isp/ispccdc.o > /home/data/repos/linux.trees.git/drivers/media/video/omap3isp/ispccdc.c: In > function 'ccdc_lsc_config': > /home/data/repos

Re: [PATCH 4/4] v4l2: add blackfin capture bridge driver

2011-09-14 Thread Sylwester Nawrocki
On 09/14/2011 09:10 AM, Scott Jiang wrote: >>> +static int bcap_qbuf(struct file *file, void *priv, >>> + struct v4l2_buffer *buf) >>> +{ >>> + struct bcap_device *bcap_dev = video_drvdata(file); >>> + struct v4l2_fh *fh = file->private_data; >>> + struct bcap_fh *bc

Re: recursive locking problem

2011-09-14 Thread Daniel Glöckner
On Wed, Sep 14, 2011 at 01:45:47PM +0300, Antti Palosaari wrote: > >>Interesting idea, but it didn't worked. It deadlocks. I think it > >>locks since I2C-mux is controlled by I2C "switch" in same I2C bus, > >>not GPIO or some other HW. > > > >Take a look at drivers/i2c/muxes/pca954x.c. You need to

Re: How to handle different media bus format and actual video output format in soc camera?

2011-09-14 Thread javier Martin
On 14 September 2011 12:34, javier Martin wrote: > Hi, > I'm trying to add support for YUV420 format to mx2_camera.c soc-camera > host driver. > > In my system, an imx27_visstrim_m10 board, this host is connected to a > tvp5151 chip which is only > able to transfer pixels in this format through th

Re: recursive locking problem

2011-09-14 Thread Antti Palosaari
On 09/14/2011 09:19 AM, Daniel Glöckner wrote: On Wed, Sep 14, 2011 at 04:03:58AM +0300, Antti Palosaari wrote: On 09/09/2011 02:46 PM, Daniel Glöckner wrote: On Thu, Sep 08, 2011 at 07:34:32PM +0300, Antti Palosaari wrote: I am working with AF9015 I2C-adapter lock. I need lock I2C-bus since t

Re: [PATCH v4] V4L: dynamically allocate video_device nodes in subdevices

2011-09-14 Thread Sylwester Nawrocki
Hi Guennadi, On 09/13/2011 11:18 PM, Guennadi Liakhovetski wrote: > On Tue, 13 Sep 2011, Sylwester Nawrocki wrote: >> On 09/13/2011 04:48 PM, Guennadi Liakhovetski wrote: >>> Currently only very few drivers actually use video_device nodes, embedded >>> in struct v4l2_subdev. Allocate these nodes d

How to handle different media bus format and actual video output format in soc camera?

2011-09-14 Thread javier Martin
Hi, I'm trying to add support for YUV420 format to mx2_camera.c soc-camera host driver. In my system, an imx27_visstrim_m10 board, this host is connected to a tvp5151 chip which is only able to transfer pixels in this format through the media bus: V4L2_MBUS_FMT_YUYV8_2X8. However, imx27 eMMa has

Re: Compro U680F USB stick receiver for FM/DAB/DAB+/DVB-T.

2011-09-14 Thread Erik Dam
Hi, Antti, Thanks for taking the time to answer my request. However, I am afraid I am not able to find the vendor drivers you mention - if I had I would not have posted about it. No matter how much time I spend scouring the Compro website I can only find Windows drivers - nothing about li

Re: Asking advice for Camera/ISP driver framework design

2011-09-14 Thread Scott Jiang
2011/9/14 Cliff Cai : > Dear guys, > > I'm currently working on a camera/ISP Linux driver project.Of course,I > want it to be a V4L2 driver,but I got a problem about how to design > the driver framework. > let me introduce the background of this ISP(Image signal processor) a > little bit. > 1.The I

Re: [uclinux-dist-devel] [PATCH 3/4] v4l2: add vs6624 sensor driver

2011-09-14 Thread Scott Jiang
> >> +#ifdef CONFIG_VIDEO_ADV_DEBUG > > just use DEBUG ? > no, v4l2 use CONFIG_VIDEO_ADV_DEBUG >> +       v4l_info(client, "chip found @ 0x%02x (%s)\n", >> +                       client->addr << 1, client->adapter->name); > > is that "<< 1" correct ?  i dont think so ... every driver under media

Re: [uclinux-dist-devel] [PATCH 4/4] v4l2: add blackfin capture bridge driver

2011-09-14 Thread Guennadi Liakhovetski
On Wed, 14 Sep 2011, Scott Jiang wrote: > > i think at least these three are unused and should get punted > > > >> +static int __devinit bcap_probe(struct platform_device *pdev) > >> +{ > >> +       struct bcap_device *bcap_dev; > >> +       struct video_device *vfd; > >> +       struct i2c_adapte

Re: [uclinux-dist-devel] [PATCH 4/4] v4l2: add blackfin capture bridge driver

2011-09-14 Thread Scott Jiang
> i think at least these three are unused and should get punted > >> +static int __devinit bcap_probe(struct platform_device *pdev) >> +{ >> +       struct bcap_device *bcap_dev; >> +       struct video_device *vfd; >> +       struct i2c_adapter *i2c_adap; > > you need to include linux/i2c.h for th

Re: [PATCH 4/4] v4l2: add blackfin capture bridge driver

2011-09-14 Thread Scott Jiang
>> +static int bcap_qbuf(struct file *file, void *priv, >> +                     struct v4l2_buffer *buf) >> +{ >> +     struct bcap_device *bcap_dev = video_drvdata(file); >> +     struct v4l2_fh *fh = file->private_data; >> +     struct bcap_fh *bcap_fh = container_of(fh, struct bcap_fh, fh); >>