[PATCH] [media] redrat3: ensure dma is setup properly

2014-12-01 Thread Sean Young
This fixes the driver on arm. Reported-by: Steven Guitton kelt...@gmail.com Tested-by: Steven Guitton kelt...@gmail.com Signed-off-by: Sean Young s...@mess.org --- drivers/media/rc/redrat3.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/media/rc/redrat3.c

Re: i.MX6 CODA960 encoder

2014-12-01 Thread Jean-Michel Hautbois
Hi Philipp, 2014-11-28 16:23 GMT+01:00 Philipp Zabel p.za...@pengutronix.de: Am Donnerstag, den 27.11.2014, 16:10 -0200 schrieb Fabio Estevam: On Thu, Nov 27, 2014 at 3:54 PM, Jean-Michel Hautbois jean-michel.hautb...@vodalys.com wrote: I don't have the same behaviour, but I may have missed

[PATCHv3 2/9] v4l2-mediabus: improve colorspace support

2014-12-01 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Add and copy the new ycbcr_enc and quantization fields. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- include/media/v4l2-mediabus.h | 4 include/uapi/linux/v4l2-mediabus.h | 6 +- 2 files changed, 9 insertions(+), 1 deletion(-)

[PATCHv3 0/9] Improve colorspace support

2014-12-01 Thread Hans Verkuil
Changes since v2: - Use symbolic constants from linux/hdmi.h in adv7511. - Renamed V4L2_YCBCR_ENC_BT2020NC to V4L2_YCBCR_ENC_BT2020 and V4L2_YCBCR_ENC_BT2020C to V4L2_YCBCR_ENC_BT2020_CONST_LUM to be consistent with the proposed hdmi.h changes:

[PATCHv3 1/9] videodev2.h: improve colorspace support

2014-12-01 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Add support for the new AdobeRGB and BT.2020 colorspaces as needed for HDMI 2.0. Add support to specify the Y'CbCr encoding and quantization range explicitly. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- include/uapi/linux/videodev2.h | 99

[PATCHv3 4/9] DocBook media: rewrite the Colorspace chapter

2014-12-01 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com The colorspace chapter in the V4L2 Specification was always poorly written. This patch rewrites it, documenting the new Y'CbCr encoding and quantization defines and going into much more detail with respect to how colorspaces are used and what it all

[PATCHv3 3/9] v4l2-ioctl.c: log the new ycbcr_enc and quantization fields

2014-12-01 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Log the new ycbcr_enc and quantization fields. Note that it now also logs the flags field for the multiplanar buffer type. This was forgotten when the flags field was added. Signed-off-by: Hans Verkuil hans.verk...@cisco.com ---

[PATCHv3 8/9] vivid: add support for YCbCr encoding and quantization

2014-12-01 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Implement controls to set the YCbCr encoding and the quantization range for the colorspace. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/platform/vivid/vivid-core.h | 2 + drivers/media/platform/vivid/vivid-ctrls.c |

[PATCHv3 7/9] vivid: add new colorspaces

2014-12-01 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Add AdobeRGB and BT.2020 support. The colorspace control now orders the colorspaces according to how often they are used. So rarely used colorspaces are moved to the end. This makes it more logical when testing colorspace support. Signed-off-by: Hans

[PATCHv3 5/9] vivid-tpg-colors: add AdobeRGB and BT.2020 support

2014-12-01 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com This extends the precalculated tpg_csc_colors matrix with AdobeRGB and BT.2020 colorspace support. It also adds two precalculated tables that convert between linear RGB and non-linear Rec.709 R'G'B' values, i.e. the Rec. 709 transfer function. This is

[PATCHv3 9/9] adv7511: improve colorspace handling

2014-12-01 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Add support for YCbCr output and support setting colorspace, YCbCr encoding and quantization for the AVI InfoFrame. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/i2c/adv7511.c | 208 1

[PATCHv3 6/9] vivid-tpg: improve colorspace support

2014-12-01 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Add support for the new AdobeRGB and BT.2020 colorspaces. Also support explicit Y'CbCr and quantization settings. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/platform/vivid/vivid-tpg.c | 327 +--

[PATCH 5/5] Vivid sine gen: Use higher precision for sine LUT

2014-12-01 Thread Prashant Laddha
sin LUT is recalculated with precision of 16 bits to represent fractional part. (lowest fraction that can be represented now is 1/2^16, that is 0.15) Cc: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Prashant Laddha prlad...@cisco.com --- drivers/media/platform/vivid/vivid-sdr-cap.c |

[PATCH 3/5] Vivid sine gen: Refactor get_sin_val ()

2014-12-01 Thread Prashant Laddha
Removed recursion. Also reduced few if() checks. Cc: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Prashant Laddha prlad...@cisco.com --- drivers/media/platform/vivid/vivid-sin.c | 28 +--- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git

[PATCH 2/5] Vivid sine gen: Optimization for sine LUT size

2014-12-01 Thread Prashant Laddha
Exploiting the symmetry and repetitive nature of sine waveform to reduce size of sine LUT. Values up to phase = pi/4, can be used to calculate sine for remaining phases. Cc: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Prashant Laddha prlad...@cisco.com ---

[PATCH 1/5] Use LUT based implementation for (co)sine functions

2014-12-01 Thread Prashant Laddha
Replaced Taylor series calculation with a look up table based calculation of (co)sine values. Also reworked fixed point implementation to reduce rounding errors. Cc: Hans Verkuil hans.verk...@cisco.com Cc: Antti Palosaari cr...@iki.fi Signed-off-by: Prashant Laddha prlad...@cisco.com ---

[PATCH 4/5] Vivid sine gen: Renamed SIN_TAB_SIZE to SIN_LUT_SIZE

2014-12-01 Thread Prashant Laddha
Cc: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Prashant Laddha prlad...@cisco.com --- drivers/media/platform/vivid/vivid-sin.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/media/platform/vivid/vivid-sin.c b/drivers/media/platform/vivid/vivid-sin.c

[GIT PULL FOR v3.19] Improve V4L2 colorspace handling

2014-12-01 Thread Hans Verkuil
Hi Mauro, This pull request improves the colorspace handling in V4L2 as discussed before in Düsseldorf and in the v3 patch series: http://www.mail-archive.com/linux-media@vger.kernel.org/msg82487.html Support for the improved colorspaces has been added to vivid and adv7511. The adv7511 changes

Re: Kernel 3.17.0 broke xc4000-based DTV1800h

2014-12-01 Thread Mauro Carvalho Chehab
Hi István, Em Sun, 30 Nov 2014 18:38:24 +0100 István, Varga istva...@mailbox.hu escreveu: On 16 Oct 2014, at 17:33, Rodney Baker rodney.baker at iinet.net.au wrote: Since installing kernel 3.17.0-1.gc467423-desktop (on openSuSE 13.1) my xc4000/zl10353/cx88 based DTV card has failed to

Re: [PATCH] linux-firmware: Add firmware files for Siano DTV devices

2014-12-01 Thread Mauro Carvalho Chehab
Em Sun, 30 Nov 2014 21:21:32 -0500 Kyle McMartin k...@infradead.org escreveu: On Sun, Nov 09, 2014 at 09:58:19PM -0200, Mauro Carvalho Chehab wrote: From: Mauro Carvalho Chehab mche...@infradead.org Acked-by: Rainer Miethling rmiethl...@pctvsystems.com Signed-off-by: Mauro Carvalho

Re: [PATCH/RFC v8 04/14] v4l2-async: change custom.match callback argument type

2014-12-01 Thread Jacek Anaszewski
Hi Laurent, On 11/29/2014 05:38 PM, Laurent Pinchart wrote: Hi Jacek, Thank you for the patch. On Friday 28 November 2014 10:17:56 Jacek Anaszewski wrote: It is useful to have an access to the async sub-device being matched, not only to the related struct device. Change match callback

Re: [PATCH 1/1] [media] V4L2: Deletion of an unnecessary check before the function call vb2_put_vma

2014-12-01 Thread Marek Szyprowski
Hello, On 2014-11-30 23:23, SF Markus Elfring wrote: From: Markus Elfring elfr...@users.sourceforge.net Date: Sun, 30 Nov 2014 23:10:51 +0100 The vb2_put_vma() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was

Re: [PATCH 1/5] Use LUT based implementation for (co)sine functions

2014-12-01 Thread Prashant Laddha (prladdha)
Hi All, Please ignore my patches for now. I have not run check patch.pl before sending out Patches. I will resend with necessary corrections. Regards, Prashant On 01/12/14 2:33 pm, Prashant Laddha (prladdha) prlad...@cisco.com wrote: Replaced Taylor series calculation with a look up table

Re: [PATCH] media: platform: add VPFE capture driver support for AM437X

2014-12-01 Thread Hans Verkuil
Hi all, Thanks for the patch, review comments are below. For the next version I would appreciate if someone can test this driver with the latest v4l2-compliance from the v4l-utils git repo. If possible test streaming as well (v4l2-compliance -s), ideally with both a sensor and a STD receiver

[RFC] vino: deprecate and remove

2014-12-01 Thread Hans Verkuil
I propose that this driver is deprecated and moved to staging and that 1-2 kernel cycles later this driver is removed. The reason for this is that this is ancient hardware and it hasn't seen any development in ages and no apparent users. It hasn't been tested with actual hardware in many, many

Re: [REVIEW PATCH v2.1 08/11] of: smiapp: Add documentation

2014-12-01 Thread Mark Rutland
On Sun, Nov 30, 2014 at 04:26:48PM +, Sakari Ailus wrote: Document the smiapp device tree properties. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi --- since v2: - Cleanups - Removed clock-names property documentation - Port node documentation was really endpoint node documentation

Re: [PATCH v3 1/4] media: ti-vpe: Use data offset for getting dma_addr for a plane

2014-12-01 Thread Hans Verkuil
On 11/29/2014 11:27 AM, Nikhil Devshatwar wrote: The data_offset in v4l2_planes structure will help us point to the start of data content for that particular plane. This may be useful when a single buffer contains the data for different planes e.g. Y planes of two fields in the same buffer.

Re: [PATCH v3 4/4] media: ti-vpe: Add support for SEQ_TB buffers

2014-12-01 Thread Hans Verkuil
On 11/29/2014 11:27 AM, Nikhil Devshatwar wrote: The video source can generate the data in the SEQ_TB buffer format. In the case of TI SoC, the IVA_HD can generate the interlaced content in the SEQ_TB buffer format. This is the format where the top and bottom field data can be contained in a

RE: [PATCH v3 1/4] media: ti-vpe: Use data offset for getting dma_addr for a plane

2014-12-01 Thread Devshatwar, Nikhil
-Original Message- From: Hans Verkuil [mailto:hverk...@xs4all.nl] Sent: Monday, December 01, 2014 4:18 PM To: Devshatwar, Nikhil; linux-media@vger.kernel.org Subject: Re: [PATCH v3 1/4] media: ti-vpe: Use data offset for getting dma_addr for a plane On 11/29/2014 11:27 AM, Nikhil

Re: [PATCH] media: platform: add VPFE capture driver support for AM437X

2014-12-01 Thread Hans Verkuil
On 12/01/2014 11:11 AM, Hans Verkuil wrote: Hi all, Thanks for the patch, review comments are below. For the next version I would appreciate if someone can test this driver with the latest v4l2-compliance from the v4l-utils git repo. If possible test streaming as well (v4l2-compliance

Re: [PATCH 1/3] hdmi: add new HDMI 2.0 defines

2014-12-01 Thread Thierry Reding
On Fri, Nov 28, 2014 at 03:50:49PM +0100, Hans Verkuil wrote: From: Hans Verkuil hans.verk...@cisco.com Add new Video InfoFrame colorspace information introduced in HDMI 2.0 and new Audio Coding Extension Types, also from HDMI 2.0. Signed-off-by: Hans Verkuil hans.verk...@cisco.com ---

Re: [PATCH v3 1/4] media: ti-vpe: Use data offset for getting dma_addr for a plane

2014-12-01 Thread Hans Verkuil
On 12/01/2014 12:00 PM, Devshatwar, Nikhil wrote: -Original Message- From: Hans Verkuil [mailto:hverk...@xs4all.nl] Sent: Monday, December 01, 2014 4:18 PM To: Devshatwar, Nikhil; linux-media@vger.kernel.org Subject: Re: [PATCH v3 1/4] media: ti-vpe: Use data offset for getting

Re: [PATCH 1/3] hdmi: add new HDMI 2.0 defines

2014-12-01 Thread Hans Verkuil
On 12/01/2014 12:03 PM, Thierry Reding wrote: On Fri, Nov 28, 2014 at 03:50:49PM +0100, Hans Verkuil wrote: From: Hans Verkuil hans.verk...@cisco.com Add new Video InfoFrame colorspace information introduced in HDMI 2.0 and new Audio Coding Extension Types, also from HDMI 2.0.

Re: [PATCH/RFC v8 11/14] DT: Add documentation for the mfd Maxim max77693

2014-12-01 Thread Lee Jones
On Fri, 28 Nov 2014, Jacek Anaszewski wrote: This patch adds device tree binding documentation for the flash cell of the Maxim max77693 multifunctional device. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Signed-off-by: Andrzej Hajda a.ha...@samsung.com Acked-by: Kyungmin Park

Re: [PATCH/RFC v4 05/11] mediactl: Add media device graph helpers

2014-12-01 Thread Jacek Anaszewski
Hi Sakari, Thanks for a review. On 11/28/2014 06:06 PM, Sakari Ailus wrote: Hi Jacek, On Fri, Nov 21, 2014 at 05:14:34PM +0100, Jacek Anaszewski wrote: Add new graph helpers useful for video pipeline discovering. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin

Re: [PATCH] media: ti-vpe: Use mem-to-mem ioctl helpers

2014-12-01 Thread Hans Verkuil
On 11/18/2014 02:00 PM, Lad, Prabhakar wrote: This patch does the following: 1: Simplify the vpe mem-to-mem driver by using the m2m ioctl and vb2 helpers. 2: Minor code cleanup FYI: I want to postpone this patch until Nikhil's ti-vpe changes are in (assuming that will happen soon). I

Re: [PATCH/RFC v8 09/14] mfd: max77693: adjust max77693_led_platform_data

2014-12-01 Thread Lee Jones
On Fri, 28 Nov 2014, Jacek Anaszewski wrote: Add label array for Device Tree strings with the name of a LED device and make flash_timeout a two element array, for caching the sub-led related flash timeout. - Please use

Re: [PATCH/RFC v8 02/14] Documentation: leds: Add description of LED Flash class extension

2014-12-01 Thread Jacek Anaszewski
Hi Pavel, Thanks for a review. On 11/29/2014 01:58 PM, Pavel Machek wrote: Hi! +Flash LED handling under Linux +== + +Some LED devices support two modes - torch and flash. The modes are +supported by the LED class (see Documentation/leds/leds-class.txt) +and LED

[PATCHv2] omap_vout: fix compile warnings

2014-12-01 Thread Hans Verkuil
When compiling under COMPILE_TEST on a x86_64 the following warnings appear: drivers/media/platform/omap/omap_vout.c: In function 'omap_vout_uservirt_to_phys': drivers/media/platform/omap/omap_vout.c:209:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]

[GIT PULL FOR v3.19] Various fixes/improvements

2014-12-01 Thread Hans Verkuil
Various fixes and improvements. Regards, Hans The following changes since commit 504febc3f98c87a8bebd8f2f274f32c0724131e4: Revert [media] lmed04: add missing breaks (2014-11-25 22:16:25 -0200) are available in the git repository at: git://linuxtv.org/hverkuil/media_tree.git

Re: [PATCH/RFC v8 12/14] leds: Add driver for AAT1290 current regulator

2014-12-01 Thread Jacek Anaszewski
Hi Pavel, Thanks for a review. On 11/29/2014 08:05 PM, Pavel Machek wrote: Hi! @@ -0,0 +1,472 @@ +/* + * LED Flash class driver for the AAT1290 + * 1.5A Step-Up Current Regulator for Flash LEDs + * + * Copyright (C) 2014, Samsung Electronics Co., Ltd. + * Author: Jacek

RE: [PATCH v3 1/4] media: ti-vpe: Use data offset for getting dma_addr for a plane

2014-12-01 Thread Devshatwar, Nikhil
-Original Message- From: Hans Verkuil [mailto:hverk...@xs4all.nl] Sent: Monday, December 01, 2014 4:34 PM To: Devshatwar, Nikhil; linux-media@vger.kernel.org Subject: Re: [PATCH v3 1/4] media: ti-vpe: Use data offset for getting dma_addr for a plane On 12/01/2014 12:00 PM,

Re: Kernel 3.17.0 broke xc4000-based DTV1800h

2014-12-01 Thread István , Varga
2014-12-01 10:20 GMT+01:00 Mauro Carvalho Chehab mche...@osg.samsung.com: Hi István, Yeah, Xceive granted a license to redistribute such firmware file via Hauppauge. The firmware we sent to linux-firmware is this one with the proper license. Hi, does the license apply specifically to the

Re: [PATCH/RFC v4 05/11] mediactl: Add media device graph helpers

2014-12-01 Thread Sakari Ailus
Hi Jacek, Jacek Anaszewski wrote: ... +int media_get_busy_pads_by_entity(struct media_device *media, +struct media_entity *entity, +unsigned int type, +struct media_pad **busy_pads, +int *num_busy_pads) Are you looking for

Re: [PATCH v5 1/6] of: Decrement refcount of previous endpoint in of_graph_get_next_endpoint

2014-12-01 Thread Philipp Zabel
Am Sonntag, den 09.11.2014, 16:51 +0100 schrieb Guennadi Liakhovetski: On Sun, 9 Nov 2014, Philipp Zabel wrote: Hi Guennadi, On Fri, Nov 07, 2014 at 11:06:21PM +0100, Guennadi Liakhovetski wrote: Hi Philipp, Thanks for the patch and sorry for a late reply. I did look at your

Re: [PATCH/RFC v8 09/14] mfd: max77693: adjust max77693_led_platform_data

2014-12-01 Thread Jacek Anaszewski
Hi Lee, Thanks for the review. On 12/01/2014 12:34 PM, Lee Jones wrote: On Fri, 28 Nov 2014, Jacek Anaszewski wrote: Add label array for Device Tree strings with the name of a LED device and make flash_timeout a two element array, for caching the sub-led related flash timeout.

Re: Kernel 3.17.0 broke xc4000-based DTV1800h

2014-12-01 Thread Mauro Carvalho Chehab
Em Mon, 01 Dec 2014 13:24:50 +0100 István, Varga istva...@mailbox.hu escreveu: 2014-12-01 10:20 GMT+01:00 Mauro Carvalho Chehab mche...@osg.samsung.com: Hi István, Yeah, Xceive granted a license to redistribute such firmware file via Hauppauge. The firmware we sent to linux-firmware is

Re: [PATCH/RFC v8 09/14] mfd: max77693: adjust max77693_led_platform_data

2014-12-01 Thread Lee Jones
On Mon, 01 Dec 2014, Jacek Anaszewski wrote: On 12/01/2014 12:34 PM, Lee Jones wrote: On Fri, 28 Nov 2014, Jacek Anaszewski wrote: I'm guessing this will effect the other patches in the set? max77692 flash driver depends on it and it has to be in synch with the related DT bindings

[REVIEW PATCH 0/2] img-ir: Some more fixes

2014-12-01 Thread James Hogan
A few more fixes for the img-ir RC driver in addition to the ones I posted a couple of weeks ago. The first patch fixes some broken behaviour when the same protocol is set twice and the effective scancode filter gets cleared as a result. The second patch fixes a potential deadlock and lockdep

[REVIEW PATCH 1/2] img-ir/hw: Avoid clearing filter for no-op protocol change

2014-12-01 Thread James Hogan
When the img-ir driver is asked to change protocol, if the chosen decoder is already loaded then don't call img_ir_set_decoder(), so as not to clear the current filter. This is important because store_protocol() does not refresh the scancode filter with the new protocol if the set of enabled

[REVIEW PATCH 2/2] img-ir/hw: Fix potential deadlock stopping timer

2014-12-01 Thread James Hogan
The end timer is used for switching back from repeat code timings when no repeat codes have been received for a certain amount of time. When the protocol is changed, the end timer is deleted synchronously with del_timer_sync(), however this takes place while holding the main spin lock, and the

Re: [PATCH/RFC v8 11/14] DT: Add documentation for the mfd Maxim max77693

2014-12-01 Thread Jacek Anaszewski
Hi Pavel, Thanks for the review. On 11/29/2014 08:26 PM, Pavel Machek wrote: Hi! diff --git a/Documentation/devicetree/bindings/mfd/max77693.txt b/Documentation/devicetree/bindings/mfd/max77693.txt index 01e9f30..50a8dad 100644 --- a/Documentation/devicetree/bindings/mfd/max77693.txt +++

Re: [PATCH/RFC v8 11/14] DT: Add documentation for the mfd Maxim max77693

2014-12-01 Thread Pavel Machek
Hi! Is this one needed? Just ommit child note if it is not there. It is needed because you can have one led connected two both outputs. This allows to describe such a design. Ok. +- maxim,trigger-type : Array of trigger types in order: flash, torch + Possible trigger types: +

Re: [PATCH/RFC v8 02/14] Documentation: leds: Add description of LED Flash class extension

2014-12-01 Thread Pavel Machek
Hi! How are faults cleared? Should it be list of strings, instead of bitmask? We may want to add new fault modes in future... Faults are cleared by reading the attribute. I will add this note. There can be more than one fault at a time. I think that the bitmask is a flexible solution. I

[PATCH 1/4] media: remove emacs editor variables

2014-12-01 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com 1) This is not allowed by the kernel coding style 2) Just configure your editor correctly 3) It's really ugly Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- Documentation/DocBook/media/v4l/vidioc-dv-timings-cap.xml | 8

[PATCH 0/4] Media cleanups

2014-12-01 Thread Hans Verkuil
This patch series: - Removes all the emacs editor variables in sources. - Stops drivers from using the debug field in struct video_device. This field is internal to the v4l2 core and drivers shouldn't set it. - Improve debug flag handling. - Document the debug attribute. Regards,

[PATCH 4/4] v4l2-framework.txt: document debug attribute

2014-12-01 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com The debug attribute in /sys/class/video4linux/devX/debug was never documented. Add this. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- Documentation/video4linux/v4l2-framework.txt | 25 +++-- 1 file changed, 23

[PATCH 3/4] v4l2 core: improve debug flag handling

2014-12-01 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com The old debug field is renamed to dev_debug to ensure that existing drivers (including out-of-tree drivers) that try to use the old name will no longer compile. A comment has also been added that makes it explicit that drivers shouldn't use this field.

[PATCH 2/4] media: drivers shouldn't touch debug field in video_device

2014-12-01 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com The debug field in struct video_device is for internal use only and drivers should mix that with their own debug module options. It is handled by the V4L2 core and users can set it using /sys/class/video4linux/devX/debug. It has been deprecated for some

Re: [PATCH 2/3] hdmi: added unpack and logging functions for InfoFrames

2014-12-01 Thread Thierry Reding
On Fri, Nov 28, 2014 at 03:50:50PM +0100, Hans Verkuil wrote: From: Martin Bugge marbu...@cisco.com When receiving video it is very useful to be able to unpack the InfoFrames. Logging is useful as well, both for transmitters and receivers. Especially when implementing the VIDIOC_LOG_STATUS

Re: [PATCH/RFC v8 11/14] DT: Add documentation for the mfd Maxim max77693

2014-12-01 Thread Jacek Anaszewski
Hi Pavel, On 12/01/2014 02:02 PM, Pavel Machek wrote: Hi! Is this one needed? Just ommit child note if it is not there. It is needed because you can have one led connected two both outputs. This allows to describe such a design. Ok. +- maxim,trigger-type : Array of trigger types in

Re: [PATCH 2/3] hdmi: added unpack and logging functions for InfoFrames

2014-12-01 Thread Hans Verkuil
Hi Thierry, Thanks for the review, see my comments below. On 12/01/2014 02:15 PM, Thierry Reding wrote: On Fri, Nov 28, 2014 at 03:50:50PM +0100, Hans Verkuil wrote: From: Martin Bugge marbu...@cisco.com When receiving video it is very useful to be able to unpack the InfoFrames. Logging is

Re: [PATCH/RFC v8 02/14] Documentation: leds: Add description of LED Flash class extension

2014-12-01 Thread Jacek Anaszewski
Hi Pavel, On 12/01/2014 02:04 PM, Pavel Machek wrote: Hi! How are faults cleared? Should it be list of strings, instead of bitmask? We may want to add new fault modes in future... Faults are cleared by reading the attribute. I will add this note. There can be more than one fault at a time.

Re: Kernel 3.17.0 broke xc4000-based DTV1800h

2014-12-01 Thread Devin Heitmueller
My understanding is that it covers that specific firmware file. In this case the license was actually against the header file. I was responsible for generating the binary blob based on the header files in the Xceive sources (and got the appropriate permission). There should be no licensing

Re: [PATCH/RFC v4 05/11] mediactl: Add media device graph helpers

2014-12-01 Thread Jacek Anaszewski
Hi Sakari, On 12/01/2014 01:30 PM, Sakari Ailus wrote: Hi Jacek, Jacek Anaszewski wrote: ... +int media_get_busy_pads_by_entity(struct media_device *media, +struct media_entity *entity, +unsigned int type, +struct media_pad **busy_pads, +

Re: [PATCH/RFC v8 06/14] media: Add registration helpers for V4L2 flash sub-devices

2014-12-01 Thread Jacek Anaszewski
On 11/28/2014 10:17 AM, Jacek Anaszewski wrote: This patch adds helper functions for registering/unregistering LED Flash class devices as V4L2 sub-devices. The functions should be called from the LED subsystem device driver. In case the support for V4L2 Flash sub-devices is disabled in the

Re: [PATCH 1/3] staging: imx-drm: document internal HDMI I2C master controller DT binding

2014-12-01 Thread Vladimir Zapolskiy
Hi Philipp and Shawn, On 15.11.2014 19:49, Vladimir Zapolskiy wrote: Provide information about how to bind internal iMX6Q/DL HDMI DDC I2C master controller. The property is set as optional one, because iMX6 HDMI DDC bus may be represented by one of general purpose I2C busses found on SoC.

Re: [PATCH 1/3] staging: imx-drm: document internal HDMI I2C master controller DT binding

2014-12-01 Thread Philipp Zabel
Am Montag, den 01.12.2014, 16:54 +0200 schrieb Vladimir Zapolskiy: Hi Philipp and Shawn, On 15.11.2014 19:49, Vladimir Zapolskiy wrote: Provide information about how to bind internal iMX6Q/DL HDMI DDC I2C master controller. The property is set as optional one, because iMX6 HDMI DDC bus

Re: [PATCH/RFC v8 02/14] Documentation: leds: Add description of LED Flash class extension

2014-12-01 Thread Sakari Ailus
Hi Jacek and Pavel, On Mon, Dec 01, 2014 at 02:58:56PM +0100, Jacek Anaszewski wrote: Hi Pavel, On 12/01/2014 02:04 PM, Pavel Machek wrote: Hi! How are faults cleared? Should it be list of strings, instead of bitmask? We may want to add new fault modes in future... Faults are cleared

Re: Kernel 3.17.0 broke xc4000-based DTV1800h

2014-12-01 Thread István , Varga
2014-12-01 15:15 GMT+01:00 Devin Heitmueller dheitmuel...@kernellabs.com: If somebody wants to send me an updated blob, I'm happy to host a copy at kernellabs.com alongside the file that is currently there (please make sure it has a different filename though). My firmware package is available

Re: [PATCH 2/3] hdmi: added unpack and logging functions for InfoFrames

2014-12-01 Thread Thierry Reding
On Mon, Dec 01, 2014 at 02:48:47PM +0100, Hans Verkuil wrote: Hi Thierry, Thanks for the review, see my comments below. On 12/01/2014 02:15 PM, Thierry Reding wrote: On Fri, Nov 28, 2014 at 03:50:50PM +0100, Hans Verkuil wrote: [...] +{ + switch (type) { + case

Re: [PATCH 1/3] staging: imx-drm: document internal HDMI I2C master controller DT binding

2014-12-01 Thread Vladimir Zapolskiy
On 01.12.2014 17:11, Philipp Zabel wrote: Am Montag, den 01.12.2014, 16:54 +0200 schrieb Vladimir Zapolskiy: Hi Philipp and Shawn, On 15.11.2014 19:49, Vladimir Zapolskiy wrote: Provide information about how to bind internal iMX6Q/DL HDMI DDC I2C master controller. The property is set as

Re: [PATCH 2/3] hdmi: added unpack and logging functions for InfoFrames

2014-12-01 Thread Daniel Vetter
On Mon, Dec 01, 2014 at 04:33:31PM +0100, Thierry Reding wrote: On Mon, Dec 01, 2014 at 02:48:47PM +0100, Hans Verkuil wrote: Hi Thierry, Thanks for the review, see my comments below. On 12/01/2014 02:15 PM, Thierry Reding wrote: On Fri, Nov 28, 2014 at 03:50:50PM +0100, Hans

Re: [PATCH 1/3] staging: imx-drm: document internal HDMI I2C master controller DT binding

2014-12-01 Thread Philipp Zabel
Hi Vladimir, [Added Andy Yan to Cc:, because imx-hdmi-dw-hdmi] Am Montag, den 01.12.2014, 17:39 +0200 schrieb Vladimir Zapolskiy: On 01.12.2014 17:11, Philipp Zabel wrote: Am Montag, den 01.12.2014, 16:54 +0200 schrieb Vladimir Zapolskiy: Hi Philipp and Shawn, On 15.11.2014 19:49,

Payment

2014-12-01 Thread Finance Department
Dear Recipient, You have been awarded the sum of 8,000,000.00 (Eight Million Pounds sterling) with reference number 77100146 by office of the ministry of finance UK.Send us your personal details to deliver your funds. Gloria Peter -- To unsubscribe from this list: send the line unsubscribe

Re: [GIT PULL] soc-camera: 1st set for 3.19

2014-12-01 Thread Mauro Carvalho Chehab
Em Fri, 28 Nov 2014 23:15:32 +0100 (CET) Guennadi Liakhovetski g.liakhovet...@gmx.de escreveu: Hi Mauro, IIUC, this coming Sunday might be the last -rc, so, postponing pull requests to subsystem maintainers even further isn't a good idea, so, here goes an soc-camera request. I know it

[PATCH 1/1] [media] lirc_zilog: Deletion of unnecessary checks before the function call vfree

2014-12-01 Thread SF Markus Elfring
From: Markus Elfring elfr...@users.sourceforge.net Date: Mon, 1 Dec 2014 19:49:39 +0100 The vfree() function performs also input parameter validation. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring

Re: Using the coda driver with Gstreamer

2014-12-01 Thread Fabio Estevam
On Tue, Nov 18, 2014 at 4:41 PM, Nicolas Dufresne nicolas.dufre...@collabora.com wrote: Ok, let us know when the switch is made. Assuming your goal is to get the HW decoder working, you should test with simpler pipeline. In your specific case, you should try and get this pipeline to preroll:

Re: [PATCH v2 06/11] media: marvell-ccic: use vb2_ops_wait_prepare/finish helper

2014-12-01 Thread Jonathan Corbet
On Wed, 26 Nov 2014 22:42:29 + Lad, Prabhakar prabhakar.cse...@gmail.com wrote: This patch drops driver specific wait_prepare() and wait_finish() callbacks from vb2_ops and instead uses the the helpers vb2_ops_wait_prepare/finish() provided by the vb2 core This is good, what I had in

[PATCH v4 01/10] media: entity: Document the media_entity_ops structure

2014-12-01 Thread Laurent Pinchart
Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Acked-by: Hans Verkuil hans.verk...@cisco.com Acked-by: Sakari Ailus sakari.ai...@linux.intel.com --- include/media/media-entity.h | 9 + 1 file changed, 9 insertions(+) diff --git a/include/media/media-entity.h

[PATCH v4 00/10] Xilinx Video IP Core support

2014-12-01 Thread Laurent Pinchart
Hello, Here's the fourth version of the Xilinx FPGA Video IP Cores kernel drivers. I won't detail in great lengths the Xilinx Video IP architecture here, as that would result in dozens of pages of documentation. The interested reader can refer to the Zynq ZC702 Base TRD (Targeted Reference

[PATCH v4 06/10] v4l: vb2: Fix race condition in vb2_fop_poll

2014-12-01 Thread Laurent Pinchart
The vb2_fop_poll() implementation tries to be clever on whether it needs to lock the queue mutex by checking whether polling might start fileio. The test requires reading the q-num_buffer field, which is racy if we don't hold the queue mutex in the first place. Remove the extra cleverness and

[PATCH v4 03/10] v4l: Sort YUV formats of v4l2_mbus_pixelcode

2014-12-01 Thread Laurent Pinchart
From: Hyun Kwon hyun.k...@xilinx.com Keep the formats sorted by type, bus_width, bits per component, samples per pixel and order of subsamples, in that order. Signed-off-by: Hyun Kwon hyun.k...@xilinx.com Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Acked-by: Hans Verkuil

[PATCH v4 05/10] v4l: of: Add v4l2_of_parse_link() function

2014-12-01 Thread Laurent Pinchart
The function fills a link data structure with the device node and port number at both the local and remote ends of a link defined by one of its endpoint nodes. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Acked-by: Hans Verkuil hans.verk...@cisco.com ---

[PATCH v4 07/10] v4l: vb2: Fix race condition in _vb2_fop_release

2014-12-01 Thread Laurent Pinchart
The function releases the queue if the file being released is the queue owner. The check reads the queue-owner field without taking the queue lock, creating a race condition with functions that set the queue owner, such as vb2_ioctl_reqbufs() for instance. Fix this by moving the queue-owner check

[PATCH v4 10/10] v4l: xilinx: Add Test Pattern Generator driver

2014-12-01 Thread Laurent Pinchart
The TPG generates multiple static or dynamic test patterns. The driver currently hardcodes the pattern to the moving box pattern. Signed-off-by: Christian Kohn christian.k...@xilinx.com Signed-off-by: Hyun Kwon hyun.k...@xilinx.com Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com

[PATCH v4 02/10] v4l: Add RBG and RGB 8:8:8 media bus formats on 24 and 32 bit busses

2014-12-01 Thread Laurent Pinchart
Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Acked-by: Hans Verkuil hans.verk...@cisco.com --- Documentation/DocBook/media/v4l/subdev-formats.xml | 67 ++ include/uapi/linux/media-bus-format.h | 4 +- 2 files changed, 70 insertions(+), 1

[PATCH v4 04/10] v4l: Add VUY8 24 bits bus format

2014-12-01 Thread Laurent Pinchart
From: Hyun Kwon hyun.k...@xilinx.com Add VUY8 24 bits bus format, V4L2_MBUS_FMT_VUY8_1X24. Signed-off-by: Hyun Kwon hyun.k...@xilinx.com Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Acked-by: Hans Verkuil hans.verk...@cisco.com ---

[PATCH v4 08/10] v4l: xilinx: Add Xilinx Video IP core

2014-12-01 Thread Laurent Pinchart
Xilinx platforms have no hardwired video capture or video processing interface. Users create capture and memory to memory processing pipelines in the FPGA fabric to suit their particular needs, by instantiating video IP cores from a large library. The Xilinx Video IP core is a framework that

[PATCH v4 09/10] v4l: xilinx: Add Video Timing Controller driver

2014-12-01 Thread Laurent Pinchart
The Video Timing Controller (VTC) includes a timing detector and/or a timing generator. Only the generator is currently supported. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Signed-off-by: Michal Simek michal.si...@xilinx.com Acked-by: Hans Verkuil hans.verk...@cisco.com

V4L2_MEMORY_DMABUF for video decoders

2014-12-01 Thread vkalia
Hi I am facing an issue while using videobuf2-dma-contig.c mem_ops. Following is brief description of the driver architecture and the limitation. Any pointers/hints are appreciated. Driver architecture: It is a video codec driver for video decoding. It exposes two ports - CAPTURE and OUTPUT. Raw

pdf

2014-12-01 Thread peter hans
Dear Sir/Madam, Here is a pdf attachment of my proposal to you. Please read and reply I would be grateful. Peter Hans reply to E-mail: peterh@aol.com -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo

Re: [PATCH 4/4] media: ov2640: dt: add the device tree binding document

2014-12-01 Thread Laurent Pinchart
Hi Josh, Thank you for the patch. On Friday 28 November 2014 18:28:27 Josh Wu wrote: Add the document for ov2640 dt. Cc: devicet...@vger.kernel.org Signed-off-by: Josh Wu josh...@atmel.com --- .../devicetree/bindings/media/i2c/ov2640.txt | 43 +++ 1 file changed,

Re: [PATCH] media: platform: add VPFE capture driver support for AM437X

2014-12-01 Thread Prabhakar Lad
Hi Hans, Thanks for the review. On Mon, Dec 1, 2014 at 10:11 AM, Hans Verkuil hverk...@xs4all.nl wrote: Hi all, Thanks for the patch, review comments are below. For the next version I would appreciate if someone can test this driver with the latest v4l2-compliance from the v4l-utils git

Re: [PATCH 3/4] media: ov2640: add a master clock for sensor

2014-12-01 Thread Laurent Pinchart
Hi Josh, (CC'ing the devicet...@vger.kernel.org mailing list) Thank you for the patch. On Friday 28 November 2014 18:28:26 Josh Wu wrote: The master clock can be optional. It's a common clock framework clock. It can make sensor output a pixel clock to the camera interface. If you just use

Re: [PATCH] media: platform: add VPFE capture driver support for AM437X

2014-12-01 Thread Prabhakar Lad
Hi Hans, On Mon, Dec 1, 2014 at 11:00 AM, Hans Verkuil hverk...@xs4all.nl wrote: On 12/01/2014 11:11 AM, Hans Verkuil wrote: Hi all, Thanks for the patch, review comments are below. For the next version I would appreciate if someone can test this driver with the latest v4l2-compliance from

[PATCH 0/2] [media] mn88473: Delete an unnecessary check

2014-12-01 Thread SF Markus Elfring
From: Markus Elfring elfr...@users.sourceforge.net Date: Mon, 1 Dec 2014 23:16:34 +0100 Another update suggestion was taken into account after a patch was applied from static source code analysis. Markus Elfring (2): Deletion of an unnecessary check before the function call release_firmware

Re: [PATCH 2/4] media: ov2640: add primary dt support

2014-12-01 Thread Laurent Pinchart
Hi Josh, Thank you for the patch. On Friday 28 November 2014 18:28:25 Josh Wu wrote: Add device tree support for ov2640. Cc: devicet...@vger.kernel.org Signed-off-by: Josh Wu josh...@atmel.com --- drivers/media/i2c/soc_camera/ov2640.c | 95 +--- 1 file

[PATCH 1/2] [media] mn88473: Deletion of an unnecessary check before the function call release_firmware

2014-12-01 Thread SF Markus Elfring
From: Markus Elfring elfr...@users.sourceforge.net Date: Mon, 1 Dec 2014 22:55:29 +0100 The release_firmware() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software.

[PATCH 2/2] [media] mn88473: One function call less in mn88473_init() after error detection

2014-12-01 Thread SF Markus Elfring
From: Markus Elfring elfr...@users.sourceforge.net Date: Mon, 1 Dec 2014 23:15:20 +0100 The release_firmware() function was called by the mn88473_init() function even if a previous function call request_firmware failed. This implementation detail could be improved by the introduction of another

  1   2   >