Re: Support for UVC 1.5 / H.264 SVC (to be used with Logitech C930e)

2015-06-12 Thread Laurent Pinchart
Hi Damiano, On Thursday 11 June 2015 14:28:55 Damiano Albani wrote: Hello, I've recently got hold of a Logitech C930e webcam. AFAIK that's the only consumer webcam that support UVC 1.5 and H.264/SVC. Unfortunately, compared to its predecessor the C920, it is not very well supported on

[GIT PULL FOR v4.2] Various fixes

2015-06-12 Thread Hans Verkuil
The following changes since commit e42c8c6eb456f8978de417ea349eef676ef4385c: [media] au0828: move dev-boards atribuition to happen earlier (2015-06-10 12:39:35 -0300) are available in the git repository at: git://linuxtv.org/hverkuil/media_tree.git for-v4.2n for you to fetch changes up to

Re: [PATCH 10/15] media: rcar_vin: Use correct pad number in try_fmt

2015-06-12 Thread Hans Verkuil
On 06/03/2015 03:59 PM, William Towle wrote: Fix rcar_vin_try_fmt to use the correct pad number when calling the subdev set_fmt. Previously pad number 0 was always used, resulting in EINVAL if the subdev cares about the pad number (e.g. ADV7612). Signed-off-by: William Towle

Re: [PATCH 2/9] [media] media: omap_vout: Convert omap_vout_uservirt_to_phys() to use get_vaddr_pfns()

2015-06-12 Thread Tomi Valkeinen
On 12/06/15 12:26, Laurent Pinchart wrote: Hi Tomi, On Friday 12 June 2015 12:21:13 Tomi Valkeinen wrote: On 11/06/15 07:21, Laurent Pinchart wrote: On Wednesday 10 June 2015 06:20:45 Mauro Carvalho Chehab wrote: From: Jan Kara j...@suse.cz Convert omap_vout_uservirt_to_phys() to use

Re: [PATCH 02/15] media: soc_camera: rcar_vin: Add BT.709 24-bit RGB888 input support

2015-06-12 Thread Hans Verkuil
On 06/03/2015 03:59 PM, William Towle wrote: This adds V4L2_MBUS_FMT_RGB888_1X24 input format support which is used by the ADV7612 chip. Signed-off-by: Koji Matsuoka koji.matsuoka...@renesas.com Signed-off-by: Simon Horman horms+rene...@verge.net.au Signed-off-by: Yoshihiro Kaneko

Re: [PATCH 11/15] media: soc_camera: soc_scale_crop: Use correct pad number in try_fmt

2015-06-12 Thread Hans Verkuil
On 06/03/2015 03:59 PM, William Towle wrote: From: Rob Taylor rob.tay...@codethink.co.uk Fix calls to subdev try_fmt to use correct pad. Fixes failures with subdevs that care about having the right pad number set. Signed-off-by: William Towle william.to...@codethink.co.uk Reviewed-by: Rob

Re: [PATCH 03/15] media: adv7180: add of match table

2015-06-12 Thread Hans Verkuil
On 06/03/2015 03:59 PM, William Towle wrote: From: Ben Dooks ben.do...@codethink.co.uk Add a proper of match id for use when the device is being bound via device tree, to avoid having to use the i2c old-style binding of the device. Signed-off-by: Ben Dooks ben.do...@codethink.co.uk

Re: [PATCH 1/1] omap3isp: Fix sub-device power management code

2015-06-12 Thread Laurent Pinchart
Hi Sakari, On Thursday 11 June 2015 00:38:11 Sakari Ailus wrote: On Wed, Jun 10, 2015 at 03:52:50AM +0300, Laurent Pinchart wrote: On Friday 29 May 2015 02:17:47 Sakari Ailus wrote: The power management code was reworked a little due to interface changes in the MC. Due to those changes

[PATCH] media: i2c/adp1653: set enable gpio to output

2015-06-12 Thread Uwe Kleine-König
Without setting the direction of a gpio to output a call to gpiod_set_value doesn't have a defined outcome. Furthermore this is one caller less that stops us making the flags argument to gpiod_get*() mandatory. Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de --- Hello, this patch

Re: [PATCH 2/2] genalloc: rename of_get_named_gen_pool() to of_gen_pool_get()

2015-06-12 Thread Vinod Koul
On Thu, Jun 11, 2015 at 04:28:32PM +0300, Vladimir Zapolskiy wrote: To be consistent with other kernel interface namings, rename of_get_named_gen_pool() to of_gen_pool_get(). In the original function name _named suffix references to a device tree property, which contains a phandle to a device

Re: [RFC PATCH 1/3] modify the vb2_buffer structure for common video buffer and make struct vb2_v4l2_buffer

2015-06-12 Thread Hans Verkuil
Hi Junghak, On 06/08/2015 03:35 PM, Junghak Sung wrote: Make the struct vb2_buffer to common buffer by removing v4l2-specific members. And common video buffer is embedded into v4l2-specific video buffer like: struct vb2_v4l2_buffer { struct vb2_buffervb2; struct v4l2_buffer

Re: [PATCH 04/15] media: adv7604: chip info and formats for ADV7612

2015-06-12 Thread Hans Verkuil
Hi William, Two comments, see below. On 06/03/2015 03:59 PM, William Towle wrote: Add support for the ADV7612 chip as implemented on Renesas' Lager board to adv7604.c, including lists for formats/colourspace/timing selection and an IRQ handler. Signed-off-by: William Towle

Re: [PATCH 05/15] media: adv7604: document support for ADV7612 dual HDMI input decoder

2015-06-12 Thread Hans Verkuil
On 06/03/2015 03:59 PM, William Towle wrote: From: Ian Molton ian.mol...@codethink.co.uk This documentation accompanies the patch adding support for the ADV7612 dual HDMI decoder / repeater chip. Signed-off-by: Ian Molton ian.mol...@codethink.co.uk Reviewed-by: William Towle

Re: [PATCH 06/15] media: adv7604: ability to read default input port from DT

2015-06-12 Thread Hans Verkuil
On 06/03/2015 03:59 PM, William Towle wrote: From: Ian Molton ian.mol...@codethink.co.uk Adds support to the adv7604 driver for specifying the default input port in the Device tree. If no value is provided, the driver will be unable to select an input without help from userspace.

Re: [PATCH v1.3 1/5] v4l: async: Add a pointer to of_node to struct v4l2_subdev, match it

2015-06-12 Thread Sakari Ailus
On Thu, Jun 11, 2015 at 10:27:30PM +0300, Laurent Pinchart wrote: Hi Sakari, Thank you for the patch. On Thursday 11 June 2015 22:18:01 Sakari Ailus wrote: V4L2 async sub-devices are currently matched (OF case) based on the struct device_node pointer in struct device. LED devices may

Re: [PATCH 15/15] media: rcar_vin: Reject videobufs that are too small for current format

2015-06-12 Thread Hans Verkuil
On 06/03/2015 04:00 PM, William Towle wrote: From: Rob Taylor rob.tay...@codethink.co.uk In videobuf_setup reject buffers that are too small for the configured format. Fixes v4l2-complience issue. Signed-off-by: Rob Taylor rob.tay...@codethink.co.uk Reviewed-by: William Towle

Re: [PATCH 2/9] [media] media: omap_vout: Convert omap_vout_uservirt_to_phys() to use get_vaddr_pfns()

2015-06-12 Thread Tomi Valkeinen
On 11/06/15 07:21, Laurent Pinchart wrote: Hello, (CC'ing Tomi Valkeinen) On Wednesday 10 June 2015 06:20:45 Mauro Carvalho Chehab wrote: From: Jan Kara j...@suse.cz Convert omap_vout_uservirt_to_phys() to use get_vaddr_pfns() instead of hand made mapping of virtual address to

Re: [PATCH 14/15] media: soc_camera: fill in bus_info field

2015-06-12 Thread Hans Verkuil
On 06/03/2015 04:00 PM, William Towle wrote: From: Rob Taylor rob.tay...@codethink.co.uk Adapt soc_camera_querycap() so that cap-bus_info is populated in addition to cap-driver. Signed-off-by: Rob Taylor rob.tay...@codethink.co.uk Reviewed-by: William Towle william.to...@codethink.co.uk

Re: [PATCH] media/v4l2-ctrls: Code cleanout validate_new()

2015-06-12 Thread Hans Verkuil
On 06/10/2015 03:38 PM, Ricardo Ribalda Delgado wrote: We can simplify the code removing the if(). v4l2_ctr_new sets ctrls-elems to 1 when !ctrl-is_ptr. Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com Acked-by: Hans Verkuil hans.verk...@cisco.com Thanks! Hans

[PATCH] v4l2-dv-timings: log if the timing is reduced blanking V2

2015-06-12 Thread Hans Verkuil
The last CVT standard introduced reduced blanking version 2 which is signaled by a vsync of 8. Log this. Signed-off-by: Hans Verkuil hans.verk...@cisco.com diff --git a/drivers/media/v4l2-core/v4l2-dv-timings.c b/drivers/media/v4l2-core/v4l2-dv-timings.c index eefad4f..5d9e896 100644 ---

Re: [Xen-devel] RIP MTRR - status update for upcoming v4.2

2015-06-12 Thread Jan Beulich
On 12.06.15 at 01:23, toshi.k...@hp.com wrote: There are two usages on MTRRs: 1) MTRR entries set by firmware 2) MTRR entries set by OS drivers We can obsolete 2), but we have no control over 1). As UEFI firmwares also set this up, this usage will continue to stay. So, we should not

Re: [RFC] media: New ioct VIDIOC_INITIAL_EXT_CTRLS

2015-06-12 Thread Hans Verkuil
Hi Ricardo! On 06/10/2015 01:17 PM, Ricardo Ribalda Delgado wrote: Integer controls provide a way to get their default/initial value, but any other control (p_u32, p_u8.) provide no other way to get the initial value than unloading the module and loading it back. *What is the actual

Re: [PATCH 09/15] media: soc_camera pad-aware driver initialisation

2015-06-12 Thread Hans Verkuil
On 06/03/2015 03:59 PM, William Towle wrote: Add detection of source pad number for drivers aware of the media controller API, so that the combination of soc_camera and rcar_vin can create device nodes to support modern drivers such as adv7604.c (for HDMI on Lager) and the converted adv7180.c

Re: [PATCH 2/9] [media] media: omap_vout: Convert omap_vout_uservirt_to_phys() to use get_vaddr_pfns()

2015-06-12 Thread Laurent Pinchart
Hi Tomi, On Friday 12 June 2015 12:21:13 Tomi Valkeinen wrote: On 11/06/15 07:21, Laurent Pinchart wrote: On Wednesday 10 June 2015 06:20:45 Mauro Carvalho Chehab wrote: From: Jan Kara j...@suse.cz Convert omap_vout_uservirt_to_phys() to use get_vaddr_pfns() instead of hand made

[PATCH] v4l2-dv-timings: print refresh rate with better precision

2015-06-12 Thread Prashant Laddha
In many cases, refresh rate is not exact integer. In such cases, fraction was lost and it used to print, say, 59 in case of 59.94. Now, capturing the fraction up to 2 decimal places. Cc: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Prashant Laddha prlad...@cisco.com ---

[RFC v2 02/27] media/v4l2-core: add new ioctl VIDIOC_G_DEF_EXT_CTRLS

2015-06-12 Thread Ricardo Ribalda Delgado
This ioctl returns the default value of one or more extended controls. It has the same interface as VIDIOC_EXT_CTRLS. It is needed due to the fact that QUERYCTRL was not enough to provide the initial value of pointer type controls. Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com

[RFC v2 00/27] New ioct VIDIOC_G_DEF_EXT_CTRLS

2015-06-12 Thread Ricardo Ribalda Delgado
Integer controls provide a way to get their default/initial value, but any other control (p_u32, p_u8.) provide no other way to get the initial value than unloading the module and loading it back. *What is the actual problem? I have a custom control with WIDTH integer values. Every value

[RFC v2 26/27] Docbook: media: new ioctl VIDIOC_G_DEF_EXT_CTRLS

2015-06-12 Thread Ricardo Ribalda Delgado
Add documentation for new ioctl. Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- Documentation/DocBook/media/v4l/v4l2.xml | 8 Documentation/DocBook/media/v4l/vidioc-g-ext-ctrls.xml | 13 + Documentation/video4linux/v4l2-controls.txt

[RFC v2 13/27] media/i2c/saa7115: Implement g_def_ext_ctrls core_op

2015-06-12 Thread Ricardo Ribalda Delgado
Via control framework. Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/media/i2c/saa7115.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/i2c/saa7115.c b/drivers/media/i2c/saa7115.c index 0eae5f4471e2..c227dc11b136 100644 ---

[RFC v2 16/27] media/i2c/tda7432: Implement g_def_ext_ctrls core_op

2015-06-12 Thread Ricardo Ribalda Delgado
Via control framework. Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/media/i2c/tda7432.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/i2c/tda7432.c b/drivers/media/i2c/tda7432.c index cf93021a6500..efff7d48ce9e 100644 ---

[RFC v2 22/27] media/i2c/wm8739: Implement g_def_ext_ctrls core_op

2015-06-12 Thread Ricardo Ribalda Delgado
Via control framework. Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/media/i2c/wm8739.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/i2c/wm8739.c b/drivers/media/i2c/wm8739.c index 3be73f6a40e9..003c07bee16f 100644 ---

[RFC v2 14/27] media/i2c/saa717x: Implement g_def_ext_ctrls core_op

2015-06-12 Thread Ricardo Ribalda Delgado
Via control framework. Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/media/i2c/saa717x.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/i2c/saa717x.c b/drivers/media/i2c/saa717x.c index 7d517361e419..e1f94e0131e2 100644 ---

[RFC v2 04/27] v4l2-subdev: Add g_def_ext_ctrls to core_ops

2015-06-12 Thread Ricardo Ribalda Delgado
This function returns the default value of an extended control. Provides sub-devices with the same functionality as ioctl VIDIOC_G_DEF_EXT_CTRLS. Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/media/v4l2-core/v4l2-ctrls.c | 7 +++ include/media/v4l2-ctrls.h

[RFC v2 09/27] media/i2c/cs53l32a: Implement g_def_ext_ctrls core_op

2015-06-12 Thread Ricardo Ribalda Delgado
Via control framework. Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/media/i2c/cs53l32a.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/i2c/cs53l32a.c b/drivers/media/i2c/cs53l32a.c index 27400c16ef9a..9358350278cc 100644 ---

[RFC v2 06/27] media/i2c/adv7393: Implement g_def_ext_ctrls core_op

2015-06-12 Thread Ricardo Ribalda Delgado
Via control framework. Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/media/i2c/adv7393.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/i2c/adv7393.c b/drivers/media/i2c/adv7393.c index 558f19154eb9..e59e29335c83 100644 ---

[RFC v2 05/27] media/i2c/adv7343: Implement g_def_ext_ctrls core_op

2015-06-12 Thread Ricardo Ribalda Delgado
Via control framework Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/media/i2c/adv7343.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/i2c/adv7343.c b/drivers/media/i2c/adv7343.c index 7c50833e7d17..9753fb545f17 100644 ---

[RFC v2 24/27] media/pci/ivtv/ivtv-gpio: Implement g_def_ext_ctrls core_op

2015-06-12 Thread Ricardo Ribalda Delgado
Via control framework. Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/media/pci/ivtv/ivtv-gpio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/pci/ivtv/ivtv-gpio.c b/drivers/media/pci/ivtv/ivtv-gpio.c index af52def700cc..d16f210670e2 100644 ---

[RFC v2 01/27] media/v4l2-core: Add argument def_value to g_ext_ctrl

2015-06-12 Thread Ricardo Ribalda Delgado
If def_value is set, the default value for the controls is returned. Helper function def_to_user is also added with the same interface as cur_to_user or new_to_user. Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/media/platform/omap3isp/ispvideo.c | 2 +-

[RFC v2 20/27] media/i2c/tvp7002: Implement g_def_ext_ctrls core_op

2015-06-12 Thread Ricardo Ribalda Delgado
Via control framework. Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/media/i2c/tvp7002.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/i2c/tvp7002.c b/drivers/media/i2c/tvp7002.c index 05077cffd235..006170ebe3da 100644 ---

[RFC v2 25/27] media/radio/saa7706h: Implement g_def_ext_ctrls core_op

2015-06-12 Thread Ricardo Ribalda Delgado
Via control framework. Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/media/radio/saa7706h.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/radio/saa7706h.c b/drivers/media/radio/saa7706h.c index ec805b09c608..cac1496da7e2 100644 ---

[RFC v2 03/27] videodev2.h: Fix typo in comment

2015-06-12 Thread Ricardo Ribalda Delgado
Referenced file has moved Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- include/uapi/linux/videodev2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h index b9468a3b833e..b059237f0214

[RFC v2 11/27] media/i2c/msp3400-driver: Implement g_def_ext_ctrls core_op

2015-06-12 Thread Ricardo Ribalda Delgado
Via control framework. Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/media/i2c/msp3400-driver.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/i2c/msp3400-driver.c b/drivers/media/i2c/msp3400-driver.c index dcc68ec71732..10837564af8e 100644 ---

Re: [PATCH 02/13] dmaengine: Introduce dma_request_slave_channel_compat_reason()

2015-06-12 Thread Vinod Koul
On Thu, Jun 04, 2015 at 06:58:06PM +0300, Peter Ujfalusi wrote: Vinod, On 06/02/2015 03:55 PM, Vinod Koul wrote: On Fri, May 29, 2015 at 05:32:50PM +0300, Peter Ujfalusi wrote: On 05/29/2015 01:18 PM, Vinod Koul wrote: On Fri, May 29, 2015 at 11:42:27AM +0200, Geert Uytterhoeven wrote:

[RFC v2 19/27] media/i2c/tvp514x: Implement g_def_ext_ctrls core_op

2015-06-12 Thread Ricardo Ribalda Delgado
Via control framework. Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/media/i2c/tvp514x.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/i2c/tvp514x.c b/drivers/media/i2c/tvp514x.c index 24e47279e30c..d69708aac627 100644 ---

[RFC v2 18/27] media/i2c/tvaudio: Implement g_def_ext_ctrls core_op

2015-06-12 Thread Ricardo Ribalda Delgado
Via control framework. Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/media/i2c/tvaudio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/i2c/tvaudio.c b/drivers/media/i2c/tvaudio.c index 0c50e5285cf6..05972a5d2c68 100644 ---

[RFC v2 15/27] media/i2c/sr030pc30: Implement g_def_ext_ctrls core_op

2015-06-12 Thread Ricardo Ribalda Delgado
Via control framework. Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/media/i2c/sr030pc30.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/i2c/sr030pc30.c b/drivers/media/i2c/sr030pc30.c index b62b6ddc4356..23836801218a 100644 ---

[RFC v2 17/27] media/i2c/tlv320aic23b: Implement g_def_ext_ctrls core_op

2015-06-12 Thread Ricardo Ribalda Delgado
Via control framework. Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/media/i2c/tlv320aic23b.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/i2c/tlv320aic23b.c b/drivers/media/i2c/tlv320aic23b.c index ef87f7b09ea2..4e279de8e194 100644 ---

[RFC v2 27/27] Documentation: media: Fix code sample

2015-06-12 Thread Ricardo Ribalda Delgado
Add newly created core op to the example. Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- Documentation/video4linux/v4l2-controls.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/video4linux/v4l2-controls.txt

[RFC v2 10/27] media/i2c/cx25840/cx25840-core: Implement g_def_ext_ctrls core_op

2015-06-12 Thread Ricardo Ribalda Delgado
Via control framework. Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/media/i2c/cx25840/cx25840-core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/i2c/cx25840/cx25840-core.c b/drivers/media/i2c/cx25840/cx25840-core.c index

[RFC v2 21/27] media/i2c/vpx3220: Implement g_def_ext_ctrls core_op

2015-06-12 Thread Ricardo Ribalda Delgado
Via control framework. Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/media/i2c/vpx3220.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/i2c/vpx3220.c b/drivers/media/i2c/vpx3220.c index 016e766e72ba..60d635250b19 100644 ---

[RFC v2 07/27] media/i2c/bt819: Implement g_def_ext_ctrls core_op

2015-06-12 Thread Ricardo Ribalda Delgado
Via control framework. Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/media/i2c/bt819.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/i2c/bt819.c b/drivers/media/i2c/bt819.c index 76b334a6a56d..b3e9ac3616b5 100644 --- a/drivers/media/i2c/bt819.c

[RFC v2 23/27] media/i2c/wm8775: Implement g_def_ext_ctrls core_op

2015-06-12 Thread Ricardo Ribalda Delgado
Via control framework. Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/media/i2c/wm8775.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/i2c/wm8775.c b/drivers/media/i2c/wm8775.c index bee7946faa7c..45d4873aca74 100644 ---

[RFC v2 08/27] media/i2c/cs5345: Implement g_def_ext_ctrls core_op

2015-06-12 Thread Ricardo Ribalda Delgado
Via control framework. Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/media/i2c/cs5345.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/i2c/cs5345.c b/drivers/media/i2c/cs5345.c index 34b76a9e7515..ad3c89585909 100644 ---

[RFC v2 12/27] media/i2c/saa7110: Implement g_def_ext_ctrls core_op

2015-06-12 Thread Ricardo Ribalda Delgado
Via control framework. Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/media/i2c/saa7110.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/i2c/saa7110.c b/drivers/media/i2c/saa7110.c index 99689ee57d7e..964cc2cf1508 100644 ---

[PATCH] Kconfig: disable Media Controller for DVB

2015-06-12 Thread Mauro Carvalho Chehab
Since when we start discussions about the usage Media Controller for complex hardware, one thing become clear: the way it is, MC fails to map anything more complex than a webcam. The point is that MC has entities named as devnodes, but the only devnode used (before the DVB patches) is

[PATCH v2] Kconfig: disable Media Controller for DVB

2015-06-12 Thread Mauro Carvalho Chehab
Since when we start discussions about the usage Media Controller for complex hardware, one thing become clear: the way it is, MC fails to map anything more complex than a webcam. The point is that MC has entities named as devnodes, but the only devnode used (before the DVB patches) is

Re: [PATCH] media: i2c/adp1653: set enable gpio to output

2015-06-12 Thread Sakari Ailus
Hallo Uwe, Thanks for the patch! On Fri, Jun 12, 2015 at 09:47:28AM +0200, Uwe Kleine-König wrote: Without setting the direction of a gpio to output a call to gpiod_set_value doesn't have a defined outcome. Furthermore this is one caller less that stops us making the flags argument to

Re: media_tree log has not been updated for about a month

2015-06-12 Thread Mauro Carvalho Chehab
Em 12 de junho de 2015 15:20:56 BRT, Tycho Lürsen tycholur...@gmail.com escreveu: Hi all, I don't know who is responsible for a functioning web frontend of your development tree in git. The thing is: http://git.linuxtv.org/cgit.cgi/media_tree.git/log/ has not been updated for about a month. It

Re: AverMedia HD Duet (White Box) A188WB drivers

2015-06-12 Thread Manu Abraham
Hi David, The saa7160 chipset is supported by the saa716x driver. I wrote a driver for it, which is over here. http://git.linuxtv.org/cgit.cgi/manu/saa716x_new.git I do have the A188 card and documentation also with me, thanks to Avermedia. The card is not yet supported in the above tree, so

AverMedia HD Duet (White Box) A188WB drivers

2015-06-12 Thread David Nelson
I have the AverMedia HD Duet (White Box) A188WB. Which has been working great for several years in Windows 7 Media Center. I just tried installing Mythbuntu but it does not appear to be recognized. I am a bit of a newbie but I managed to find some info about it. Does anyone know of a driver for

Re: [Xen-devel] RIP MTRR - status update for upcoming v4.2

2015-06-12 Thread James Bottomley
On Fri, 2015-06-12 at 16:15 -0700, Andy Lutomirski wrote: On Jun 12, 2015 12:59 AM, Jan Beulich jbeul...@suse.com wrote: On 12.06.15 at 01:23, toshi.k...@hp.com wrote: There are two usages on MTRRs: 1) MTRR entries set by firmware 2) MTRR entries set by OS drivers We can

drivers/media/dvb-frontends/rtl2832_sdr.c:1435:3-8: No need to set .owner here. The core will do it.

2015-06-12 Thread kbuild test robot
tree: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: b85dfd30cb37318587018ee430c2c1cfabf3dabc commit: 63bdab5d31b987c5ccb81c3c6662016d07cbb5b7 [media] rtl2832_sdr: convert to platform driver date: 4 months ago coccinelle warnings: (new ones prefixed by )

[PATCH v1.1 1/1] omap3isp: Fix sub-device power management code

2015-06-12 Thread Sakari Ailus
Commit 813f5c0ac5cc (media: Change media device link_notify behaviour) modified the media controller link setup notification API and updated the OMAP3 ISP driver accordingly. As a side effect it introduced a bug by turning power on after setting the link instead of before. This results in

Re: [PATCH 1/1] omap3isp: Fix sub-device power management code

2015-06-12 Thread Sakari Ailus
Hi Laurent, On Fri, Jun 12, 2015 at 10:24:28AM +0300, Laurent Pinchart wrote: Hi Sakari, On Thursday 11 June 2015 00:38:11 Sakari Ailus wrote: On Wed, Jun 10, 2015 at 03:52:50AM +0300, Laurent Pinchart wrote: On Friday 29 May 2015 02:17:47 Sakari Ailus wrote: The power management

Re: [Xen-devel] RIP MTRR - status update for upcoming v4.2

2015-06-12 Thread Andy Lutomirski
On Jun 12, 2015 12:59 AM, Jan Beulich jbeul...@suse.com wrote: On 12.06.15 at 01:23, toshi.k...@hp.com wrote: There are two usages on MTRRs: 1) MTRR entries set by firmware 2) MTRR entries set by OS drivers We can obsolete 2), but we have no control over 1). As UEFI firmwares

cron job: media_tree daily build: WARNINGS

2015-06-12 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 Jun 13 04:00:17 CEST 2015 git branch: test git hash: e42c8c6eb456f8978de417ea349eef676ef4385c gcc

[PATCH 04/12] media/i2c/saa717x: Remove compat control ops

2015-06-12 Thread Ricardo Ribalda Delgado
They are no longer used in old non-control-framework bridge drivers. Reported-by: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/media/i2c/saa717x.c | 7 --- 1 file changed, 7 deletions(-) diff --git

[PATCH 11/12] pci/ivtv/ivtv-gpio: Remove compat control ops

2015-06-12 Thread Ricardo Ribalda Delgado
They are no longer used in old non-control-framework bridge drivers. Reported-by: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/media/pci/ivtv/ivtv-gpio.c | 7 --- 1 file changed, 7 deletions(-) diff --git

[PATCH 00/12] media/subdevices: Remove unused compat control ops

2015-06-12 Thread Ricardo Ribalda Delgado
Remove no longer used compat control ops, as they are not used in their bridge drivers. Working tree can be found at https://github.com/ribalda/linux/tree/compat_control_clean Ricardo Ribalda Delgado (12): media/i2c/adv7343: Remove compat control ops media/i2c/adv7393: Remove compat control

[PATCH 08/12] media/i2c/tvp514x: Remove compat control ops

2015-06-12 Thread Ricardo Ribalda Delgado
They are no longer used in old non-control-framework bridge drivers. Reported-by: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/media/i2c/tvp514x.c | 11 --- 1 file changed, 11 deletions(-) diff --git

[PATCH 02/12] media/i2c/adv7393: Remove compat control ops

2015-06-12 Thread Ricardo Ribalda Delgado
They are no longer used in old non-control-framework bridge drivers. Reported-by: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/media/i2c/adv7393.c | 7 --- 1 file changed, 7 deletions(-) diff --git

[PATCH 07/12] media/i2c/tlv320aic23: Remove compat control ops

2015-06-12 Thread Ricardo Ribalda Delgado
They are no longer used in old non-control-framework bridge drivers. Reported-by: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/media/i2c/tlv320aic23b.c | 7 --- 1 file changed, 7 deletions(-) diff --git

[PATCH 06/12] media/i2c/tda7432: Remove compat control ops

2015-06-12 Thread Ricardo Ribalda Delgado
They are no longer used in old non-control-framework bridge drivers. Reported-by: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/media/i2c/tda7432.c | 7 --- 1 file changed, 7 deletions(-) diff --git

[PATCH 01/12] media/i2c/adv7343: Remove compat control ops

2015-06-12 Thread Ricardo Ribalda Delgado
They are no longer used in old non-control-framework bridge drivers. Reported-by: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/media/i2c/adv7343.c | 7 --- 1 file changed, 7 deletions(-) diff --git

[PATCH 09/12] media/i2c/tvp7002: Remove compat control ops

2015-06-12 Thread Ricardo Ribalda Delgado
They are no longer used in old non-control-framework bridge drivers. Reported-by: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/media/i2c/tvp7002.c | 7 --- 1 file changed, 7 deletions(-) diff --git

[PATCH 10/12] i2c/wm8739: Remove compat control ops

2015-06-12 Thread Ricardo Ribalda Delgado
They are no longer used in old non-control-framework bridge drivers. Reported-by: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/media/i2c/wm8739.c | 7 --- 1 file changed, 7 deletions(-) diff --git

[PATCH 12/12] media/radio/saa7706h: Remove compat control ops

2015-06-12 Thread Ricardo Ribalda Delgado
They are no longer used in old non-control-framework bridge drivers. Reported-by: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/media/radio/saa7706h.c | 16 ++-- 1 file changed, 2 insertions(+), 14 deletions(-) diff

[PATCH 05/12] media/i2c/sr030pc30: Remove compat control ops

2015-06-12 Thread Ricardo Ribalda Delgado
They are no longer used in old non-control-framework bridge drivers. Reported-by: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/media/i2c/sr030pc30.c | 7 --- 1 file changed, 7 deletions(-) diff --git

[PATCH 03/12] media/i2c/cs5345: Remove compat control ops

2015-06-12 Thread Ricardo Ribalda Delgado
They are no longer used in old non-control-framework bridge drivers. Reported-by: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/media/i2c/cs5345.c | 7 --- 1 file changed, 7 deletions(-) diff --git

Re: [RFC v2 00/27] New ioct VIDIOC_G_DEF_EXT_CTRLS

2015-06-12 Thread Hans Verkuil
On 06/12/2015 03:11 PM, Ricardo Ribalda Delgado wrote: Integer controls provide a way to get their default/initial value, but any other control (p_u32, p_u8.) provide no other way to get the initial value than unloading the module and loading it back. *What is the actual problem? I have

Re: [RFC v2 00/27] New ioct VIDIOC_G_DEF_EXT_CTRLS

2015-06-12 Thread Ricardo Ribalda Delgado
Hello Hans On Fri, Jun 12, 2015 at 3:41 PM, Hans Verkuil hverk...@xs4all.nl wrote: I did a quick analysis and for the following i2c modules you can just remove the compat control ops altogether since they are no longer used in old non-control-framework bridge drivers: saa7706

Re: [RFC PATCH 1/3] modify the vb2_buffer structure for common video buffer and make struct vb2_v4l2_buffer

2015-06-12 Thread Hans Verkuil
On 06/12/2015 11:58 AM, Hans Verkuil wrote: Hi Junghak, On 06/08/2015 03:35 PM, Junghak Sung wrote: Make the struct vb2_buffer to common buffer by removing v4l2-specific members. And common video buffer is embedded into v4l2-specific video buffer like: struct vb2_v4l2_buffer { struct

Re: [RFC PATCH 0/3] Refactoring Videobuf2 for common use

2015-06-12 Thread Hans Verkuil
Hi Junghak, On 06/08/2015 03:35 PM, Junghak Sung wrote: Hello everybody, This patch series refactories exsiting Videobuf2, so that not only V4L2 but also other frameworks can use it to manage buffer and utilize queue. I would separate existing Videobuf2-core framework into two parts -

Re: [PATCH] Kconfig: disable Media Controller for DVB

2015-06-12 Thread Hans Verkuil
On 06/12/2015 12:57 PM, Mauro Carvalho Chehab wrote: Since when we start discussions about the usage Media Controller for complex hardware, one thing become clear: the way it is, MC fails to map anything more complex than a webcam. The point is that MC has entities named as devnodes, but the

Re: [PATCH] Kconfig: disable Media Controller for DVB

2015-06-12 Thread Mauro Carvalho Chehab
Em Fri, 12 Jun 2015 13:02:00 +0200 Hans Verkuil hverk...@xs4all.nl escreveu: On 06/12/2015 12:57 PM, Mauro Carvalho Chehab wrote: Since when we start discussions about the usage Media Controller for complex hardware, one thing become clear: the way it is, MC fails to map anything more

Re: RIP MTRR - status update for upcoming v4.2

2015-06-12 Thread Toshi Kani
On Fri, 2015-06-12 at 02:52 +0200, Luis R. Rodriguez wrote: On Thu, Jun 11, 2015 at 05:23:16PM -0600, Toshi Kani wrote: On Thu, 2015-06-11 at 13:36 -0700, Luis R. Rodriguez wrote: : Pending RIP MTRR patches There are a few pending series so I wanted to

[RFC v3 02/19] media/v4l2-core: add new ioctl VIDIOC_G_DEF_EXT_CTRLS

2015-06-12 Thread Ricardo Ribalda Delgado
This ioctl returns the default value of one or more extended controls. It has the same interface as VIDIOC_EXT_CTRLS. It is needed due to the fact that QUERYCTRL was not enough to provide the initial value of pointer type controls. Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com

[RFC v3 00/19] New ioct VIDIOC_G_DEF_EXT_CTRLS

2015-06-12 Thread Ricardo Ribalda Delgado
Integer controls provide a way to get their default/initial value, but any other control (p_u32, p_u8.) provide no other way to get the initial value than unloading the module and loading it back. *What is the actual problem? I have a custom control with WIDTH integer values. Every value

[RFC v3 04/19] media/usb/uvc: Implement vivioc_g_def_ext_ctrls

2015-06-12 Thread Ricardo Ribalda Delgado
Callback needed by ioctl VIDIOC_G_DEF_EXT_CTRLS as this driver does not use the controller framework. Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/media/usb/uvc/uvc_v4l2.c | 30 ++ 1 file changed, 30 insertions(+) diff --git

[RFC v3 01/19] media/v4l2-core: Add argument def_value to g_ext_ctrl

2015-06-12 Thread Ricardo Ribalda Delgado
If def_value is set, the default value for the controls is returned. Helper function def_to_user is also added with the same interface as cur_to_user or new_to_user. Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/media/platform/omap3isp/ispvideo.c | 2 +-

[RFC v3 07/19] media/usb/prusb2: Implement vivioc_g_def_ext_ctrls

2015-06-12 Thread Ricardo Ribalda Delgado
Callback needed by ioctl VIDIOC_G_DEF_EXT_CTRLS as this driver does not use the controller framework. Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/media/usb/pvrusb2/pvrusb2-v4l2.c | 28 1 file changed, 28 insertions(+) diff --git

[RFC v3 06/19] media/pci/saa7164-vbi: Implement vivioc_g_def_ext_ctrls

2015-06-12 Thread Ricardo Ribalda Delgado
Callback needed by ioctl VIDIOC_G_DEF_EXT_CTRLS as this driver does not use the controller framework. Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/media/pci/saa7164/saa7164-vbi.c | 28 1 file changed, 28 insertions(+) diff --git

[RFC v3 16/19] media/i2c/vpx3220: Implement g_def_ext_ctrls core_op

2015-06-12 Thread Ricardo Ribalda Delgado
Via control framework. Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/media/i2c/vpx3220.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/i2c/vpx3220.c b/drivers/media/i2c/vpx3220.c index 016e766e72ba..60d635250b19 100644 ---

[RFC v3 17/19] media/i2c/wm8775: Implement g_def_ext_ctrls core_op

2015-06-12 Thread Ricardo Ribalda Delgado
Via control framework. Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/media/i2c/wm8775.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/i2c/wm8775.c b/drivers/media/i2c/wm8775.c index bee7946faa7c..45d4873aca74 100644 ---

[RFC v3 12/19] media/i2c/msp3400-driver: Implement g_def_ext_ctrls core_op

2015-06-12 Thread Ricardo Ribalda Delgado
Via control framework. Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/media/i2c/msp3400-driver.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/i2c/msp3400-driver.c b/drivers/media/i2c/msp3400-driver.c index dcc68ec71732..10837564af8e 100644 ---

[RFC v3 14/19] media/i2c/saa7115: Implement g_def_ext_ctrls core_op

2015-06-12 Thread Ricardo Ribalda Delgado
Via control framework. Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/media/i2c/saa7115.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/i2c/saa7115.c b/drivers/media/i2c/saa7115.c index 0eae5f4471e2..c227dc11b136 100644 ---

[RFC v3 05/19] media/pci/saa7164-encoder: Implement vivioc_g_def_ext_ctrls

2015-06-12 Thread Ricardo Ribalda Delgado
Callback needed by ioctl VIDIOC_G_DEF_EXT_CTRLS as this driver does not use the controller framework. Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/media/pci/saa7164/saa7164-encoder.c | 28 1 file changed, 28 insertions(+) diff --git

[RFC v3 13/19] media/i2c/saa7110: Implement g_def_ext_ctrls core_op

2015-06-12 Thread Ricardo Ribalda Delgado
Via control framework. Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/media/i2c/saa7110.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/i2c/saa7110.c b/drivers/media/i2c/saa7110.c index 99689ee57d7e..964cc2cf1508 100644 ---

[RFC v3 03/19] videodev2.h: Fix typo in comment

2015-06-12 Thread Ricardo Ribalda Delgado
Referenced file has moved Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- include/uapi/linux/videodev2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h index b9468a3b833e..b059237f0214

[RFC v3 09/19] media/i2c/bt819: Implement g_def_ext_ctrls core_op

2015-06-12 Thread Ricardo Ribalda Delgado
Via control framework. Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/media/i2c/bt819.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/i2c/bt819.c b/drivers/media/i2c/bt819.c index 76b334a6a56d..b3e9ac3616b5 100644 --- a/drivers/media/i2c/bt819.c

  1   2   >