Re: [PATCH] media i.MX27 camera: remove legacy dma support

2011-09-08 Thread Robert Schwebel
On Wed, Sep 07, 2011 at 10:47:38PM +0200, Guennadi Liakhovetski wrote: (hope, you've had good holidays:-)) Any update on this? Do we want this for 3.2? Sascha is on holiday for the rest of this week and next week. So you'd better asked him a bit later :) rsc -- Pengutronix e.K.

Re: [PATCH 0/19 v4] s5p-fimc driver conversion to media controller and control framework

2011-09-08 Thread Sylwester Nawrocki
On 09/06/2011 10:52 PM, Mauro Carvalho Chehab wrote: Em 03-09-2011 13:32, Sylwester Nawrocki escreveu: On 09/01/2011 05:30 PM, Sylwester Nawrocki wrote: Hello, following is a fourth version of the patchset converting s5p-fimc driver to the media controller API and the new control framework.

Re: [PATCH] uvcvideo: Fix crash when linking entities

2011-09-08 Thread Laurent Pinchart
Hi Josh, On Wednesday 07 September 2011 17:32:41 Josh Boyer wrote: On Wed, Sep 07, 2011 at 12:29:08AM +0200, Laurent Pinchart wrote: The uvc_mc_register_entity() function wrongfully selects the media_entity associated with a UVC entity when creating links. This results in access to

[PATCH 2/9 v7] V4L: add two new ioctl()s for multi-size videobuffer management

2011-09-08 Thread Guennadi Liakhovetski
A possibility to preallocate and initialise buffers of different sizes in V4L2 is required for an efficient implementation of a snapshot mode. This patch adds two new ioctl()s: VIDIOC_CREATE_BUFS and VIDIOC_PREPARE_BUF and defines respective data structures. Signed-off-by: Guennadi Liakhovetski

[PATCH 3/9 v7] V4L: document the new VIDIOC_CREATE_BUFS and VIDIOC_PREPARE_BUF ioctl()s

2011-09-08 Thread Guennadi Liakhovetski
Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- v7: added to the experimental list in compat.xml Documentation/DocBook/media/v4l/compat.xml |3 + Documentation/DocBook/media/v4l/io.xml | 17 +++ Documentation/DocBook/media/v4l/v4l2.xml |2 +

[PATCH] V4L: docbook documentation for struct v4l2_create_buffers

2011-09-08 Thread Guennadi Liakhovetski
Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- Obviously, this goes on top of the multi-size buffers patch series. Thanks again to Sakari for the idea. drivers/media/video/v4l2-compat-ioctl32.c | 13 +++-- include/linux/videodev2.h | 14

Re: Can you review or ack this patch?

2011-09-08 Thread Hans Verkuil
Hi Andrew, Sorry for top-posting, I only have a crappy Android mailer at the moment. Thank you for looking at this. Unfortunately I am dealing with a family emergency at the moment (and for the next 1-2 weeks), so I don't have the time or motivation to follow up on this. So if you or Mauro (or

[PATCH 1/1] v4l: Mark VIDIOC_PREPARE_BUFS and VIDIOC_CREATE_BUFS experimental.

2011-09-08 Thread Sakari Ailus
Add a note to documentation of both VIDIOC_PREPARE_BUFS and VIDIOC_CREATE_BUFS that these ioctls are experimental. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi --- I think it would be even better to add the note to the ioctls themselves. The users are not going to be looking at the list of

[PATCH 10/13 v3] mt9m001: convert to the control framework.

2011-09-08 Thread Guennadi Liakhovetski
From: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com [g.liakhovet...@gmx.de: simplified pointer arithmetic] Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/mt9m001.c | 218 +++-- 1

[PATCH 07/13 v3] ov2640: convert to the control framework.

2011-09-08 Thread Guennadi Liakhovetski
From: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/ov2640.c | 90 - 1 files changed, 27 insertions(+), 63 deletions(-) diff

[PATCH 03/13 v3] ov9640: convert to the control framework.

2011-09-08 Thread Guennadi Liakhovetski
From: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/ov9640.c | 119 +- drivers/media/video/ov9640.h |4 +- 2 files changed, 38

[PATCH 09/13 v3] ov9740: convert to the control framework.

2011-09-08 Thread Guennadi Liakhovetski
From: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/ov9740.c | 83 ++ 1 files changed, 28 insertions(+), 55 deletions(-) diff

[PATCH 04/13 v3] ov772x: convert to the control framework.

2011-09-08 Thread Guennadi Liakhovetski
From: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com [g.liakhovet...@gmx.de: simplified pointer arithmetic] Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/ov772x.c | 114 + 1

[PATCH 11/13 v3] mt9m111: convert to the control framework.

2011-09-08 Thread Guennadi Liakhovetski
From: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com [g.liakhovet...@gmx.de: simplified pointer arithmetic] Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/mt9m111.c | 203 ++--- 1

[PATCH 12/13 v3] mt9t031: convert to the control framework.

2011-09-08 Thread Guennadi Liakhovetski
From: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com [g.liakhovet...@gmx.de: simplified pointer arithmetic] Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/mt9t031.c | 252 ++--- 1

[PATCH 05/13 v3] rj54n1cb0c: convert to the control framework.

2011-09-08 Thread Guennadi Liakhovetski
From: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com [g.liakhovet...@gmx.de: simplified pointer arithmetic] Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/rj54n1cb0c.c | 141 ++--- 1

[PATCH/RFC 00/13 v3] Converting soc_camera to the control framework

2011-09-08 Thread Guennadi Liakhovetski
This is a re-send of the patch-series by Hans Verkuil, partially modified and tested by me. The original patch-series can be found at http://git.linuxtv.org/hverkuil/media_tree.git/shortlog/refs/heads/soc2 Significant changes has been applied to patches 1 and 2. Unfortunately, Hans didn't

SI470X Radio / ADS Instant FM Music in linux

2011-09-08 Thread corp\KChen
Dear Manager, I am debugging a platform with SI470x FM radio module(Usb interface). The linux kernel version is 2.6.35.7. I have configured the linux kernel and it can recognize this module. But there are some abnormal log and I cant scan the FM channel normally. The log list as below, Would

Re: Updated DVB-T file fr-Bourges

2011-09-08 Thread Christoph Pfister
Please use auto-Default [1] instead (fr-Bourges has been removed; fr-* files usually have many AUTO entries, so it's better to use a generic AUTO file). Christoph [1] http://linuxtv.org/hg/dvb-apps/file/tip/util/scan/dvb-t/auto-Default 2011/8/20 SuperPat gueri...@free.fr: Since the cessation

Re: Updated DVB-S file Thor-1.0W

2011-09-08 Thread Christoph Pfister
Updated, thanks. Christoph 2011/9/1 Harald Overas harald.ove...@gmail.com: Hi I have attached a patch for Thor-1.0W. Most of the mux updates are for the new Thor 6 satellite. http://www.telenorsbc.com/templates/Page.aspx?id=783 I have also taking the liberty to update one of the existing

Re: Updated DVB-T scandata for es-Donostia

2011-09-08 Thread Christoph Pfister
Updated, thanks. Christoph 2011/9/1 Tuukka Laurikainen tlaurikai...@gmail.com: Hi, This is the updated scan data for es-Donostia: T 49000 8MHz 2/3 NONE QAM64 8k 1/4 NONE T 55400 8MHz 2/3 NONE QAM64 8k 1/4 NONE T 56200 8MHz 2/3 NONE QAM64 8k 1/4 NONE T 62600 8MHz 2/3 NONE

Re: [RFC] New class for low level sensors controls?

2011-09-08 Thread Laurent Pinchart
Hi Sakari, On Tuesday 06 September 2011 14:22:27 Sakari Ailus wrote: On Tue, Sep 06, 2011 at 01:41:11PM +0200, Laurent Pinchart wrote: On Tuesday 06 September 2011 13:36:53 Sakari Ailus wrote: Hi all, We are beginning to have raw bayer image sensor drivers in the mainline.

[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

Re: [RFC] Reserved fields in v4l2_mbus_framefmt, v4l2_subdev_format alignment

2011-09-08 Thread Laurent Pinchart
Hi Sylwester and Sakari, On Tuesday 06 September 2011 23:07:43 Sakari Ailus wrote: On Tue, Sep 06, 2011 at 09:10:17PM +0200, Sylwester Nawrocki wrote: On 09/05/2011 05:55 PM, Sakari Ailus wrote: Hi all, I recently came across a few issues in the definitions of v4l2_subdev_format

Re: [RFC] New class for low level sensors controls?

2011-09-08 Thread Sakari Ailus
On Thu, Sep 08, 2011 at 11:51:06AM +0200, Laurent Pinchart wrote: Hi Sakari, Hi Laurent, On Tuesday 06 September 2011 14:22:27 Sakari Ailus wrote: On Tue, Sep 06, 2011 at 01:41:11PM +0200, Laurent Pinchart wrote: On Tuesday 06 September 2011 13:36:53 Sakari Ailus wrote: Hi all,

Re: [RFC] New class for low level sensors controls?

2011-09-08 Thread Subash Patel
Hi Sakari, On 09/06/2011 05:52 PM, Sakari Ailus wrote: On Tue, Sep 06, 2011 at 01:41:11PM +0200, Laurent Pinchart wrote: Hi Sakari, On Tuesday 06 September 2011 13:36:53 Sakari Ailus wrote: Hi all, We are beginning to have raw bayer image sensor drivers in the mainline. Typically such

Re: [RFC] New class for low level sensors controls?

2011-09-08 Thread Sakari Ailus
Hi Subash, Thanks for the comments. On Thu, Sep 08, 2011 at 04:54:23PM +0530, Subash Patel wrote: Hi Sakari, On 09/06/2011 05:52 PM, Sakari Ailus wrote: On Tue, Sep 06, 2011 at 01:41:11PM +0200, Laurent Pinchart wrote: Hi Sakari, On Tuesday 06 September 2011 13:36:53 Sakari Ailus wrote:

Re: [RFC] New class for low level sensors controls?

2011-09-08 Thread Guennadi Liakhovetski
On Tue, 6 Sep 2011, Sakari Ailus wrote: On Tue, Sep 06, 2011 at 01:41:11PM +0200, Laurent Pinchart wrote: Hi Sakari, On Tuesday 06 September 2011 13:36:53 Sakari Ailus wrote: Hi all, We are beginning to have raw bayer image sensor drivers in the mainline. Well, we've been

Re: [RFC] New class for low level sensors controls?

2011-09-08 Thread Sakari Ailus
On Thu, Sep 08, 2011 at 02:35:54PM +0200, Guennadi Liakhovetski wrote: On Tue, 6 Sep 2011, Sakari Ailus wrote: On Tue, Sep 06, 2011 at 01:41:11PM +0200, Laurent Pinchart wrote: Hi Sakari, On Tuesday 06 September 2011 13:36:53 Sakari Ailus wrote: Hi all, We are beginning

Re: OMAP3 ISP and UYVY422

2011-09-08 Thread Enrico
On Wed, Sep 7, 2011 at 5:55 PM, Gary Thomas g...@mlbassoc.com wrote: My UYVY422 data looks like this (raw-3.0):  000: 0080 0080 007f 0080 007f 0080 007f 0080    010: 0080 0080 0080 0080 0080 0080 0080 0080    020: 0080 0080 0080 0080 007f 0080 0080

[PATCH 0/8] OMAP3EVM: Add tvp514x video decoder support

2011-09-08 Thread Deepthy Ravi
This patchset -add support for tvp514x video decoder on omap3evm and also migrate the decoder driver to media controller framework. -add support for BT656 interface. -enable multimedia driver and tvp514x decoder support in omap2plus_defconfig. It is dependent on

[PATCH 1/8] omap3evm: Enable regulators for camera interface

2011-09-08 Thread Deepthy Ravi
From: Vaibhav Hiremath hvaib...@ti.com Enabled 1v8 and 2v8 regulator output, which is being used by camera module. Signed-off-by: Vaibhav Hiremath hvaib...@ti.com Signed-off-by: Deepthy Ravi deepthy.r...@ti.com --- arch/arm/mach-omap2/board-omap3evm.c | 40 ++

[PATCH 2/8] omap3evm: Add Camera board init/hookup file

2011-09-08 Thread Deepthy Ravi
From: Vaibhav Hiremath hvaib...@ti.com In OMAP3EVM Rev G, TVP5146 video decoder is populated on the main board. This decoder is registered as a subdevice to the media-controller/omap3isp. Signed-off-by: Vaibhav Hiremath hvaib...@ti.com Signed-off-by: Deepthy Ravi deepthy.r...@ti.com ---

[PATCH 3/8] tvp514x: Migrate to media-controller framework

2011-09-08 Thread Deepthy Ravi
From: Vaibhav Hiremath hvaib...@ti.com Migrate tvp5146 driver to media controller framework. The driver registers as a sub-device entity to MC framwork and sub-device to V4L2 layer. The default format code was V4L2_MBUS_FMT_YUYV10_2X10. Changed it to V4L2_MBUS_FMT_UYVY8_2X8 and hence added the

[PATCH 4/8] ispvideo: Add support for G/S/ENUM_STD ioctl

2011-09-08 Thread Deepthy Ravi
From: Vaibhav Hiremath hvaib...@ti.com In order to support TVP5146 (for that matter any video decoder), it is important to support G/S/ENUM_STD ioctl on /dev/videoX device node. Signed-off-by: Vaibhav Hiremath hvaib...@ti.com Signed-off-by: Deepthy Ravi deepthy.r...@ti.com ---

[PATCH 5/8] ispccdc: Configure CCDC registers

2011-09-08 Thread Deepthy Ravi
From: Vaibhav Hiremath hvaib...@ti.com Configure the CCDC registers for YUV and non YUV data. Also some code clean-up for making it compact. Signed-off-by: Vaibhav Hiremath hvaib...@ti.com Signed-off-by: Deepthy Ravi deepthy.r...@ti.com --- drivers/media/video/omap3isp/ispccdc.c | 65

[PATCH 6/8] ispccdc: Add support for BT656 interface

2011-09-08 Thread Deepthy Ravi
From: Vaibhav Hiremath hvaib...@ti.com Add support for BT656 interface in omap3isp ccdc driver. In addition, this corrects some build errors associated with isp_video_mbus_to_pix(). The function was declared as static. Made it extern. Signed-off-by: Vaibhav Hiremath hvaib...@ti.com

[PATCH 8/8] omap2plus_defconfig: Enable tvp514x video decoder support

2011-09-08 Thread Deepthy Ravi
Enables multimedia driver, media controller api, v4l2-subdev-api, and tvp514x video decoder support in omap2plus_defconfig. Signed-off-by: Deepthy Ravi deepthy.r...@ti.com --- arch/arm/configs/omap2plus_defconfig | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git

[PATCH 7/8] omap3evm: camera: Configure BT656 interface

2011-09-08 Thread Deepthy Ravi
From: Vaibhav Hiremath hvaib...@ti.com Signed-off-by: Vaibhav Hiremath hvaib...@ti.com Signed-off-by: Deepthy Ravi deepthy.r...@ti.com --- arch/arm/mach-omap2/board-omap3evm-camera.c | 11 --- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git

Re: OMAP3 ISP and UYVY422

2011-09-08 Thread Gary Thomas
On 2011-09-08 07:22, Enrico wrote: On Wed, Sep 7, 2011 at 5:55 PM, Gary Thomasg...@mlbassoc.com wrote: My UYVY422 data looks like this (raw-3.0): 000: 0080 0080 007f 0080 007f 0080 007f 0080 010: 0080 0080 0080 0080 0080 0080 0080 0080 020:

Re: OMAP3 ISP and UYVY422

2011-09-08 Thread Gary Thomas
On 2011-09-08 07:40, Gary Thomas wrote: On 2011-09-08 07:22, Enrico wrote: On Wed, Sep 7, 2011 at 5:55 PM, Gary Thomasg...@mlbassoc.com wrote: My UYVY422 data looks like this (raw-3.0): 000: 0080 0080 007f 0080 007f 0080 007f 0080 010: 0080 0080 0080 0080 0080 0080

Re: [RFC] New class for low level sensors controls?

2011-09-08 Thread Guennadi Liakhovetski
On Thu, 8 Sep 2011, Sakari Ailus wrote: On Thu, Sep 08, 2011 at 02:35:54PM +0200, Guennadi Liakhovetski wrote: On Tue, 6 Sep 2011, Sakari Ailus wrote: On Tue, Sep 06, 2011 at 01:41:11PM +0200, Laurent Pinchart wrote: Hi Sakari, On Tuesday 06 September 2011 13:36:53 Sakari

Re: [PATCH 2/8] omap3evm: Add Camera board init/hookup file

2011-09-08 Thread Laurent Pinchart
Hi, On Thursday 08 September 2011 15:34:44 Deepthy Ravi wrote: From: Vaibhav Hiremath hvaib...@ti.com In OMAP3EVM Rev G, TVP5146 video decoder is populated on the main board. This decoder is registered as a subdevice to the media-controller/omap3isp. Thanks for the patch. We're getting

Re: [PATCH 4/8] ispvideo: Add support for G/S/ENUM_STD ioctl

2011-09-08 Thread Sakari Ailus
Hi Deepathy, Thanks for the patches. On Thu, Sep 08, 2011 at 07:05:22PM +0530, Deepthy Ravi wrote: From: Vaibhav Hiremath hvaib...@ti.com In order to support TVP5146 (for that matter any video decoder), it is important to support G/S/ENUM_STD ioctl on /dev/videoX device node. Why on video

Re: [PATCH 4/8] ispvideo: Add support for G/S/ENUM_STD ioctl

2011-09-08 Thread Laurent Pinchart
Hi, Thanks for the patch. On Thursday 08 September 2011 15:35:22 Deepthy Ravi wrote: From: Vaibhav Hiremath hvaib...@ti.com In order to support TVP5146 (for that matter any video decoder), it is important to support G/S/ENUM_STD ioctl on /dev/videoX device node. Why so ? Shouldn't it be

Re: [PATCH 3/8] tvp514x: Migrate to media-controller framework

2011-09-08 Thread Laurent Pinchart
Hi, On Thursday 08 September 2011 15:35:00 Deepthy Ravi wrote: From: Vaibhav Hiremath hvaib...@ti.com Migrate tvp5146 driver to media controller framework. The driver registers as a sub-device entity to MC framwork and sub-device to V4L2 layer. The default format code was

Re: [PATCH 5/8] ispccdc: Configure CCDC registers

2011-09-08 Thread Laurent Pinchart
Hi, Thanks for the patch. On Thursday 08 September 2011 15:35:44 Deepthy Ravi wrote: From: Vaibhav Hiremath hvaib...@ti.com Configure the CCDC registers for YUV and non YUV data. Also some code clean-up for making it compact. I've already posted patches to the linux-media mailing list for

Re: [PATCH 6/8] ispccdc: Add support for BT656 interface

2011-09-08 Thread Laurent Pinchart
Hi, Thanks for the patch. On Thursday 08 September 2011 15:36:29 Deepthy Ravi wrote: From: Vaibhav Hiremath hvaib...@ti.com Add support for BT656 interface in omap3isp ccdc driver. In addition, this corrects some build errors associated with isp_video_mbus_to_pix(). The function was

Re: [PATCH] v4l: Remove experimental note from ENUM_FRAMESIZES and ENUM_FRAMEINTERVALS

2011-09-08 Thread Laurent Pinchart
Hi Sakari, On Saturday 03 September 2011 09:26:12 Sakari Ailus wrote: On Sat, Sep 03, 2011 at 01:28:28AM +0300, Sakari Ailus wrote: VIDIOC_ENUM_FRAMESIZES and VIDIOC_FRAME_INTERVALS have existed for quite some time, are widely supported by various drivers and are being used by

Re: [PATCH 1/2 v6] media: Add support for arbitrary resolution

2011-09-08 Thread Laurent Pinchart
Hi Bastian, On Thursday 08 September 2011 18:15:24 Bastian Hecht wrote: This patch adds the ability to get arbitrary resolutions with a width up to 2592 and a height up to 720 pixels instead of the standard 1280x720 only. Signed-off-by: Bastian Hecht hec...@gmail.com --- This is the same

Re: [PATCH 1/8] omap3evm: Enable regulators for camera interface

2011-09-08 Thread Laurent Pinchart
Hi, On Thursday 08 September 2011 15:33:51 Deepthy Ravi wrote: From: Vaibhav Hiremath hvaib...@ti.com Enabled 1v8 and 2v8 regulator output, which is being used by camera module. Thanks for the patch. Just one minor comment below. Signed-off-by: Vaibhav Hiremath hvaib...@ti.com

cron job: media_tree daily build: ERRORS

2011-09-08 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:Thu Sep 8 19:00:34 CEST 2011 git hash:8f401543ec96fb58533a2bef41e2c584fe55a114 gcc version: i686-linux-gcc

recursive locking problem

2011-09-08 Thread Antti Palosaari
I am working with AF9015 I2C-adapter lock. I need lock I2C-bus since there is two tuners having same I2C address on same bus, demod I2C gate is used to select correct tuner. I am trapping demod .i2c_gate_ctrl() calls and locking bus according to that. Is there any lock can do recursive

Re: [PATCH 2/8] mm: alloc_contig_freed_pages() added

2011-09-08 Thread Dave Hansen
On Fri, 2011-08-19 at 16:27 +0200, Marek Szyprowski wrote: +unsigned long alloc_contig_freed_pages(unsigned long start, unsigned long end, +gfp_t flag) +{ + unsigned long pfn = start, count; + struct page *page; + struct zone *zone; +