Re: [PATCH 1/4] tda8290: Allow disabling I2C gate

2013-01-21 Thread Antti Palosaari
On 01/20/2013 11:22 PM, Ondrej Zary wrote: Allow disabling I2C gate handling by external configuration. This is required by cards that have all devices on a single I2C bus, like AverMedia A706. My personal opinion is that I2C gate control should be disabled setting callback to NULL (same for

Re: [PATCH 1/4] tda8290: Allow disabling I2C gate

2013-01-21 Thread Ondrej Zary
On Monday 21 January 2013, Antti Palosaari wrote: On 01/20/2013 11:22 PM, Ondrej Zary wrote: Allow disabling I2C gate handling by external configuration. This is required by cards that have all devices on a single I2C bus, like AverMedia A706. My personal opinion is that I2C gate control

Re: [PATCH 2/3] v4l2-ctrl: Add helper function for control range update

2013-01-21 Thread Hans Verkuil
Hi Sylwester! On Sat January 19 2013 22:27:21 Sylwester Nawrocki wrote: This patch adds a helper function that allows to modify range, i.e. minimum, maximum, step and default value of a v4l2 control, after the control has been created and initialized. This is helpful in situations when range

Re: V4L2 spec / core questions

2013-01-21 Thread Hans Verkuil
On Sun January 20 2013 22:15:51 Frank Schäfer wrote: Hi Hans, I noticed that there's code in the v4l2 core that enables/disables ioctls and checks some of the parameters depending on the device type. While reading the code an comparing it to the V4L2 API document, some more questions came

Re: [PATCH 1/3] [media] Add header file defining standard image sizes

2013-01-21 Thread Hans Verkuil
On Sat January 19 2013 22:27:20 Sylwester Nawrocki wrote: Add common header file defining standard image sizes, so we can avoid redefining those in each driver. Signed-off-by: Sylwester Nawrocki sylvester.nawro...@gmail.com --- include/media/image-sizes.h | 34

Re: [PATCH 1/4] tda8290: Allow disabling I2C gate

2013-01-21 Thread Antti Palosaari
On 01/21/2013 10:18 AM, Ondrej Zary wrote: On Monday 21 January 2013, Antti Palosaari wrote: On 01/20/2013 11:22 PM, Ondrej Zary wrote: Allow disabling I2C gate handling by external configuration. This is required by cards that have all devices on a single I2C bus, like AverMedia A706. My

Re: [PATCH 3/3] V4L: Add driver for OV9650/52 image sensors

2013-01-21 Thread Hans Verkuil
On Sat January 19 2013 22:27:22 Sylwester Nawrocki wrote: This patch adds V4L2 sub-device driver for OV9650/OV9652 image sensors. The driver exposes following V4L2 controls: - auto/manual exposure, - auto/manual white balance, - auto/manual gain, - brightness, saturation, sharpness, -

Re: [PATCH V2 24/24] v4l2-core/v4l2-common.c: use IS_ENABLED() macro

2013-01-21 Thread Hans Verkuil
On Sun January 20 2013 00:41:31 Peter Senna Tschudin wrote: replace: #if defined(CONFIG_MEDIA_TUNER_TEA5761) || \ defined(CONFIG_MEDIA_TUNER_TEA5761_MODULE) with: #if IS_ENABLED(CONFIG_MEDIA_TUNER_TEA5761) This change was made for: CONFIG_MEDIA_TUNER_TEA5761 Also replaced: #if

Re: [PATCH] noon010p30: Remove unneeded v4l2 control compatibility ops

2013-01-21 Thread Hans Verkuil
On Sat January 19 2013 22:38:13 Sylwester Nawrocki wrote: All host drivers using this subdev driver are already converted to use the control framework so the compatibility ops can be dropped. Signed-off-by: Sylwester Nawrocki sylvester.nawro...@gmail.com Acked-by: Hans Verkuil

Re: [cx231xx] Support for Arm / Omap working at all?

2013-01-21 Thread Hans Verkuil
On Thu January 17 2013 08:31:50 Jan Stumpf wrote: Hi! I'm trying to get an Hauppauge Live Usb 2 video grabber to run on on Omap4 (Gumstix Duovero). I'm using Sakomans omap-3.6 head kernel sources from http://git.sakoman.com/git/gitweb.cgi?p=linux.git;a=summary . The hardware is

Re: [PATCH] media: tvp514x: remove field description

2013-01-21 Thread Hans Verkuil
On Tue January 15 2013 08:55:40 Lad, Prabhakar wrote: This patch removes the field description of fields that no longer exists, along side aligns the field description of fields. Signed-off-by: Lad, Prabhakar prabhakar@ti.com Acked-by: Hans Verkuil hans.verk...@cisco.com Regards,

Re: [PATCH] media: adv7343: accept configuration through platform data

2013-01-21 Thread Hans Verkuil
On Tue January 15 2013 09:00:53 Lad, Prabhakar wrote: The current code was implemented with some default configurations, this default configuration works on board and doesn't work on other. This patch accepts the configuration through platform data and configures the encoder depending on the

Re: [PATCH v2] uvc: Replace memcpy with struct assignment

2013-01-21 Thread Laurent Pinchart
Hi, On Monday 14 January 2013 15:22:55 Ezequiel Garcia wrote: This kind of memcpy() is error-prone. Its replacement with a struct assignment is prefered because it's type-safe and much easier to read. Cc: Laurent Pinchart laurent.pinch...@ideasonboard.com Signed-off-by: Peter Senna Tschudin

Re: [PATCH] omap3isp: Add support for interlaced input data

2013-01-21 Thread Laurent Pinchart
Hi William, On Monday 14 January 2013 14:21:29 William Swanson wrote: On 01/09/2013 02:35 PM, Laurent Pinchart wrote: On Tuesday 08 January 2013 14:49:41 William Swanson wrote: I believe the data is combined in a single buffer, with alternate fields interleaved. Could you please

[PATCH 14/33] media: Convert to devm_ioremap_resource()

2013-01-21 Thread Thierry Reding
Convert all uses of devm_request_and_ioremap() to the newly introduced devm_ioremap_resource() which provides more consistent error handling. devm_ioremap_resource() provides its own error messages so all explicit error messages can be removed from the failure code paths. Signed-off-by: Thierry

Re: [PATCH] omap3isp: Fix histogram regions

2013-01-21 Thread Laurent Pinchart
Hi Johannes, On Friday 11 January 2013 16:00:19 Johannes Schellen wrote: From: Johannes Schellen johannes.schel...@rwth-aachen.de This patch fixes a bug which causes all histogram regions to start in the top left corner of the image. The histogram region coordinates are 16 bit values which

Re: [PATCH] media: adv7343: accept configuration through platform data

2013-01-21 Thread Prabhakar Lad
Hi Hans, Thanks for the review! On Mon, Jan 21, 2013 at 3:31 PM, Hans Verkuil hverk...@xs4all.nl wrote: On Tue January 15 2013 09:00:53 Lad, Prabhakar wrote: The current code was implemented with some default configurations, this default configuration works on board and doesn't work on other.

Re: [PATCH RFC v3 01/15] [media] Add common video interfaces OF bindings documentation

2013-01-21 Thread Hans Verkuil
On Thu January 3 2013 18:03:49 Sylwester Nawrocki wrote: From: Guennadi Liakhovetski g.liakhovet...@gmx.de This patch adds a document describing common OF bindings for video capture, output and video processing devices. It is curently mainly focused on video capture devices, with data busses

[PATCH] uvcvideo: Implement videobuf2 .wait_prepare and .wait_finish operations

2013-01-21 Thread Laurent Pinchart
Those optional operations are used to release and reacquire the queue lock when videobuf2 needs to perform operations that sleep for a long time, such as waiting for a buffer to be complete. Implement them to avoid blocking qbuf or streamoff calls when a dqbuf is in progress. Signed-off-by:

[PATCH v16 RESEND 6/7] drm_modes: add videomode helpers

2013-01-21 Thread Steffen Trumtrar
Add conversion from videomode to drm_display_mode Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de Reviewed-by: Thierry Reding thierry.red...@avionic-design.de Acked-by: Thierry Reding thierry.red...@avionic-design.de Tested-by: Thierry Reding thierry.red...@avionic-design.de Tested-by:

[PATCH v16 RESEND 5/7] fbmon: add of_videomode helpers

2013-01-21 Thread Steffen Trumtrar
Add helper to get fb_videomode from devicetree. Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de Reviewed-by: Thierry Reding thierry.red...@avionic-design.de Acked-by: Thierry Reding thierry.red...@avionic-design.de Tested-by: Thierry Reding thierry.red...@avionic-design.de Tested-by:

[PATCH v16 RESEND 4/7] fbmon: add videomode helpers

2013-01-21 Thread Steffen Trumtrar
Add a function to convert from the generic videomode to a fb_videomode. Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de Reviewed-by: Thierry Reding thierry.red...@avionic-design.de Acked-by: Thierry Reding thierry.red...@avionic-design.de Tested-by: Thierry Reding

[PATCH v16 RESEND 3/7] video: add of helper for display timings/videomode

2013-01-21 Thread Steffen Trumtrar
This adds support for reading display timings from DT into a struct display_timings. The of_display_timing implementation supports multiple subnodes. All children are read into an array, that can be queried. If no native mode is specified, the first subnode will be used. For cases where the

[PATCH v16 RESEND 0/7] of: add display helper

2013-01-21 Thread Steffen Trumtrar
Hi! There was still no maintainer, that commented, ack'd, nack'd, apply'd the series. So, this is just a resend. The patches were tested with: - v15 on Tegra by Thierry - sh-mobile-lcdcfb by Laurent - MX53QSB by Marek - Exynos: smdk5250 by Leela - AM335X

[PATCH v16 RESEND 2/7] video: add display_timing and videomode

2013-01-21 Thread Steffen Trumtrar
Add display_timing structure and the according helper functions. This allows the description of a display via its supported timing parameters. Also, add helper functions to convert from display timings to a generic videomode structure. The struct display_timing specifies all needed parameters

[PATCH v16 RESEND 1/7] viafb: rename display_timing to via_display_timing

2013-01-21 Thread Steffen Trumtrar
The struct display_timing is specific to the via subsystem. The naming leads to collisions with the new struct display_timing, which is supposed to be a shared struct between different subsystems. To clean this up, prepend the existing struct with the subsystem it is specific to. Signed-off-by:

[PATCH v16 RESEND 7/7] drm_modes: add of_videomode helpers

2013-01-21 Thread Steffen Trumtrar
Add helper to get drm_display_mode from devicetree. Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de Reviewed-by: Thierry Reding thierry.red...@avionic-design.de Acked-by: Thierry Reding thierry.red...@avionic-design.de Tested-by: Thierry Reding thierry.red...@avionic-design.de

[GIT PULL FOR v3.9] uvcvideo fixes

2013-01-21 Thread Laurent Pinchart
Hi Mauro, The following changes since commit 3151d14aa6e983aa36d51a80d0477859f9ba12af: [media] media: remove __dev* annotations (2013-01-11 13:03:24 -0200) are available in the git repository at: git://linuxtv.org/pinchartl/uvcvideo.git uvcvideo-next Ezequiel Garcia (1): uvcvideo:

Re: RFC: add parameters to V4L controls

2013-01-21 Thread Laurent Pinchart
Hi Andrzej, On Tuesday 15 January 2013 15:34:47 Andrzej Hajda wrote: On 12.01.2013 23:05, Sakari Ailus wrote: Andrzej Hajda wrote: Hi, I have included this proposition already in the post [PATCH RFC 0/2] V4L: Add auto focus area control and selection but it left unanswered. I repost

[Q] Querying Y/Gb Average Level in a sensor.

2013-01-21 Thread javier Martin
Hi, ov7670 and ov7675 sensors have the possibility of querying the average value of the Y/Cb components of the image reading a register. This could be useful for applications such as calise [1]. This program grabs frames from a video camera, calculates the average brightness and then adjusts

Re: [PATCH RFC v3 02/15] [media] Add a V4L2 OF parser

2013-01-21 Thread Hans Verkuil
Hi Sylwester, Just two comments... On Thu January 3 2013 18:09:22 Sylwester Nawrocki wrote: From: Guennadi Liakhovetski g.liakhovet...@gmx.de Add a V4L2 OF parser, implementing bindings documented in Documentation/devicetree/bindings/media/video-interfaces.txt. Signed-off-by: Guennadi

Re: [PATCH 01/24] use IS_ENABLED() macro

2013-01-21 Thread Hans de Goede
Hi, Thanks for the patches I'll pick up 5 - 21 and add them to my tree for Mauro. Regards, Hans On 01/19/2013 05:33 PM, Peter Senna Tschudin wrote: replace: #if defined(CONFIG_VIDEO_CX88_DVB) || \ defined(CONFIG_VIDEO_CX88_DVB_MODULE) with: #if IS_ENABLED(CONFIG_VIDEO_CX88_DVB)

Re: [PATCH 01/24] use IS_ENABLED() macro

2013-01-21 Thread Peter Senna Tschudin
On Mon, Jan 21, 2013 at 10:47 AM, Hans de Goede hdego...@redhat.com wrote: Hi, Thanks for the patches I'll pick up 5 - 21 and add them to my tree for Mauro. I have sent V2 of this patches with another subject and with fixed commit message for two patches. Regards, Hans On 01/19/2013

Re: [PATCH 0/2] OMAP3 ISP: Simplify clock usage

2013-01-21 Thread Laurent Pinchart
Hi Mike, On Monday 14 January 2013 17:10:15 Mike Turquette wrote: Quoting Laurent Pinchart (2013-01-08 05:43:52) Hello, Now that the OMAP3 supports the common clock framework, clock rate back-propagation is available for the ISP clocks. Instead of setting the cam_mclk parent clock

Re: Patchwork / Bugzilla update

2013-01-21 Thread Mauro Carvalho Chehab
Em Sun, 20 Jan 2013 14:07:07 +0100 Frank Schäfer fschaefer@googlemail.com escreveu: Hi Mauro, the patches 16225, 16231, 16232 at patchwork are superseeded: pwclient update -s 'superseded' 16225 pwclient update -s 'superseded' 16231 pwclient update -s 'superseded' 16232 Updated.

RE: [PATCH 3/3] v4l: Set proper timestamp type in selected drivers which use videobuf2

2013-01-21 Thread Kamil Debski
Hi, From: Sakari Ailus [mailto:sakari.ai...@iki.fi] Sent: Saturday, January 19, 2013 6:43 PM Hi Kamil, Thanks for the patch. On Mon, Jan 14, 2013 at 10:36:04AM +0100, Kamil Debski wrote: Set proper timestamp type in drivers that I am sure that use either MONOTONIC or COPY timestamps.

dvb-usb-it913x dissapeared kernel 3.7.2

2013-01-21 Thread Mike Martin
After updating the kernel on Fedora 18 module dvb-usb-it913x seems to have dissapeared. This has meant my dvb stick ( ID 1b80:e409 Afatech IT9137FN Dual DVB-T [KWorld UB499-2T]) no longer works Is this a Redhat only thing or is it upstream -- To unsubscribe from this list: send the line

[PATCH 00/15] ARM build regressions in v3.8

2013-01-21 Thread Arnd Bergmann
I know this comes late, but we have a number of broken configurations in ARM in v3.8 that were still building in v3.7, and I'd like to get them all fixed in the final 3.8 release. It would be nice if the respective maintainers could have a look at these patches and apply them directly when they