Media Build Git Master is Broke

2011-09-24 Thread Scott
/backports.txt Second error then is: File not found: ./../linux/drivers/staging/tm6000/Kconfig at ./scripts/make_kconfig.pl line 284, GEN59 line 36. Im stumped as how to fix this, it almost seems this should be in the git or created automatically. Hope someone can help. Thanks. Scott -- To unsubscribe

Re: Compiling v4l fatal error: linux/ti_wilink_st.h: No such file or directory

2011-03-07 Thread Scott
Same problem. I purged both linux-headers-2.6.35-27-generic, linux-source-2.6.35, then reinstalled them, and did an apt-get update/upgrade. I then deleted media_build and ran... git clone git://linuxtv.org/media_build.git cd media_build ./build.sh Compile breaks vi vrl/.config changed

Compro VideoMate U90

2009-03-09 Thread scott
, Scott. Some more info below: U90 page: http://www.comprousa.com/en/product/u90/u90.html U150 page (english translation): http://translate.google.com/translate?prev=hphl=enu=http%3A%2F%2Fwww.comprousa.com%2Ftw%2Fproduct%2Fu150%2Fu150.htmlsl=autotl=en $ uname -srvmo Linux 2.6.27-13-generic #1 SMP Thu

Re: Compro VideoMate U90

2009-03-10 Thread scott
on the same chipset are. Is it possible to add the ID for this device? I would be happy to test! Regards, Scott. On Tue, Mar 10, 2009 at 2:43 PM, scott scottl...@gmail.com wrote: Hi, I recently bought a Compro VideoMate U90, described on the box as a USB 2.0 DVB-T Stick with Remote. When plugging

we edit your photos

2018-07-20 Thread Scott
to deliver testing for you, so that you get to know our quality first hand. If you want to explore further, please reply back. Thanks and Regards, Scott

we provide editing

2018-07-20 Thread Scott
to deliver testing for you, so that you get to know our quality first hand. If you want to explore further, please reply back. Thanks and Regards, Scott

we provide editing

2018-07-20 Thread Scott
to deliver testing for you, so that you get to know our quality first hand. If you want to explore further, please reply back. Thanks and Regards, Scott

[PATCH] v4l2: add vb2_get_unmapped_area in vb2 core

2011-09-08 Thread Scott Jiang
no mmu system needs get_unmapped_area file operations to do mmap Signed-off-by: Scott Jiang scott.jiang.li...@gmail.com --- drivers/media/video/videobuf2-core.c | 31 +++ include/media/videobuf2-core.h |7 +++ 2 files changed, 38 insertions(+), 0

[PATCH 1/4] v4l2: add vb2_get_unmapped_area in vb2 core

2011-09-13 Thread Scott Jiang
no mmu system needs get_unmapped_area file operations to do mmap Signed-off-by: Scott Jiang scott.jiang.li...@gmail.com --- drivers/media/video/videobuf2-core.c | 31 +++ include/media/videobuf2-core.h |7 +++ 2 files changed, 38 insertions(+), 0

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

2011-09-13 Thread Scott Jiang
this is a v4l2 bridge driver for Blackfin video capture device, support ppi interface Signed-off-by: Scott Jiang scott.jiang.li...@gmail.com --- drivers/media/video/Makefile|2 + drivers/media/video/blackfin/Kconfig| 10 + drivers/media/video/blackfin/Makefile

[PATCH 2/4] v4l2: add adv7183 decoder driver

2011-09-13 Thread Scott Jiang
this driver is a v4l2 subdevice driver to support Analog Devices ADV7183 SDTV video decoder Signed-off-by: Scott Jiang scott.jiang.li...@gmail.com --- drivers/media/video/Kconfig| 10 + drivers/media/video/Makefile |1 + drivers/media/video/adv7183.c | 684

[PATCH 3/4] v4l2: add vs6624 sensor driver

2011-09-13 Thread Scott Jiang
this is a v4l2 sensor-level driver for the ST VS6624 camera Signed-off-by: Scott Jiang scott.jiang.li...@gmail.com --- drivers/media/video/Kconfig | 10 + drivers/media/video/Makefile |1 + drivers/media/video/vs6624.c | 941 + drivers

Re: [PATCH 3/4] v4l2: add vs6624 sensor driver

2011-09-13 Thread Scott Jiang
, it looks strange Scott -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 1/4] v4l2: add vb2_get_unmapped_area in vb2 core

2011-09-13 Thread Scott Jiang
Hm, wouldn't it be better to use vb2_mmap() and provide a dummy .mmap() method in videobuf2-dma-contig.c for the NOMMU case? these are two different file operations called by mm system. -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to

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

2011-09-13 Thread Scott Jiang
+ +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 process 12 bpp formats at some point, like YUV 4:2:0, or NV12? Maybe better calculate in bits from the beginning?

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

2011-09-14 Thread Scott Jiang
I think, the direct use of vb2_plane_cookie() is discouraged. vb2_dma_contig_plane_dma_addr() should work for you. I guess you mean vb2_dma_contig_plane_paddr no, in the current kernel it's vb2_dma_contig_plane_dma_addr(). See

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); + +     if

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 this no,

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 I see use this, so

Re: Asking advice for Camera/ISP driver framework design

2011-09-14 Thread Scott Jiang
...@vger.kernel.org More majordomo info at  http://vger.kernel.org/majordomo-info.html Your chip seems like davinci isp, only difference is dma. So you can reference davinci drivers. If dma interrupt doesn't happen at the same time, I guess you must wait because source image is the same. Scott

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

2011-09-14 Thread Scott Jiang
2011/9/14 Sylwester Nawrocki s.nawro...@samsung.com: 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

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

2011-09-15 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 process 12 bpp formats at

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

2011-09-15 Thread Scott Jiang
2011/9/15 Guennadi Liakhovetski g.liakhovet...@gmx.de: 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

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

2011-09-15 Thread Scott Jiang
I have considered using soc, but it can't support decoder when I began to write this driver in 2.6.38. soc_mediabus.c is a stand-alone module, it has no dependencies on soc-camera. Out of interest - what kind of decoder you mean? A tv-decoder? We do have a tv-decoder driver tw9910 under

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

2011-09-15 Thread Scott Jiang
2011/9/16 Sylwester Nawrocki snj...@gmail.com: On 09/15/2011 04:40 AM, Scott Jiang wrote: 2011/9/14 Sylwester Nawrockis.nawro...@samsung.com: On 09/14/2011 09:10 AM, Scott Jiang wrote: +                     fmt =bcap_formats[i]; +                     if (mbus_code

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

2011-09-16 Thread Scott Jiang
2011/9/13 Guennadi Liakhovetski g.liakhovet...@gmx.de: On Tue, 13 Sep 2011, Scott Jiang wrote: + +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 process

[PATCH 4/4 v2][FOR 3.1] v4l2: add blackfin capture bridge driver

2011-09-19 Thread Scott Jiang
this is a v4l2 bridge driver for Blackfin video capture device, support ppi interface Signed-off-by: Scott Jiang scott.jiang.li...@gmail.com --- drivers/media/video/Kconfig |2 + drivers/media/video/Makefile|2 + drivers/media/video/blackfin/Kconfig

[PATCH 1/4 v2][FOR 3.1] v4l2: add vb2_get_unmapped_area in vb2 core

2011-09-19 Thread Scott Jiang
no mmu system needs get_unmapped_area file operations to do mmap Signed-off-by: Scott Jiang scott.jiang.li...@gmail.com --- drivers/media/video/videobuf2-core.c | 31 +++ include/media/videobuf2-core.h |7 +++ 2 files changed, 38 insertions(+), 0

[PATCH 3/4 v2][FOR 3.1] v4l2: add vs6624 sensor driver

2011-09-19 Thread Scott Jiang
this is a v4l2 sensor-level driver for the ST VS6624 camera Signed-off-by: Scott Jiang scott.jiang.li...@gmail.com --- drivers/media/video/Kconfig | 10 + drivers/media/video/Makefile |1 + drivers/media/video/vs6624.c | 930 + drivers

[PATCH 2/4 v2][FOR 3.1] v4l2: add adv7183 decoder driver

2011-09-19 Thread Scott Jiang
this driver is a v4l2 subdevice driver to support Analog Devices ADV7183 SDTV video decoder Signed-off-by: Scott Jiang scott.jiang.li...@gmail.com --- drivers/media/video/Kconfig| 10 + drivers/media/video/Makefile |1 + drivers/media/video/adv7183.c | 686

Re: Problems cloning the git repostories

2011-09-26 Thread Scott Jiang
I've updated the instructions together with the git tree to point to the github tree. I followed your instructions using http instead, but I found it's not up to date. scott@scott-desktop:~/Projects/git-kernel/v4l-dvb$ git log commit 69d232ae8e95a229e7544989d6014e875deeb121 Author: Sakari Ailus

Re: New SOC Camera hardware

2011-09-26 Thread Scott Jiang
2011/9/27 Gilles gil...@gigadevices.com: Scott, A late echo. I am just now getting into the heart of this project and realize I missed your answer here from back in August. Just grabbed the trunk from the repo and trying to compile it. I'm not sure I understand why it would work with one

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

2011-09-27 Thread Scott Jiang
+             ret = v4l2_subdev_call(bcap_dev-sd, video, +                                     g_mbus_fmt, mbus_fmt); +             if (ret 0) +                     return ret; + +             for (i = 0; i BCAP_MAX_FMTS; i++) { +                     if (mbus_fmt.code !=

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

2011-09-27 Thread Scott Jiang
What you would typically do in a case like this (if I understand it correctly) is that in the s_input ioctl you first select the input in the subdev, and then you can call the subdev to determine the standard and format and use that information to set up the bridge. This requires that the

RE: why is there no enum_input in v4l2_subdev_video_ops

2011-05-09 Thread Jiang, Scott
this wrong and propose a fix. Sorry, I only found your mail in MAINTAINERS. Regards, Scott -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

RE: why is there no enum_input in v4l2_subdev_video_ops

2011-05-09 Thread Jiang, Scott
/ platforms are doing this wrong and propose a fix. Sorry, I only found your mail in MAINTAINERS. Regards, Scott -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo

RE: why is there no enum_input in v4l2_subdev_video_ops

2011-05-11 Thread Jiang, Scott
way of solving this issue. It can report links for every input pad. Scott, can you tell us a bit more about the decoder you're working with ? What kind of system is it used in ? I'm working on ADV7183 and VS6624 connecting with blackfin through ppi. By the way, ppi is a generic parallel

RE: why is there no enum_input in v4l2_subdev_video_ops

2011-05-11 Thread Jiang, Scott
way of solving this issue. It can report links for every input pad. Scott, can you tell us a bit more about the decoder you're working with ? What kind of system is it used in ? I'm working on ADV7183 and VS6624 connecting with blackfin through ppi. By the way, ppi is a generic parallel

v4l2_mbus_framefmt and v4l2_pix_format

2011-05-25 Thread Scott Jiang
them in v4l2_fill_pix_format. Thanks, Scott -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

no mmu on videobuf2

2011-06-15 Thread Scott Jiang
callback equals 0. I only found uvc handled get_unmapped_area for no mmu system, but it manages buffers itself. I really want videobuf2 to manage buffers. Please give me some advice. Thanks. Regards, Scott -- To unsubscribe from this list: send the line unsubscribe linux-media in the body

Re: no mmu on videobuf2

2011-06-16 Thread Scott Jiang
2011/6/16 Marek Szyprowski m.szyprow...@samsung.com: Hello Scott, Hi Marek and Laurent, I am working on v4l2 drivers for blackfin which is a no mmu soc. I found videobuf allocate memory in mmap not reqbuf, so I turn to videobuf2. But __setup_offsets() use plane offset to fill m.offset

Re: no mmu on videobuf2

2011-06-16 Thread Scott Jiang
Hi Kassey, 2011/6/16 Kassey Lee kassey1...@gmail.com: 2011/6/16 Scott Jiang scott.jiang.li...@gmail.com: 2011/6/16 Marek Szyprowski m.szyprow...@samsung.com: Hello Scott, Hi Marek and Laurent, I am working on v4l2 drivers for blackfin which is a no mmu soc. I found videobuf allocate

Re: [PATCH] v4l2: v4l2-fh: v4l2_fh_is_singular should use list head to test

2012-01-04 Thread Scott Jiang
2012/1/4 Sakari Ailus sakari.ai...@iki.fi: Hi Scott, Thanks for the patch. On Wed, Dec 21, 2011 at 10:30:54AM -0500, Scott Jiang wrote: list_is_singular accepts a list head to test whether a list has just one entry. fh-list is the entry, fh-vdev-fh_list is the list head. Signed-off

Re: subdev support for querying struct v4l2_input *

2012-01-04 Thread Scott Jiang
application. v4l2_subdev_video_ops-g_input_status Scott -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH 1/3 v3] [FOR 3.3] v4l: add adv7183 decoder driver

2012-03-08 Thread Scott Jiang
This driver is a v4l2 subdevice driver to support Analog Devices ADV7183 SDTV video decoder. Signed-off-by: Scott Jiang scott.jiang.li...@gmail.com --- drivers/media/video/Kconfig| 10 + drivers/media/video/Makefile |1 + drivers/media/video/adv7183.c | 699

[PATCH 3/3 v3] [FOR 3.3] v4l2: add blackfin capture bridge driver

2012-03-08 Thread Scott Jiang
This is a v4l2 bridge driver for Blackfin video capture device, support ppi and eppi interface. Signed-off-by: Scott Jiang scott.jiang.li...@gmail.com --- drivers/media/video/Kconfig |2 + drivers/media/video/Makefile|2 + drivers/media/video/blackfin

[PATCH 2/3 v3] [FOR 3.3] v4l2: add vs6624 sensor driver

2012-03-08 Thread Scott Jiang
This is a v4l2 sensor-level driver for the ST VS6624 camera. Signed-off-by: Scott Jiang scott.jiang.li...@gmail.com --- drivers/media/video/Kconfig | 10 + drivers/media/video/Makefile |1 + drivers/media/video/vs6624.c | 928 + drivers

Re: [PATCH RFC] [media] add Aptina mt9m114 HD digital image sensor driver

2013-03-28 Thread Scott Jiang
This driver support parallel data output mode and QVGA/VGA/WVGA/720P resolution. You can select YCbCr and RGB565 output format. What host bridge do you use this driver with ? I only tested with blackfin. + */ [snip] +struct mt9m114_reg { + u16 reg; + u32 val; + int

Re: [PATCH RFC] [media] add Aptina mt9m114 HD digital image sensor driver

2013-04-01 Thread Scott Jiang
Hi Laurent, +struct mt9m114_reg { + u16 reg; + u32 val; + int width; +}; + +enum { + MT9M114_QVGA, + MT9M114_VGA, + MT9M114_WVGA, + MT9M114_720P, +}; This is the part I don't like. Instead of hardcoding 4 different resolutions and using

Re: [PATCH RFC] [media] add Aptina mt9m114 HD digital image sensor driver

2013-04-07 Thread Scott Jiang
Hi Laurent, +struct mt9m114_reg { + u16 reg; + u32 val; + int width; +}; + +enum { + MT9M114_QVGA, + MT9M114_VGA, + MT9M114_WVGA, + MT9M114_720P, +}; This is the part I don't like. Instead of hardcoding 4 different

[PATCH 2/2] [media] bfin_capture: add query_dv_timings/enum_dv_timings support

2013-04-12 Thread Scott Jiang
More dv_timings ioctl ops are introduced in video core. Add query_dv_timings/enum_dv_timings accordingly. Signed-off-by: Scott Jiang scott.jiang.li...@gmail.com --- drivers/media/platform/blackfin/bfin_capture.c | 28 ++-- 1 files changed, 21 insertions(+), 7 deletions

[PATCH 1/2] [media] blackfin: add display support in ppi driver

2013-04-12 Thread Scott Jiang
Signed-off-by: Scott Jiang scott.jiang.li...@gmail.com --- drivers/media/platform/blackfin/ppi.c | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/drivers/media/platform/blackfin/ppi.c b/drivers/media/platform/blackfin/ppi.c index 01b5b50..15e9c2b 100644

[PATCH RFC] [media] blackfin: add video display driver

2013-04-12 Thread Scott Jiang
This is a bridge driver for blackfin diplay device. It can work with ppi or eppi interface. DV timings are supported. Signed-off-by: Scott Jiang scott.jiang.li...@gmail.com --- drivers/media/platform/blackfin/Kconfig| 15 +- drivers/media/platform/blackfin/Makefile |1

Re: [PATCH 1/2] [media] blackfin: add display support in ppi driver

2013-04-14 Thread Scott Jiang
2013/4/12 Hans Verkuil hverk...@xs4all.nl: On Sat April 13 2013 01:52:57 Scott Jiang wrote: Signed-off-by: Scott Jiang scott.jiang.li...@gmail.com Is it OK if I postpone these two patches for 3.11? They don't make sense AFAICT without the new display driver, and that will definitely not make

Re: [PATCH RFC] [media] blackfin: add video display driver

2013-04-16 Thread Scott Jiang
Hi Hans, +/* + * Analog Devices video display driver + * + * Copyright (c) 2011 Analog Devices Inc. Analog Devices? What has this to do with Analog Devices? I wrote this driver for Analog Devices Blackfin. + +static int disp_mmap(struct file *file, struct vm_area_struct *vma) +{ +

Re: [PATCH RFC] [media] blackfin: add video display driver

2013-04-17 Thread Scott Jiang
Hi Sylwester , @@ -9,7 +9,18 @@ config VIDEO_BLACKFIN_CAPTURE To compile this driver as a module, choose M here: the module will be called bfin_capture. +config VIDEO_BLACKFIN_DISPLAY + tristate Blackfin Video Display Driver + depends on VIDEO_V4L2 BLACKFIN

Re: [PATCH RFC] [media] blackfin: add video display driver

2013-04-24 Thread Scott Jiang
Hi Sylwester, + struct v4l2_device v4l2_dev; + /* v4l2 control handler */ + struct v4l2_ctrl_handler ctrl_handler; This handler seems to be unused, I couldn't find any code adding controls to it. Any initialization of this handler is a dead code now. You probably want

[PATCH RFC v2] [media] blackfin: add video display device driver

2013-04-28 Thread Scott Jiang
This is a V4L2 driver for Blackfin video display (E)PPI interface. This module is common for BF537/BF561/BF548/BF609. Signed-off-by: Scott Jiang scott.jiang.li...@gmail.com --- drivers/media/platform/blackfin/Kconfig| 15 +- drivers/media/platform/blackfin/Makefile |1

Re: [PATCH] [media] blackfin: fix error return code in bcap_probe()

2013-05-13 Thread Scott Jiang
input\n); + ret = -EINVAL; goto err_unreg_vdev; } It's better to move this check to the beginning of this function as I did in my bfin_display patch. Scott -- To unsubscribe from this list: send the line unsubscribe linux-media

Re: [PATCH v2] [media] blackfin: fix error return code in bcap_probe()

2013-05-13 Thread Scott Jiang
= -ENODEV; goto err_unreg_vdev; } Acked-by: Scott Jiang scott.jiang.li...@gmail.com -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo

Re: [RFC PATCH 01/14] adv7183: fix querystd

2013-05-31 Thread Scott Jiang
. Signed-off-by: Hans Verkuil hans.verk...@cisco.com Cc: Scott Jiang scott.jiang.li...@gmail.com --- drivers/media/i2c/adv7183.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) Acked-by: Scott Jiang scott.jiang.li...@gmail.com -- To unsubscribe from this list: send the line

Re: [PATCHv1 02/38] v4l2: remove g_chip_ident from bridge drivers where it is easy to do so.

2013-05-31 Thread Scott Jiang
-by: Hans Verkuil hans.verk...@cisco.com Cc: Mauro Carvalho Chehab mche...@redhat.com Cc: st...@linuxtv.org Cc: Scott Jiang scott.jiang.li...@gmail.com Cc: Lad, Prabhakar prabhakar.cse...@gmail.com Cc: Guennadi Liakhovetski g.liakhovet...@gmx.de Cc: Jonathan Corbet cor...@lwn.net Cc: Ezequiel

[PATCH RFC v3] [media] blackfin: add video display device driver

2013-06-04 Thread Scott Jiang
This is a V4L2 driver for Blackfin video display (E)PPI interface. This module is common for BF537/BF561/BF548/BF609. Signed-off-by: Scott Jiang scott.jiang.li...@gmail.com --- drivers/media/platform/blackfin/Kconfig| 15 +- drivers/media/platform/blackfin/Makefile |1

Re: extend v4l2_mbus_framefmt

2012-06-20 Thread Scott Jiang
I would expect that the combination of v4l2_mbus_framefmt + v4l2_dv_timings gives you the information you need. I can solve this problem in HD, but how about SD? Add a fake dv_timings ops in SD decoder driver? No, you add g/s_std instead. SD timings are set through that API. It is not so

About s_std_output

2012-06-27 Thread Scott Jiang
? Thanks, Scott -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: About s_std_output

2012-06-27 Thread Scott Jiang
2012/6/27 Hans Verkuil hverk...@xs4all.nl: On Wed 27 June 2012 11:37:24 Scott Jiang wrote: Hi Hans, I noticed there are two s_std ops in core and video for output. And some drivers call video-s_std_out and then core-s_std in their S_STD iotcl. Could anyone share me the story why we have

Re: [RFCv3 PATCH 26/33] videobuf2-core: add helper functions.

2012-06-28 Thread Scott Jiang
, len, pgoff, flags); } EXPORT_SYMBOL_GPL(vb2_fop_get_unmapped_area); #endif Scott -- To unsubscribe from this list: send the line

How to implement i2c map device

2012-04-26 Thread Scott Jiang
other i2c maps. Is it acceptable or any other suggestion? By the way, HDMI support seems under discussion, is there any framework or guide now? Thanks, Scott -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo

Re: Firmware blob in vs6624 driver

2012-05-28 Thread Scott Jiang
in the GPL driver source. Sounds reasonable. Also, shouldn't you check the loaded firmware version first to verify that it's safe to apply the patch? The problem is you can't get version before power up device but you should apply patch at that time. Scott -- To unsubscribe from this list: send

extend v4l2_mbus_framefmt

2012-06-11 Thread Scott Jiang
to add these fields in v4l2_mbus_framefmt or do you have any better solution? Thanks, Scott -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: extend v4l2_mbus_framefmt

2012-06-11 Thread Scott Jiang
with variable sensors and decoders can't accept this. About v4l2_dv_timings, do I need to set a default timing similar to pick PAL as default standard? Thanks, Scott -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More

Re: extend v4l2_mbus_framefmt

2012-06-12 Thread Scott Jiang
Hi Hans, I would expect that the combination of v4l2_mbus_framefmt + v4l2_dv_timings gives you the information you need. I can solve this problem in HD, but how about SD? Add a fake dv_timings ops in SD decoder driver? -- To unsubscribe from this list: send the line unsubscribe linux-media in

Re: extend v4l2_mbus_framefmt

2012-06-13 Thread Scott Jiang
. PPI can capture ancillary data both in herizontal and vertical interval. Even it works in active video only mode, it expects to get total timing info. Thanks, Scott -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More

Re: [PATCH] v4l: vs6624: Fix warning due to unused function

2013-12-01 Thread Scott Jiang
vs6624_read(struct v4l2_subdev *sd, u16 index) return buf[0]; } +#endif static int vs6624_write(struct v4l2_subdev *sd, u16 index, u8 value) Acked-by: Scott Jiang scott.jiang.li...@gmail.com -- To unsubscribe from this list: send the line unsubscribe linux

[PATCH 2/2] v4l2: blackfin: add EPPI3 support

2012-11-19 Thread Scott Jiang
Bf60x soc has a new PPI called Enhanced PPI version 3. HD video is supported now. To achieve this, we redesign ppi params and add dv timings feature. Signed-off-by: Scott Jiang scott.jiang.li...@gmail.com --- drivers/media/platform/blackfin/bfin_capture.c | 148 +--- drivers

[PATCH 1/2] v4l2: blackfin: convert ppi driver to a module

2012-11-19 Thread Scott Jiang
Other drivers can make use of it. Signed-off-by: Scott Jiang scott.jiang.li...@gmail.com --- drivers/media/platform/blackfin/Kconfig |6 +- drivers/media/platform/blackfin/Makefile |4 ++-- drivers/media/platform/blackfin/ppi.c|7 +++ 3 files changed, 14 insertions(+), 3

Re: [PATCH] [media] blackfin Kconfig: select is evil; use, instead depends on

2012-12-31 Thread Scott Jiang
VIDEO_BLACKFIN_DISPLAY tristate Blackfin Video Display Driver depends on VIDEO_V4L2 BLACKFIN I2C select VIDEOBUF2_DMA_CONTIG select VIDEO_BLACKFIN_PPI So should I move all other drivers to the depend on list? Scott -- To unsubscribe from this list: send the line unsubscribe linux

[PATCH 2/2] [media] blackfin: add error frame support

2013-01-18 Thread Scott Jiang
Mark current frame as error frame when ppi error interrupt report fifo error. Member next_frm in struct bcap_device can be optimized out. Signed-off-by: Scott Jiang scott.jiang.li...@gmail.com --- drivers/media/platform/blackfin/bfin_capture.c | 37 +--- drivers/media

[PATCH 1/2] [media] add maintainer for blackfin media drivers

2013-01-18 Thread Scott Jiang
Signed-off-by: Scott Jiang scott.jiang.li...@gmail.com --- MAINTAINERS |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index c5de529..e7ca531 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1652,6 +1652,15 @@ W: http

[PATCH RFC] [media] add Aptina mt9m114 HD digital image sensor driver

2013-01-18 Thread Scott Jiang
This driver support parallel data output mode and QVGA/VGA/WVGA/720P resolution. You can select YCbCr and RGB565 output format. Signed-off-by: Scott Jiang scott.jiang.li...@gmail.com --- drivers/media/i2c/Kconfig | 10 + drivers/media/i2c/Makefile |1 + drivers/media/i2c/mt9m114.c

v4l: How bridge driver get subdev std?

2011-12-15 Thread Scott Jiang
Hi Hans and Guennadi, I'm wondering how does bridge driver get subdev std (not query)? My case is that bridge needs to get subdev default std. Regards, Scott -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More

Re: v4l: How bridge driver get subdev std?

2011-12-15 Thread Scott Jiang
2011/12/15 Hans Verkuil hverk...@xs4all.nl: On Thursday, December 15, 2011 10:48:39 Scott Jiang wrote: Hi Hans and Guennadi, I'm wondering how does bridge driver get subdev std (not query)? My case is that bridge needs to get subdev default std. It can just call the core g_std op. Note

Re: [PATCH] V4L: soc-camera: provide support for S_INPUT.

2011-12-16 Thread Scott Jiang
v4l2_subdev *sd = soc_camera_to_subdev(icd); -       return 0; +       return v4l2_subdev_call(sd, video, s_routing, i, 0, 0);  } why must output be zero? Regards, Scott -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org

Re: [PATCH] V4L: soc-camera: provide support for S_INPUT.

2011-12-16 Thread Scott Jiang
Hi Guennadi, First question: you probably also want to patch soc_camera_g_input() and soc_camera_enum_input(). But no, I do not know how. The video subdevice operations do not seem to provide a way to query subdevice routing capabilities, so, I've got no idea how we're supposed to support

Re: [PATCH] V4L: soc-camera: provide support for S_INPUT.

2011-12-16 Thread Scott Jiang
gain you anything as far as I can tell since the subdevice simply does not know which inputs/outputs are actually hooked up. It's the top level driver that has that information (usually passed in through board/card info structures). Regards, Scott -- To unsubscribe from this list: send

about v4l2_fh_is_singular

2011-12-20 Thread Scott Jiang
Hi Sakari, Hans recommends me using v4l2_fh_is_singular in first open, but I found it used list_is_singular(fh-list). Should it use fh-vdev-fh_list or I missed something? Regards, Scott -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord

[PATCH] v4l2: v4l2-fh: v4l2_fh_is_singular should use list head to test

2011-12-20 Thread Scott Jiang
list_is_singular accepts a list head to test whether a list has just one entry. fh-list is the entry, fh-vdev-fh_list is the list head. Signed-off-by: Scott Jiang scott.jiang.li...@gmail.com --- drivers/media/video/v4l2-fh.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

v4l: how to get blanking clock count?

2011-12-29 Thread Scott Jiang
Hi Hans and Guennadi, Our bridge driver needs to know line clock count including active lines and blanking area. I can compute active clock count according to pixel format, but how can I get this in blanking area in current framework? Thanks, Scott -- To unsubscribe from this list: send the line

Re: v4l: how to get blanking clock count?

2011-12-30 Thread Scott Jiang
2011/12/31 Sakari Ailus sakari.ai...@iki.fi: Hi Scott, On Fri, Dec 30, 2011 at 03:20:43PM +0800, Scott Jiang wrote: Hi Hans and Guennadi, Our bridge driver needs to know line clock count including active lines and blanking area. I can compute active clock count according to pixel format

Re: v4l: how to get blanking clock count?

2012-01-03 Thread Scott Jiang
I the case of your bridge, that may not be possible, but that's the only one I've heard of so I think it's definitely a special case. In that case the sensor driver can't be allowed to change the blanking periods while streaming is ongoing. I agree, it's just a matter of adding proper logic

Re: v4l: how to get blanking clock count?

2012-01-04 Thread Scott Jiang
2012/1/4 Sakari Ailus sakari.ai...@iki.fi: Hi Scott, On Wed, Jan 04, 2012 at 01:50:17PM +0800, Scott Jiang wrote: I the case of your bridge, that may not be possible, but that's the only one I've heard of so I think it's definitely a special case. In that case the sensor driver can't

Re: v4l: how to get blanking clock count?

2012-01-04 Thread Scott Jiang
If I disable this interrupt, other errors like fifo underflow are ignored. Perhaps I can add a parameter in platform data to let user decide to register this interrupt or not. I think a more generic solution would be preferrable. If that causes ignoring real errors, that's of course bad. I  

Re: [RFC PATCH 07/18] blackfin: replace V4L2_IN/OUT_CAP_CUSTOM_TIMINGS by DV_TIMINGS

2013-02-16 Thread Scott Jiang
these CUSTOM_TIMINGS defines might be removed. Signed-off-by: Hans Verkuil hans.verk...@cisco.com Cc: Scott Jiang scott.jiang.li...@gmail.com Acked-by: Scott Jiang scott.jiang.li...@gmail.com --- arch/blackfin/mach-bf609/boards/ezkit.c|8 drivers/media/platform/blackfin

[PATCH] [media] dma-mapping: enable no mmu support in dma_common_mmap

2013-03-05 Thread Scott Jiang
No MMU systems also make use of this function to do mmap. Signed-off-by: Scott Jiang scott.jiang.li...@gmail.com --- drivers/base/dma-mapping.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/base/dma-mapping.c b/drivers/base/dma-mapping.c index 0ce39a3..ae655b2

Re: Using MMAP calls on a video capture device having underlying NOMMU arch

2012-09-12 Thread Scott Jiang
!= (pfn PAGE_SHIFT)) return -EINVAL; I address Scott also, as I see that he has worked on the Blackfin v4l2 capture driver using DMA contiguous method and may have seen this issue (on a NOMMU system) with a v4l2 application performing a MMAP operation. Any comments on what I

Re: [PATCH] nommu: remap_pfn_range: fix addr parameter check

2012-09-14 Thread Scott Jiang
Yes, the MMU version of remap_pfn_range() does permit non-page-aligned `addr' (at least, if the userspace maaping is a non-COW one). But I suspect that was an implementation accident - it is a nonsensical thing to do, isn't it? The MMU cannot map a bunch of kernel pages onto a

Re: [PATCH] nommu: remap_pfn_range: fix addr parameter check

2012-09-17 Thread Scott Jiang
I was using 3.3 linux kernel. I will again check if videobuf2 in 3.5 has already fixed this issue. [snip..] Ok I just checked the vb2_dma_contig allocator and it has no major changes from my version, http://lxr.linux.no/linux+v3.5.3/drivers/media/video/videobuf2-dma-contig.c#L37 So, I

Re: [PATCH] i2c: vs6624: use module_i2c_driver to simplify the code

2012-10-09 Thread Scott Jiang
...@trendmicro.com.cn Acked-by: Scott Jiang scott.jiang.li...@gmail.com --- drivers/media/i2c/vs6624.c | 13 + 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/drivers/media/i2c/vs6624.c b/drivers/media/i2c/vs6624.c index 42ae9dc..f434a19 100644 --- a/drivers/media

Re: [PATCH] i2c: adv7183: use module_i2c_driver to simplify the code

2012-10-09 Thread Scott Jiang
...@trendmicro.com.cn Acked-by: Scott Jiang scott.jiang.li...@gmail.com --- drivers/media/i2c/adv7183.c | 13 + 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/drivers/media/i2c/adv7183.c b/drivers/media/i2c/adv7183.c index e1d4c89..10c3c1d 100644 --- a/drivers

Re: [REVIEW PATCH 2/3] bfin_capture: fix compiler warning

2013-06-26 Thread Scott Jiang
’, declared with attribute warn_unused_result [-Wunused-result] vb2_queue_init(q); ^ Signed-off-by: Hans Verkuil hans.verk...@cisco.com Cc: Scott Jiang scott.jiang.li...@gmail.com --- drivers/media/platform/blackfin/bfin_capture.c | 4 +++- 1 file changed, 3 insertions(+), 1

  1   2   >