Re: [RFCv2 PATCH 02/21] v4l2-ctrls: add unit string.

2014-01-24 Thread Sakari Ailus
Hi Hans, Thanks for the patchset! On Mon, Jan 20, 2014 at 01:45:55PM +0100, Hans Verkuil wrote: diff --git a/include/media/v4l2-ctrls.h b/include/media/v4l2-ctrls.h index 0b347e8..3998049 100644 --- a/include/media/v4l2-ctrls.h +++ b/include/media/v4l2-ctrls.h @@ -85,6 +85,7 @@ typedef void

Re: [RFCv2 PATCH 02/21] v4l2-ctrls: add unit string.

2014-01-24 Thread Hans Verkuil
On 01/24/2014 11:35 AM, Sakari Ailus wrote: Hi Hans, Thanks for the patchset! On Mon, Jan 20, 2014 at 01:45:55PM +0100, Hans Verkuil wrote: diff --git a/include/media/v4l2-ctrls.h b/include/media/v4l2-ctrls.h index 0b347e8..3998049 100644 --- a/include/media/v4l2-ctrls.h +++

Re: [RFCv2 PATCH 05/21] videodev2.h: add struct v4l2_query_ext_ctrl and VIDIOC_QUERY_EXT_CTRL.

2014-01-24 Thread Sakari Ailus
Hi Hans, On Mon, Jan 20, 2014 at 01:45:58PM +0100, Hans Verkuil wrote: + union { + __u64 val; + __u32 reserved[4]; + } step; While I do not question that step is obviously always a positive value (or zero), using a different type from the value (and min and

Re: [RFCv2 PATCH 05/21] videodev2.h: add struct v4l2_query_ext_ctrl and VIDIOC_QUERY_EXT_CTRL.

2014-01-24 Thread Hans Verkuil
Hi Sakari, On 01/24/2014 12:28 PM, Sakari Ailus wrote: Hi Hans, On Mon, Jan 20, 2014 at 01:45:58PM +0100, Hans Verkuil wrote: +union { +__u64 val; +__u32 reserved[4]; +} step; While I do not question that step is obviously always a positive value (or

Re: [RFCv2 PATCH 09/21] v4l2-ctrls: rewrite copy routines to operate on union v4l2_ctrl_ptr.

2014-01-24 Thread Sakari Ailus
Hi Hans, On Mon, Jan 20, 2014 at 01:46:02PM +0100, Hans Verkuil wrote: diff --git a/drivers/media/v4l2-core/v4l2-ctrls.c b/drivers/media/v4l2-core/v4l2-ctrls.c index 9f97af4..c0507ed 100644 --- a/drivers/media/v4l2-core/v4l2-ctrls.c +++ b/drivers/media/v4l2-core/v4l2-ctrls.c @@ -1266,48

Re: [RFCv2 PATCH 09/21] v4l2-ctrls: rewrite copy routines to operate on union v4l2_ctrl_ptr.

2014-01-24 Thread Hans Verkuil
On 01/24/2014 01:31 PM, Sakari Ailus wrote: Hi Hans, On Mon, Jan 20, 2014 at 01:46:02PM +0100, Hans Verkuil wrote: diff --git a/drivers/media/v4l2-core/v4l2-ctrls.c b/drivers/media/v4l2-core/v4l2-ctrls.c index 9f97af4..c0507ed 100644 --- a/drivers/media/v4l2-core/v4l2-ctrls.c +++

[PATCH/RFC 0/4] media-ctl API changes to prepare for device enumeration library

2014-01-24 Thread Laurent Pinchart
Hello, I've postponed merging media-ctl to v4l-utils for too long due to pending patches that I haven't had time to complete yet. It's time to fix this, so here are the patches for review. The goal of this patch set is to make libmediactl usable by the upcoming media device enumeration library.

[PATCH/RFC 3/4] Expose default devices

2014-01-24 Thread Laurent Pinchart
Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Acked-by: Sakari Ailus sakari.ai...@iki.fi --- src/mediactl-priv.h | 7 +++ src/mediactl.c | 32 src/mediactl.h | 19 +++ 3 files changed, 58 insertions(+) diff --git

[PATCH/RFC 4/4] Add support for emulated devices

2014-01-24 Thread Laurent Pinchart
Emulated media devices are backed by real hardware devices for the functions they provide, but have no kernel media device counterpart. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- src/mediactl.c | 85 +++---

[PATCH/RFC 2/4] Make the media_device structure private

2014-01-24 Thread Laurent Pinchart
Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- src/main.c | 32 --- src/mediactl-priv.h | 45 ++ src/mediactl.c | 29 + src/mediactl.h | 62

[PATCH/RFC 1/4] Split media_device creation and opening

2014-01-24 Thread Laurent Pinchart
Make the media_device refcounted to manage its life time. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- src/main.c | 21 --- src/mediactl.c | 172 - src/mediactl.h | 84 +++- 3 files

Re: qv4l2 and media controller support

2014-01-24 Thread Laurent Pinchart
Hi Hans, On Thursday 23 January 2014 00:13:01 Hans Verkuil wrote: Hi Laurent, First, regarding the inheritance of subdev controls: I found it annoying as well that there is no way to do this. If you have a simple video pipeline, then having to create subdev nodes just to set a few controls

[PATCH 3/4] [media] adv7842: log-status for Audio Video Info frames (AVI)

2014-01-24 Thread Martin Bugge
Clear any pending AVI checksum-errors. To be able to display last received AVI. Cc: Mats Randgaard matra...@cisco.com Cc: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Martin Bugge marbu...@cisco.com --- drivers/media/i2c/adv7842.c | 21 - 1 file changed, 12

[PATCH 4/4] [media] adv7842: platform-data for Hotplug Active (HPA) manual/auto

2014-01-24 Thread Martin Bugge
This apply to HDMI-map register 0x69. So far we have been using HPA manual mode. This way we had control of HPA which could be set after EDID had been programmed. Using a Mac Mini with mini-displayport to DVI-D converter as source caused the adv7842 to lock up and fail to detect any further

[PATCH 1/4] [media] adv7842: adjust gain and offset for DVI-D signals

2014-01-24 Thread Martin Bugge
If the input signal is DVI-D and quantization range is RGB full range, gain and offset must be adjusted to get the right range on the output. Copied and adopted from adv7604. Cc: Mats Randgaard matra...@cisco.com Cc: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Martin Bugge

[PATCH 0/4] [media] adv7842 fixes

2014-01-24 Thread Martin Bugge
This patch series applies a few fixes for adv7842 from Cisco's internal tree. -- 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 2/4] [media] adv7842: pixelclock read-out

2014-01-24 Thread Martin Bugge
Incorrect registers used for pixelclock read-out. Same registers as for adv7604 which actually gave an almost correct read-out, even they are not documented for adv7842. Corrected deep-color pixel-clock correction. Cc: Mats Randgaard matra...@cisco.com Cc: Hans Verkuil hans.verk...@cisco.com

Re: patch to fix a tuning regression for TeVii S471

2014-01-24 Thread Joakim Hernberg
On Wed, 22 Jan 2014 20:04:08 +0100 Joakim Hernberg j...@alchemy.lu wrote: I recently discovered a regression in the S471 driver. When trying to tune to 10818V on Astra 28E2, the system would tune to 11343V instead. After browsing the code it appears that a divider was changed when the tuning

Re: [RFCv2 PATCH 06/21] v4l2-ctrls: add support for complex types.

2014-01-24 Thread Sakari Ailus
Hi Hans, On Mon, Jan 20, 2014 at 01:45:59PM +0100, Hans Verkuil wrote: From: Hans Verkuil hans.verk...@cisco.com This patch implements initial support for complex types. For the most part the changes are fairly obvious (basic support for is_ptr types, the type_is_int function is replaced

Re: [RFCv2 PATCH 08/21] v4l2-ctrls: create type_ops.

2014-01-24 Thread Sakari Ailus
Hi Hans, On Mon, Jan 20, 2014 at 01:46:01PM +0100, Hans Verkuil wrote: From: Hans Verkuil hans.verk...@cisco.com Since complex controls can have non-standard types we need to be able to do type-specific checks etc. In order to make that easy type operations are added. There are four

Re: [RFCv2 PATCH 02/21] v4l2-ctrls: add unit string.

2014-01-24 Thread Sakari Ailus
Hi Hans, On Fri, Jan 24, 2014 at 12:19:30PM +0100, Hans Verkuil wrote: On 01/24/2014 11:35 AM, Sakari Ailus wrote: Hi Hans, Thanks for the patchset! On Mon, Jan 20, 2014 at 01:45:55PM +0100, Hans Verkuil wrote: diff --git a/include/media/v4l2-ctrls.h b/include/media/v4l2-ctrls.h

Re: [PATCH v5 4/4] [media] exynos-scaler: Add DT bindings for SCALER driver

2014-01-24 Thread Tomasz Figa
Hi Shaik, On 09.01.2014 04:28, Shaik Ameer Basha wrote: This patch adds the DT binding documentation for the Exynos5420/5410 based SCALER device driver. Signed-off-by: Shaik Ameer Basha shaik.am...@samsung.com Reviewed-by: Sylwester Nawrocki s.nawro...@samsung.com ---

[PATCH TEST] ts2020.c : correct divider settings

2014-01-24 Thread Malcolm Priestley
On Fri, 2014-01-24 at 16:43 +0100, Joakim Hernberg wrote: On Wed, 22 Jan 2014 20:04:08 +0100 Joakim Hernberg j...@alchemy.lu wrote: I recently discovered a regression in the S471 driver. When trying to tune to 10818V on Astra 28E2, the system would tune to 11343V instead. After browsing

[PATCH] uvc: update uvc_endpoint_max_bpi to handle USB_SPEED_WIRELESS devices

2014-01-24 Thread Thomas Pugliese
Isochronous endpoints on devices with speed == USB_SPEED_WIRELESS can have a max packet size ranging from 1-3584 bytes. Add a case to uvc_endpoint_max_bpi to handle USB_SPEED_WIRELESS. Otherwise endpoints for those devices will fall to the default case which masks off any values 2047. This

[PATCH RFCv1] SDR API - RF tuner gain controls

2014-01-24 Thread Antti Palosaari
Modern silicon RF tuners used nowadays has many controllable gain stages on signal path. Usually, but not always, there is at least 3 gain stages. Also on some cases there could be multiple gain stages within the ones specified here. However, I think that having these three controllable gain

[PATCH RFCv1] v4l: add RF tuner gain controls

2014-01-24 Thread Antti Palosaari
Modern silicon RF tuners used nowadays has many controllable gain stages on signal path. Usually, but not always, there is at least 3 gain stages. Also on some cases there could be multiple gain stages within the ones specified here. However, I think that having these three controllable gain

cron job: media_tree daily build: WARNINGS

2014-01-24 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: Sat Jan 25 04:00:30 CET 2014 git branch: test git hash: 587d1b06e07b4a079453c74ba9edf17d21931049 gcc