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
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
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:
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
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
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
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
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
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(+)
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
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
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
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!)
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
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
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
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:
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
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
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
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
---
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
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
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
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
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:
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
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
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
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
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
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
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
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
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
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
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
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
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
---
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
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
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
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:
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]
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]
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
---
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
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
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 +
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
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
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
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
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
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
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
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 +-
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
---
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
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
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
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:
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
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
64 matches
Mail list logo