[PATCH 3/3] v4l2-ctl-stds: Support cvt/gtf options in set-dv-bt-timings

2015-03-20 Thread Prashant Laddha
Added support to parse cvt/gtf suboptions- width, height, refresh rate, reduced blanking, interlaced. The cvt/gtf modeline calculations are implemented v4l2-ctl-modes.cpp. Calling those APIs to update v4l2_bt_timings structure. Cc: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Prashant

[PATCH 1/3] v4l2-ctl: Add support for CVT, GTF modeline calculation

2015-03-20 Thread Prashant Laddha
This patch adds support for calculating v4l2_bt_timings based on CVT and GTF standards. The timings are calculated for a given standard, CVT or GTF using a set of parameters- width, height, refresh rate and flags like whether it is an interlaced format, and whether to use reduced blanking. CVT

[PATCH 2/2] vivid: add support to set CVT, GTF timings

2015-03-20 Thread Prashant Laddha
In addition to v4l2_find_dv_timings_cap(), where timings are serached against the list of preset timings, the incoming timing from v4l2-ctl is checked against CVT and GTF standards. If it confirms to be CVT or GTF, it is treated as valid timing and vivid format is updated with new timings. Cc:

[PATCH 1/2] vivid: add CVT,GTF standards to vivid dv timings caps

2015-03-20 Thread Prashant Laddha
Currently vivid supports V4L2_DV_BT_STD_DMT and V4L2_DV_BT_STD_CEA861 discrete video standards. Extending the capability set to allow for setting CVT and GTF standards. This change, along with adding the support for calculating CVT, GTF timings in v4l2-ctl would extend the number of resolutions

Support for CVT and GTF timings in vivid

2015-03-20 Thread Prashant Laddha
These patches add support for setting CVT and GTF timings in vivid. Currently vivid supports V4L2_DV_BT_STD_DMT and V4L2_DV_BT_STD_CEA861 digital video standards which are all discrete monitor timings. So, there is no support for standards outside of that set. Hans has been thinking about

Re: [RFC PATCH] v4l2: add support for colorspace conversion for video capture

2015-03-20 Thread Hans Verkuil
A follow-up to this RFC: On 03/18/2015 03:13 PM, Hans Verkuil wrote: For video capture it is the driver that reports the colorspace, Y'CbCr encoding and quantization range used by the video, and there is no way to request something different, even though many HDTV receivers have some sort

Re: [PATCH 1/1] mn88473: implement lock for all delivery systems

2015-03-20 Thread Benjamin Larsson
On 03/19/2015 03:44 PM, Antti Palosaari wrote: Bad news. It does lock for DVB-C now, but DVB-T nor DVB-T2 does not lock. regards Antti I'm getting tired :/. Had the time to test now and the checks is supposed to be negated. if (utmp 0xA0) { - if (!(utmp 0xA0)) But as stock dvbv5-scan

[PATCH v1 15/47] [media] media: ivtv: use __arch_phys_wc_add()

2015-03-20 Thread Luis R. Rodriguez
From: Luis R. Rodriguez mcg...@suse.com Sadly this driver requires a bit of work in order to use ioremap_wc() on the range currently used for MTRR write-combining. We'd need to ensure two ioremap() calls are done. Annotate this. Cc: Andy Lutomirski l...@amacapital.net Cc: Andy Walls

Re: [PATCH 1/5] media/v4l2-ctrls: volatiles should not generate CH_VALUE

2015-03-20 Thread Sakari Ailus
Ricardo Ribalda Delgado wrote: Volatile controls should not generate CH_VALUE events. Set has_changed to false to prevent this happening. Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/media/v4l2-core/v4l2-ctrls.c | 9 + 1 file changed, 9 insertions(+)

[PATCH v2 4/5] media/v4l2-ctrls: Always execute EXECUTE_ON_WRITE ctrls

2015-03-20 Thread Ricardo Ribalda Delgado
Any control with V4L2_CTRL_FLAG_EXECUTE_ON_WRITE set should return changed == true in cluster_changed. This forces the value to be passed to the driver even if it has not changed. Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- v2: By Sakari Ailus

[PATCH v2 1/5] media/v4l2-ctrls: volatiles should not generate CH_VALUE

2015-03-20 Thread Ricardo Ribalda Delgado
Volatile controls should not generate CH_VALUE events. Set has_changed to false to prevent this happening. Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- v2: By Sakari Ailus sakari.ai...@linux.intel.com Fix CodeStyle (sorry :S) drivers/media/v4l2-core/v4l2-ctrls.c | 9

[PATCH v2 2/5] media: New flag V4L2_CTRL_FLAG_EXECUTE_ON_WRITE

2015-03-20 Thread Ricardo Ribalda Delgado
Create a new flag that represent controls which its value needs to be passed to the driver even if it has not changed. They typically represent actions, like triggering a flash or clearing an error flag. So writing to such a control means some action is executed. Signed-off-by: Ricardo Ribalda

[PATCH v2 5/5] media/Documentation: New flag EXECUTE_ON_WRITE

2015-03-20 Thread Ricardo Ribalda Delgado
Document new flag V4L2_CTRL_FLAG_EXECUTE_ON_WRITE, and the new behavior of CH_VALUE event on VOLATILE controls. Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- v2: Hans Verkuil hverk...@xs4all.nl Fix documentation (Thanks Hans!)

Re: [PATCH v9] media: i2c: add support for omnivision's ov2659 sensor

2015-03-20 Thread Hans Verkuil
Hi Prabhakar, I'm sorry, but I still have some comments for this driver... On 03/20/2015 01:26 PM, Lad Prabhakar wrote: From: Benoit Parrot bpar...@ti.com this patch adds support for omnivision's ov2659 sensor, the driver supports following features: 1: Asynchronous probing 2: DT support

[PATCH] m88ts2022: Nested loops shouldn't use the same index variable

2015-03-20 Thread David Howells
There are a pair of nested loops inside m88ts2022_cmd() that use the same index variable, but for different things. Split the variable. Signed-off-by: David Howells dhowe...@redhat.com --- drivers/media/tuners/m88ts2022.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff

[no subject]

2015-03-20 Thread Prashant Laddha
Thanks for your comments Hans. Resubmitting patch with corrections you have suggested. Regards, Prashant -- 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/2] vivid: add support to set CVT, GTF timings

2015-03-20 Thread Prashant Laddha
In addition to v4l2_find_dv_timings_cap(), where timings are serached against the list of preset timings, the incoming timing from v4l2-ctl is checked against CVT and GTF standards. If it confirms to be CVT or GTF, it is treated as valid timing and vivid format is updated with new timings. Cc:

Re: [PATCH 5/5] media/Documentation: New flag EXECUTE_ON_WRITE

2015-03-20 Thread Hans Verkuil
On 03/19/2015 04:21 PM, Ricardo Ribalda Delgado wrote: Document new flag V4L2_CTRL_FLAG_EXECUTE_ON_WRITE, and the new behavior of CH_VALUE event on VOLATILE controls. Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- Documentation/DocBook/media/v4l/vidioc-dqevent.xml

Re: [PATCH 1/3] v4l2-ctl: Add support for CVT, GTF modeline calculation

2015-03-20 Thread Prashant Laddha (prladdha)
Hello Hans, Thanks for reviewing the patch. On 20/03/15 5:00 pm, Hans Verkuil hverk...@xs4all.nl wrote: +if (cvt-interlaced == V4L2_DV_INTERLACED) { +cvt-il_vfrontporch = v_fp; +cvt-il_vsync = v_sync; +cvt-il_vbackporch = v_bp; +/* For

Re: [PATCH 4/5] media/v4l2-ctrls: Always execute EXECUTE_ON_WRITE ctrls

2015-03-20 Thread Hans Verkuil
One comment: On 03/19/2015 04:21 PM, Ricardo Ribalda Delgado wrote: Any control with V4L2_CTRL_FLAG_EXECUTE_ON_WRITE set should return changed == true in cluster_changed. This forces the value to be passed to the driver even if it has not changed. Signed-off-by: Ricardo Ribalda Delgado

Re: [PATCH] m88ts2022: Nested loops shouldn't use the same index variable

2015-03-20 Thread Antti Palosaari
On 03/20/2015 03:37 PM, David Howells wrote: There are a pair of nested loops inside m88ts2022_cmd() that use the same index variable, but for different things. Split the variable. Signed-off-by: David Howells dhowe...@redhat.com Reviewed-by: Antti Palosaari cr...@iki.fi regards Antti ---

Re: [PATCH 3/5] media/v4l2-ctrls: Add execute flags to write_only controls

2015-03-20 Thread Laurent Pinchart
Hi Ricardo, Thank you for the patch. On Thursday 19 March 2015 16:21:24 Ricardo Ribalda Delgado wrote: Any control that sets FLAG_WRITE_ONLY should OR it with FLAG_ACTION. Do you mean FLAG_EXECUTE_ON_WRITE ? So we can keep the current meaning of WRITE_ONLY. Signed-off-by: Ricardo Ribalda

[PATCH 1/3] v4l2-ctl: Add support for CVT, GTF modeline calculation

2015-03-20 Thread Prashant Laddha
This patch adds support for calculating v4l2_bt_timings based on CVT and GTF standards. The timings are calculated for a given standard, CVT or GTF using a set of parameters- width, height, refresh rate and flags like whether it is an interlaced format, and whether to use reduced blanking. CVT

[PATCH v2 3/5] media/v4l2-ctrls: Add execute flags to write_only controls

2015-03-20 Thread Ricardo Ribalda Delgado
Any control that sets FLAG_WRITE_ONLY should OR it with FLAG_EXECUTE_ON_WRITE. So we can keep the current meaning of WRITE_ONLY. Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- v2: Laurent Pinchart laurent.pinch...@ideasonboard.com Fix commit message

Re: [PATCH 2/5] media: New flag V4L2_CTRL_FLAG_EXECUTE_ON_WRITE

2015-03-20 Thread Hans Verkuil
On 03/19/2015 04:21 PM, Ricardo Ribalda Delgado wrote: Create a new flag that represent controls that represent controls that Double 'that represent controls' :-) its value needs to be passed to the driver even if it has not changed. They typically represent actions, like triggering a

[PATCH v2 2/2] vivid: add support to set CVT, GTF timings

2015-03-20 Thread Prashant Laddha
In addition to v4l2_find_dv_timings_cap(), where timings are searched against the list of preset timings, the incoming timing from v4l2-ctl is checked against CVT and GTF standards. If it confirms to be CVT or GTF, it is treated as valid timing and vivid format is updated with new timings. Cc:

[PATCH v1 00/11] LED / flash API integration

2015-03-20 Thread Jacek Anaszewski
This is a first non-RFC version of LED / flash API integration series [1]. It is based on linux-next_20150320. == Changes since RFC v13: == - reduced number of patches - some of them have been merged - slightly modified max77693-led device naming - fixed

[PATCH v1 03/11] leds: Add driver for AAT1290 current regulator

2015-03-20 Thread Jacek Anaszewski
This patch adds a driver for the 1.5A Step-Up Current Regulator for Flash LEDs. The device is programmed through a Skyworks proprietary AS2Cwire serial digital interface. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Bryan Wu

[PATCH v1 04/11] of: Add Skyworks Solutions, Inc. vendor prefix

2015-03-20 Thread Jacek Anaszewski
Use skyworks as the vendor prefix for the Skyworks Solutions, Inc. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com --- .../devicetree/bindings/vendor-prefixes.txt|1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v1 06/11] exynos4-is: Add support for v4l2-flash subdevs

2015-03-20 Thread Jacek Anaszewski
This patch adds support for external v4l2-flash devices. The support includes parsing flashes DT property and asynchronous subdevice registration. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Sylwester Nawrocki

cron job: media_tree daily build: WARNINGS

2015-03-20 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 Mar 21 04:00:13 CET 2015 git branch: test git hash: 3d945be05ac1e806af075e9315bc1b3409adae2b gcc

Re: [PATCH v8] media: i2c: add support for omnivision's ov2659 sensor

2015-03-20 Thread Varka Bhadram
On 03/20/2015 05:18 PM, Lad Prabhakar wrote: From: Benoit Parrot bpar...@ti.com this patch adds support for omnivision's ov2659 sensor, the driver supports following features: 1: Asynchronous probing 2: DT support 3: Media controller support Signed-off-by: Benoit Parrot bpar...@ti.com

Re: [PATCH v8] media: i2c: add support for omnivision's ov2659 sensor

2015-03-20 Thread Lad, Prabhakar
On Fri, Mar 20, 2015 at 12:05 PM, Varka Bhadram varkabhad...@gmail.com wrote: On 03/20/2015 05:18 PM, Lad Prabhakar wrote: From: Benoit Parrot bpar...@ti.com this patch adds support for omnivision's ov2659 sensor, the driver supports following features: 1: Asynchronous probing 2: DT

[PATCH v3 4/5] media/v4l2-ctrls: Always execute EXECUTE_ON_WRITE ctrls

2015-03-20 Thread Ricardo Ribalda Delgado
Any control with V4L2_CTRL_FLAG_EXECUTE_ON_WRITE set should return changed == true in cluster_changed. This forces the value to be passed to the driver even if it has not changed. Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- v3: Hans Verkuil hverk...@xs4all.nl Also set

[PATCH v10] media: i2c: add support for omnivision's ov2659 sensor

2015-03-20 Thread Lad Prabhakar
From: Benoit Parrot bpar...@ti.com this patch adds support for omnivision's ov2659 sensor, the driver supports following features: 1: Asynchronous probing 2: DT support 3: Media controller support Signed-off-by: Benoit Parrot bpar...@ti.com Signed-off-by: Lad, Prabhakar

Re: [PATCH 14/15] omap3isp: Add support for the Device Tree

2015-03-20 Thread Sakari Ailus
Hi Laurent, Thanks for the review. On Tue, Mar 17, 2015 at 02:48:54AM +0200, Laurent Pinchart wrote: Hi Sakari, Thank you for the patch. On Monday 16 March 2015 02:26:09 Sakari Ailus wrote: Add the ISP device to omap3 DT include file and add support to the driver to use it. Also

[PATCH v1 11/11] leds: aat1290: add support for V4L2 Flash sub-device

2015-03-20 Thread Jacek Anaszewski
Add support for V4L2 Flash sub-device to the aat1290 LED Flash class driver. The support allows for V4L2 Flash sub-device to take the control of the LED Flash class device. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Bryan Wu

[PATCH v1 07/11] media: Add registration helpers for V4L2 flash sub-devices

2015-03-20 Thread Jacek Anaszewski
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 kernel config the functions' empty versions will be

[PATCH v1 05/11] DT: Add documentation for the Skyworks AAT1290

2015-03-20 Thread Jacek Anaszewski
This patch adds device tree binding documentation for 1.5A Step-Up Current Regulator for Flash LEDs. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Bryan Wu coolo...@gmail.com Cc: Richard Purdie rpur...@rpsys.net ---

[PATCH v1 08/11] Documentation: leds: Add description of v4l2-flash sub-device

2015-03-20 Thread Jacek Anaszewski
This patch extends LED Flash class documention by the description of interactions with v4l2-flash sub-device. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Acked-by: Sakari Ailus sakari.ai...@linux.intel.com Cc: Bryan Wu

[PATCH v1 09/11] DT: Add documentation for exynos4-is 'flashes' property

2015-03-20 Thread Jacek Anaszewski
This patch adds a description of 'flashes' property to the samsung-fimc.txt. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Sylwester Nawrocki s.nawro...@samsung.com --- .../devicetree/bindings/media/samsung-fimc.txt |8

[PATCH v1 10/11] leds: max77693: add support for V4L2 Flash sub-device

2015-03-20 Thread Jacek Anaszewski
Add support for V4L2 Flash sub-device to the max77693 LED Flash class driver. The support allows for V4L2 Flash sub-device to take the control of the LED Flash class device. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Bryan Wu

[PATCH v3 2/2] vivid: add support to set CVT, GTF timings

2015-03-20 Thread Prashant Laddha
In addition to v4l2_find_dv_timings_cap(), where timings are searched against the list of preset timings, the incoming timing from v4l2-ctl is checked against CVT and GTF standards. If it confirms to be CVT or GTF, it is treated as valid timing and vivid format is updated with new timings. Cc:

Re: [RFC v3 5/9] cec: add new driver for cec support.

2015-03-20 Thread Hans Verkuil
Hi Kamil, Once again thank you for continuing this work! I do have some comments, see below. On 03/20/2015 05:52 PM, Kamil Debski wrote: Add the CEC framework. Signed-off-by: Hans Verkuil hansv...@cisco.com [k.deb...@samsung.com: Merged CEC Updates commit by Hans Verkuil]

[RFC v3 5/9] cec: add new driver for cec support.

2015-03-20 Thread Kamil Debski
Add the CEC framework. Signed-off-by: Hans Verkuil hansv...@cisco.com [k.deb...@samsung.com: Merged CEC Updates commit by Hans Verkuil] [k.deb...@samsung.com: Merged Update author commit by Hans Verkuil] [k.deb...@samsung.com: change kthread handling when setting logical address]

[RFC v3 3/9] Input: add key codes specific to the HDMI CEC bus

2015-03-20 Thread Kamil Debski
The HDMI CEC bus allows device to communicate with one another. This includes sending remote control key codes. Some of key codes defined in the CEC standard are not defined in the input.h. This patch adds the key codes that are missing. Signed-off-by: Kamil Debski k.deb...@samsung.com ---

[RFC v3 6/9] v4l2-subdev: add cec ops.

2015-03-20 Thread Kamil Debski
From: Hans Verkuil hansv...@cisco.com Add callbacks to the v4l2_subdev_video_ops. Signed-off-by: Hans Verkuil hansv...@cisco.com [k.deb...@samsung.com: Merged changes from CEC Updates commit by Hans Verkuil] Signed-off-by: Kamil Debski k.deb...@samsung.com --- include/media/v4l2-subdev.h |8

[RFC v3 7/9] adv7604: add cec support.

2015-03-20 Thread Kamil Debski
From: Hans Verkuil hansv...@cisco.com Add CEC support to the adv7604 driver. Signed-off-by: Hans Verkuil hansv...@cisco.com [k.deb...@samsung.com: Merged changes from CEC Updates commit by Hans Verkuil] Signed-off-by: Kamil Debski k.deb...@samsung.com --- drivers/media/i2c/adv7604.c | 182

[RFC v3 9/9] s5p-cec: Add s5p-cec driver

2015-03-20 Thread Kamil Debski
Add CEC interface driver present in the Samsung Exynos range of SoCs. The following files were based on work by SangPil Moon: - exynos_hdmi_cec.h - exynos_hdmi_cecctl.c Signed-off-by: Kamil Debski k.deb...@samsung.com --- drivers/media/platform/Kconfig |7 +

[RFC v3 8/9] adv7511: add cec support.

2015-03-20 Thread Kamil Debski
From: Hans Verkuil hansv...@cisco.com Add CEC support to the adv7511 driver. Signed-off-by: Hans Verkuil hansv...@cisco.com [k.deb...@samsung.com: Merged changes from CEC Updates commit by Hans Verkuil] Signed-off-by: Kamil Debski k.deb...@samsung.com --- drivers/media/i2c/adv7511.c | 325

[RFC v3 0/9] HDMI CEC framework

2015-03-20 Thread Kamil Debski
Hi, First of all - thank you so much for your comments to the two previous versions of this RFC. This is the third version of the HDMI CEC framework patches. In this version I have introduced a promiscuous mode in which all messages are forwarded to the userspace. This is independent of parsing

[RFC v3 1/9] dts: add hdmi-cec to to pinctrl definitions

2015-03-20 Thread Kamil Debski
Add entry for hdmi-cec to the pinctrl_1. Signed-off-by: Kamil Debski k.deb...@samsung.com --- arch/arm/boot/dts/exynos4412-odroid-common.dtsi |7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi

Re: [PATCH v2 0/3] OMAP 3 ISP (and N9/N950 primary camera support) dts changes

2015-03-20 Thread Sakari Ailus
On Thu, Mar 19, 2015 at 10:28:44AM -0700, Tony Lindgren wrote: * Sakari Ailus sakari.ai...@iki.fi [150318 16:51]: Hi folks, Since v1, I've rebased the set on Tero Kristo's PRCM / SCM cleanup patchset here: URL:http://www.spinics.net/lists/linux-omap/msg116949.html v1 can be

[PATCH 1/5] DocBook media: improve V4L2_DV_FL_HALF_LINE documentation

2015-03-20 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Explicitly specify where the half-line is added or removed in each field. Signed-off-by: Hans Verkuil hans.verk...@cisco.com Cc: Prashant Laddha prlad...@cisco.com --- Documentation/DocBook/media/v4l/vidioc-g-dv-timings.xml | 9 + 1 file

[PATCH 0/5] v4l2_dv_timings: add V4L2_DV_FL_IS_CE_VIDEO flag

2015-03-20 Thread Hans Verkuil
This patch series improves the V4L2_DV_FL_HALF_LINE documentation and adds a new V4L2_DV_FL_IS_CE_VIDEO flag to tell whether this particular timing format is a CE video format or not. Previously V4L2_DV_BT_STD_CEA861 was used for that, but that fails with the CEA-861 640x480p49.94 format, which

[PATCH 3/5] DocBook media: document the new V4L2_DV_FL_IS_CE_VIDEO flag

2015-03-20 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Document this new flag. Signed-off-by: Hans Verkuil hans.verk...@cisco.com Cc: Martin Bugge marbu...@cisco.com Cc: Mats Randgaard mats.randga...@cisco.com --- Documentation/DocBook/media/v4l/vidioc-g-dv-timings.xml | 9 + 1 file changed, 9

[PATCH 5/5] vivid: use V4L2_DV_FL_IS_CE_VIDEO instead of V4L2_DV_BT_STD_CEA861.

2015-03-20 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Don't rely on V4L2_DV_BT_STD_CEA861 since that include the 640x480p format, which is an IT format, not CE. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/platform/vivid/vivid-ctrls.c | 2 +-

[PATCH 4/5] adv: use V4L2_DV_FL_IS_CE_VIDEO instead of V4L2_DV_BT_STD_CEA861.

2015-03-20 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Don't rely on V4L2_DV_BT_STD_CEA861 since that include the 640x480p format, which is an IT format, not CE. Signed-off-by: Hans Verkuil hans.verk...@cisco.com Cc: Martin Bugge marbu...@cisco.com Cc: Mats Randgaard mats.randga...@cisco.com ---

Re: [PATCH v2 2/2] vivid: add support to set CVT, GTF timings

2015-03-20 Thread Hans Verkuil
Hi Prashant, On 03/20/2015 03:48 PM, Prashant Laddha wrote: In addition to v4l2_find_dv_timings_cap(), where timings are searched against the list of preset timings, the incoming timing from v4l2-ctl is checked against CVT and GTF standards. If it confirms to be CVT or GTF, it is treated as

[PATCH 2/5] videodev2.h/v4l2-dv-timings.h: add V4L2_DV_FL_IS_CE_VIDEO flag

2015-03-20 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com In the past the V4L2_DV_BT_STD_CEA861 standard bit was used to determine whether the format is a CE (Consumer Electronics) format or not. However, the 640x480p59.94 format is part of the CEA-861 standard, but it is *not* a CE video format. Add a new flag

[PATCH] OMAP3 ISP: Support top and bottom fields

2015-03-20 Thread Tim Nordell
The OMAP3ISP can selectively stream either the top or bottom field by setting the start line vertical field to a high value for the field that one doesn't want to stream. The driver can switch between these utilizing the vertical start feature of the CCDC. Additionally, we need to ensure that

[PATCH v1.1 14/15] omap3isp: Add support for the Device Tree

2015-03-20 Thread Sakari Ailus
Add the ISP device to omap3 DT include file and add support to the driver to use it. Also obtain information on the external entities and the ISP configuration related to them through the Device Tree in addition to the platform data. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi --- since v1:

[PATCH v1.1 12/15] dt: bindings: Add lane-polarity property to endpoint nodes

2015-03-20 Thread Sakari Ailus
Add lane-polarity property to endpoint nodes. This essentially tells that the order of the differential signal wires is inverted. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- since v1: - Rename lane-polarity property as

[PATCH v1.1 13/15] v4l: of: Read lane-polarities endpoint property

2015-03-20 Thread Sakari Ailus
Add lane_polarities field to struct v4l2_of_bus_mipi_csi2 and write the contents of the lane-polarities property to it. The field tells the polarity of the physical lanes starting from the first one. Any unused lanes are ignored, i.e. only the polarity of the used lanes is specified. Also rework