Re: [PATCH] adp1653: included linux/module.h twice

2012-02-16 Thread Sakari Ailus
Hi Danny, On Wed, Feb 15, 2012 at 08:20:44PM +0100, Danny Kukawka wrote: drivers/media/video/adp1653.c included 'linux/module.h' twice, remove the duplicate. Signed-off-by: Danny Kukawka danny.kuka...@bisect.de --- drivers/media/video/adp1653.c |1 - 1 files changed, 0 insertions(+),

Re: [PATCH] media: video: append $(srctree) to -I parameters

2012-02-16 Thread Andy Shevchenko
On Thu, 2012-02-16 at 07:22 +0100, Laurent Pinchart wrote: Hi Andy, Thanks for the patch. On Wednesday 15 February 2012 17:08:01 Andy Shevchenko wrote: Without this we have got the warnings like following if build with make W=1 O=/var/tmp: CHECK

[PATCH 2/6] s5p-csis: Add explicit dependency on REGULATOR

2012-02-16 Thread Sylwester Nawrocki
The driver used the regulator API so it should depend on REGULATOR. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/Kconfig |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git

[PATCH 0/6] s5p-fimc driver updates

2012-02-16 Thread Sylwester Nawrocki
This patch series includes a few updates for s5p-fimc/s5p-csis drivers, like support for VIDIOC_PREPARE/CREATE_BUFS and VIDIOC_G/S_SELECTION ioctls, addition of clk_prepare/unprepare (required for upcoming common struct clk) and conversion to the device managed resources. Sylwester Nawrocki (6):

[PATCH 6/6] s5p-csis: Convert to the device managed resources

2012-02-16 Thread Sylwester Nawrocki
The devm_* functions are used in the platform device probe() for data that is freed on driver removal. The managed device layer takes care of undoing actions taken in the probe callback() and freeing resources on driver detach. This eliminates the need for manually releasing resources and

[PATCH 1/6] s5p-fimc: convert to clk_prepare()/clk_unprepare()

2012-02-16 Thread Sylwester Nawrocki
Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/s5p-fimc/fimc-core.c | 29 - drivers/media/video/s5p-fimc/mipi-csis.c | 28 +++- 2 files changed, 39

[PATCH 3/6] s5p-fimc: Convert to the device managed resources

2012-02-16 Thread Sylwester Nawrocki
The devm_* functions are used in the platform device probe() for data that is freed on driver removal. The managed device layer takes care of undoing actions taken in the probe callback() and freeing resources on driver detach. This eliminates the need for manually releasing resources and

[PATCH 5/6] s5p-fimc: Replace the crop ioctls with VIDIOC_S/G_SELECTION

2012-02-16 Thread Sylwester Nawrocki
Add support for cropping and composition setup on the video capture node through VIDIOC_S/G_SELECTION ioctls. S/G_CROP, CROPCAP ioctls are still supported for applications since the core will translate them to *_selection handler calls. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com

[PATCH 4/6] s5p-fimc: Add support for VIDIOC_PREPARE_BUF/CREATE_BUFS ioctls

2012-02-16 Thread Sylwester Nawrocki
Add VIDIOC_PREPARE_BUF and VIDIOC_CREATE_BUFS ioctl handlers to enable support for multi-size buffer queue. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/s5p-fimc/fimc-capture.c | 19 +++

[RFC/PATCH 0/6] Interleaved image data on media bus

2012-02-16 Thread Sylwester Nawrocki
Hello, This patch series presents a method of capturing interleaved YUYV/JPEG image frames with the S5P/EXYNOS FIMC and MIPI-CSIS devices I went for to support a camera (sensor) that outputs interleaved image data at single User Defined MIPI-CSI2 data format. Such data is a combined two frames

[RFC/PATCH 2/6] V4L: Add V4L2_PIX_FMT_JPG_YUV_S5C fourcc definition

2012-02-16 Thread Sylwester Nawrocki
The V4L2_PIX_FMT_JPG_YUV_S5C is a two-plane image format generated by S5C73M3 camera. The first plane contains interleaved JPEG and YUYV data and the second one the meta data containing offsets (pointers) to the YUYV data blocks. First 4 bytes of the meta data plane indicate total size of the

[RFC/PATCH 1/6] V4L: Add V4L2_MBUS_FMT_VYUY_JPEG_I1_1X8 media bus format

2012-02-16 Thread Sylwester Nawrocki
This patch adds media bus pixel code for the interleaved JPEG/YUYV image format used by S5C73MX Samsung cameras. The interleaved image data is transferred on MIPI-CSI2 bus as User Defined Byte-based Data. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park

[RFC/PATCH 6/6] s5p-csis: Add support for non-image data packets capture

2012-02-16 Thread Sylwester Nawrocki
MIPI-CSI has internal memory mapped buffers for the frame embedded (non-image) data. There are two buffers, for even and odd frames which need to be saved after an interrupt is raised. The packet data buffers size is 4 KiB and there is no status register in the hardware where the actual non-image

[RFC/PATCH 5/6] s5p-fimc: Add support for V4L2_PIX_FMT_JPG_YUYV_S5C fourcc

2012-02-16 Thread Sylwester Nawrocki
The V4L2_PIX_FMT_JPG_YUYV_S5C image formats consists of 2 planes, the first containing interleaved JPEG/YUYV data and the second containing meta data describing the interleaving method. The image data is transferred with MIPI-CSI User Defined Byte-Based Data 1 type and is captured to memory by

[RFC/PATCH 4/6] V4L: Add get/set_frame_config subdev callbacks

2012-02-16 Thread Sylwester Nawrocki
Add subdev callbacks for setting up parameters of frame on media bus that are not exposed to user space directly. This is more a stub containing only parameters needed to setup V4L2_MBUS_FMT_VYUY_JPEG_I1_1X8 data transmision and the associated frame embedded data. The @length field of struct

[RFC/PATCH 3/6] V4L: Add g_embedded_data subdev callback

2012-02-16 Thread Sylwester Nawrocki
The g_embedded_data callback allows the host to retrieve frame embedded (meta) data from a certain subdev. This callback can be implemented by an image sensor or a MIPI-CSI receiver, allowing to read embedded frame data from a subdev or just query it for the data size. Signed-off-by: Sylwester

[PATCH] media: video: mx2_camera: Remove ifdef's

2012-02-16 Thread Fabio Estevam
As we are able to build a same kernel that supports both mx27 and mx25, we should remove the ifdef's for CONFIG_MACH_MX27 in the mx2_camera driver. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- drivers/media/video/mx2_camera.c | 22 +++--- 1 files changed, 3

Re: [PATCH 00/35] Add a driver for Terratec H7

2012-02-16 Thread Roger MÃ¥rtensson
Mauro Carvalho Chehab skrev 2012-01-21 17:04: Terratec H7 is a Cypress FX2 device with a mt2063 tuner and a drx-k demod. This series add support for it. It started with a public tree found at: http://linux.terratec.de/files/TERRATEC_H7/20110323_TERRATEC_H7_Linux.tar.gz The driver were

cron job: media_tree daily build: ERRORS

2012-02-16 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 Feb 16 19:00:18 CET 2012 git hash:a3db60bcf7671cc011ab4f848cbc40ff7ab52c1e gcc version: i686-linux-gcc

Re: [PATCH] media: video: mx2_camera: Remove ifdef's

2012-02-16 Thread Guennadi Liakhovetski
Hi On Thu, 16 Feb 2012, Baruch Siach wrote: Hi Fabio, On Thu, Feb 16, 2012 at 04:25:39PM -0200, Fabio Estevam wrote: As we are able to build a same kernel that supports both mx27 and mx25, we should remove the ifdef's for CONFIG_MACH_MX27 in the mx2_camera driver. Signed-off-by:

Re: Division by zero in UVC driver

2012-02-16 Thread Hans Petter Selasky
On Thursday 16 February 2012 07:30:17 Laurent Pinchart wrote: Hi Hans, On Wednesday 15 February 2012 18:27:29 Hans Petter Selasky wrote: Hi, After getting through the compilation issues regarding the uvc_debugfs, I am now facing another problem, which I think is more generic. The

Re: [PATCH] media: video: mx2_camera: Remove ifdef's

2012-02-16 Thread Baruch Siach
Hi Fabio, On Thu, Feb 16, 2012 at 04:25:39PM -0200, Fabio Estevam wrote: As we are able to build a same kernel that supports both mx27 and mx25, we should remove the ifdef's for CONFIG_MACH_MX27 in the mx2_camera driver. Signed-off-by: Fabio Estevam fabio.este...@freescale.com Acked-by:

Re: [RFC/PATCH 1/6] V4L: Add V4L2_MBUS_FMT_VYUY_JPEG_I1_1X8 media bus format

2012-02-16 Thread Sakari Ailus
Hi Sylwester, On Thu, Feb 16, 2012 at 07:23:54PM +0100, Sylwester Nawrocki wrote: This patch adds media bus pixel code for the interleaved JPEG/YUYV image format used by S5C73MX Samsung cameras. The interleaved image data is transferred on MIPI-CSI2 bus as User Defined Byte-based Data.

Re: [RFC/PATCH 4/6] V4L: Add get/set_frame_config subdev callbacks

2012-02-16 Thread Sakari Ailus
Hi Sylwester, Thanks for the patch. Sylwester Nawrocki wrote: Add subdev callbacks for setting up parameters of frame on media bus that are not exposed to user space directly. This is more a stub containing only parameters needed to setup V4L2_MBUS_FMT_VYUY_JPEG_I1_1X8 data transmision and

Re: Business proposal

2012-02-16 Thread Laurent Pinchart
Hi Koen, On Thursday 16 February 2012 23:46:51 Beel, Koen wrote: Hi Laurent, Would it be possible to give us your number on which you can be reached next Monday? I prefer to init the call from our side as we will join the call with two people and we will be in a meeting room... (so not

Kernel Display and Video API Consolidation mini-summit at ELC 2012 - Notes

2012-02-16 Thread Laurent Pinchart
Hello everybody, First of all, I would like to thank all the attendees for their participation in the mini-summit that helped make the meeting a success. Here are my consolidated notes that cover both the Linaro Connect meeting and the ELC meeting. They're also available at

[patch 1/2] [media] s2255drv: cleanup vidioc_enum_fmt_cap()

2012-02-16 Thread Dan Carpenter
f wasn't checked consistently, so static checkers complain. This function is always called with a valid f pointer, so I have removed the check. Also the indenting was messed up. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git a/drivers/media/video/s2255drv.c

[patch 2/2] [media] s2255drv: fix some endian bugs

2012-02-16 Thread Dan Carpenter
I don't have this hardware and I don't know the subsystem very well. So please review this patch carefully. The original code definitely looks buggy though. Sparse complains about some endian bugs where little endian bugs are treated as cpu endian. Signed-off-by: Dan Carpenter