[PATCH v2 01/48] v4l: of: Support empty port nodes

2014-03-10 Thread Laurent Pinchart
Empty port nodes are allowed but currently unsupported as the v4l2_of_get_next_endpoint() function assumes that all port nodes have at least an endpoint. Fix this. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/v4l2-core/v4l2-of.c | 52

[PATCH v2 00/48] ADV7611 support

2014-03-10 Thread Laurent Pinchart
Hello, This patch set implements support for the ADV7611 in the adv7604 driver. It also comes up with new features such as output format configuration through pad format operations, hot-plug detect control through GPIO and DT support. Patches 06/48 to 24/48 and 39/48 replace the subdev video DV

[PATCH v2 43/48] adv7604: Sort headers alphabetically

2014-03-10 Thread Laurent Pinchart
This helps locating duplicates and inserting new headers. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/i2c/adv7604.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/media/i2c/adv7604.c b/drivers/media/i2c/adv7604.c

[PATCH v2 46/48] adv7604: Add DT support

2014-03-10 Thread Laurent Pinchart
Parse the device tree node to populate platform data. Cc: devicet...@vger.kernel.org Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- .../devicetree/bindings/media/i2c/adv7604.txt | 56 + drivers/media/i2c/adv7604.c| 92

[PATCH v2 48/48] adv7604: Add endpoint properties to DT bindings

2014-03-10 Thread Laurent Pinchart
Add support for the hsync-active, vsync-active and pclk-sample properties to the DT bindings and control BT.656 mode implicitly. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- .../devicetree/bindings/media/i2c/adv7604.txt | 13 + drivers/media/i2c/adv7604.c

[PATCH v2 47/48] adv7604: Add LLC polarity configuration

2014-03-10 Thread Laurent Pinchart
Add an inv_llc_pol field to platform data to control the clock polarity. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/i2c/adv7604.c | 3 ++- include/media/adv7604.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git

[PATCH v2 45/48] adv7604: Specify the default input through platform data

2014-03-10 Thread Laurent Pinchart
And set input routing when initializing the device. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/i2c/adv7604.c | 7 +++ include/media/adv7604.h | 2 ++ 2 files changed, 9 insertions(+) diff --git a/drivers/media/i2c/adv7604.c

[PATCH v2 37/48] adv7604: Add pad-level DV timings support

2014-03-10 Thread Laurent Pinchart
Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/i2c/adv7604.c | 47 + 1 file changed, 43 insertions(+), 4 deletions(-) diff --git a/drivers/media/i2c/adv7604.c b/drivers/media/i2c/adv7604.c index 66b3481..a96c339

[PATCH v2 38/48] adv7604: Remove deprecated video-level DV timings operations

2014-03-10 Thread Laurent Pinchart
The video enum_dv_timings and dv_timings_cap operations are deprecated and unused. Remove them. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/i2c/adv7604.c | 35 +-- 1 file changed, 9 insertions(+), 26 deletions(-) diff --git

[PATCH v2 42/48] adv7604: Replace *_and_or() functions with *_clr_set()

2014-03-10 Thread Laurent Pinchart
The *_and_or() functions take an 'and' bitmask to be ANDed with the register value before ORing it with th 'or' bitmask. As the functions are used to mask and set bits selectively, this requires the caller to invert the 'and' bitmask and is thus error prone. Replace those functions with a

[PATCH v2 25/48] v4l: Improve readability by not wrapping ioctl number #define's

2014-03-10 Thread Laurent Pinchart
Wrapping the #define's at a 80 columns boundary just obfuscates the code. Don't do that. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Reviewed-by: Hans Verkuil hans.verk...@cisco.com Acked-by: Sakari Ailus sakari.ai...@linux.intel.com --- include/uapi/linux/v4l2-subdev.h |

[PATCH v2 41/48] adv7604: Store I2C addresses and clients in arrays

2014-03-10 Thread Laurent Pinchart
This allows replacing duplicate code blocks by loops over the arrays. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/i2c/adv7604.c | 248 +--- include/media/adv7604.h | 30 +++--- 2 files changed, 88 insertions(+),

[PATCH v2 39/48] v4l: subdev: Remove deprecated video-level DV timings operations

2014-03-10 Thread Laurent Pinchart
The video enum_dv_timings and dv_timings_cap operations are deprecated and unused. Remove them. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Reviewed-by: Hans Verkuil hans.verk...@cisco.com Acked-by: Sakari Ailus sakari.ai...@linux.intel.com --- include/media/v4l2-subdev.h |

[PATCH v2 36/48] adv7604: Make output format configurable through pad format operations

2014-03-10 Thread Laurent Pinchart
Replace the dummy video format operations by pad format operations that configure the output format. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/i2c/adv7604.c | 243 +++- include/media/adv7604.h | 47 ++---

[PATCH v2 26/48] v4l: Add support for DV timings ioctls on subdev nodes

2014-03-10 Thread Laurent Pinchart
Validate the pad field in the core code whenever specified. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- .../DocBook/media/v4l/vidioc-dv-timings-cap.xml| 27 +++ .../DocBook/media/v4l/vidioc-enum-dv-timings.xml | 30 +-

[PATCH v2 40/48] adv7604: Inline the to_sd function

2014-03-10 Thread Laurent Pinchart
This one line function is called in a single location. Inline it. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/i2c/adv7604.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/media/i2c/adv7604.c

[PATCH v2 44/48] adv7604: Support hot-plug detect control through a GPIO

2014-03-10 Thread Laurent Pinchart
Add support for optional GPIO-controlled HPD pins in addition to the ADV7604-specific hotplug notifier. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/i2c/adv7604.c | 37 + 1 file changed, 33 insertions(+), 4 deletions(-)

[PATCH v2 32/48] adv7604: Cache register contents when reading multiple bits

2014-03-10 Thread Laurent Pinchart
When extracting multiple bits from a single register read the register once and extract the bits on the read value. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/i2c/adv7604.c | 33 - 1 file changed, 20 insertions(+), 13

[PATCH v2 31/48] adv7604: Add 16-bit read functions for CP and HDMI

2014-03-10 Thread Laurent Pinchart
Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/i2c/adv7604.c | 48 ++--- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/drivers/media/i2c/adv7604.c b/drivers/media/i2c/adv7604.c index 81d737c..75b3dae

[PATCH v2 33/48] adv7604: Add adv7611 support

2014-03-10 Thread Laurent Pinchart
From: Lars-Peter Clausen l...@metafoo.de This patch adds support for the Analog Devices ADV7611 HDMI receiver. The adv7611 is quite similar to the adv7604. It has only one instead of four HDMI inputs and no analog frontend though. Also some register bits have been shuffled around, but large parts

[PATCH v2 21/48] s5p-tv: hdmi: Remove deprecated video-level DV timings operations

2014-03-10 Thread Laurent Pinchart
The video enum_dv_timings and dv_timings_cap operations are deprecated and unused. Remove them. Cc: Kyungmin Park kyungmin.p...@samsung.com Cc: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Reviewed-by: Hans Verkuil

[PATCH v2 22/48] s5p-tv: hdmiphy: Remove deprecated video-level DV timings operation

2014-03-10 Thread Laurent Pinchart
The video enum_dv_timings operation is deprecated and unused. Remove it. Cc: Kyungmin Park kyungmin.p...@samsung.com Cc: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Reviewed-by: Hans Verkuil hans.verk...@cisco.com ---

[PATCH v2 16/48] media: staging: davinci: vpfe: Switch to pad-level DV operations

2014-03-10 Thread Laurent Pinchart
The video-level enum_dv_timings and dv_timings_cap operations are deprecated in favor of the pad-level versions. All subdev drivers implement the pad-level versions, switch to them. Cc: Prabhakar Lad prabhakar.cse...@gmail.com Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com

[PATCH v2 04/48] v4l: Add 12-bit YUV 4:2:0 media bus pixel codes

2014-03-10 Thread Laurent Pinchart
Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Reviewed-by: Hans Verkuil hans.verk...@cisco.com --- Documentation/DocBook/media/v4l/subdev-formats.xml | 288 + include/uapi/linux/v4l2-mediabus.h | 6 +- 2 files changed, 293 insertions(+), 1

[PATCH v2 06/48] v4l: Add pad-level DV timings subdev operations

2014-03-10 Thread Laurent Pinchart
Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- include/media/v4l2-subdev.h| 4 include/uapi/linux/videodev2.h | 10 -- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/include/media/v4l2-subdev.h b/include/media/v4l2-subdev.h index

[PATCH v2 09/48] adv7842: Add pad-level DV timings operations

2014-03-10 Thread Laurent Pinchart
The video enum_dv_timings and dv_timings_cap operations are deprecated. Implement the pad-level version of those operations to prepare for the removal of the video version. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Reviewed-by: Hans Verkuil hans.verk...@cisco.com ---

[PATCH v2 11/48] s5p-tv: hdmiphy: Add pad-level DV timings operations

2014-03-10 Thread Laurent Pinchart
The video enum_dv_timings operation is deprecated. Implement the pad-level version of the operation to prepare for the removal of the video version. Cc: Kyungmin Park kyungmin.p...@samsung.com Cc: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Laurent Pinchart

[PATCH v2 24/48] tvp7002: Remove deprecated video-level DV timings operations

2014-03-10 Thread Laurent Pinchart
The video enum_dv_timings and dv_timings_cap operations are deprecated and unused. Remove them. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Reviewed-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/i2c/tvp7002.c | 1 - 1 file changed, 1 deletion(-) diff --git

[PATCH v2 28/48] adv7604: Add missing include to linux/types.h

2014-03-10 Thread Laurent Pinchart
From: Lars-Peter Clausen l...@metafoo.de The file is using u8 which is defined in linux/types.h. Signed-off-by: Lars-Peter Clausen l...@metafoo.de Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- include/media/adv7604.h | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH v2 20/48] adv7842: Remove deprecated video-level DV timings operations

2014-03-10 Thread Laurent Pinchart
The video enum_dv_timings and dv_timings_cap operations are deprecated and unused. Remove them. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Reviewed-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/i2c/adv7842.c | 2 -- 1 file changed, 2 deletions(-) diff --git

[PATCH v2 18/48] ad9389b: Remove deprecated video-level DV timings operations

2014-03-10 Thread Laurent Pinchart
The video enum_dv_timings and dv_timings_cap operations are deprecated and unused. Remove them. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Reviewed-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/i2c/ad9389b.c | 2 -- 1 file changed, 2 deletions(-) diff --git

[PATCH v2 12/48] ths8200: Add pad-level DV timings operations

2014-03-10 Thread Laurent Pinchart
The video enum_dv_timings and dv_timings_cap operations are deprecated. Implement the pad-level version of those operations to prepare for the removal of the video version. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Reviewed-by: Hans Verkuil hans.verk...@cisco.com ---

[PATCH v2 02/48] v4l: Add UYVY10_2X10 and VYUY10_2X10 media bus pixel codes

2014-03-10 Thread Laurent Pinchart
Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Reviewed-by: Hans Verkuil hans.verk...@cisco.com --- Documentation/DocBook/media/v4l/subdev-formats.xml | 128 + include/uapi/linux/v4l2-mediabus.h | 4 +- 2 files changed, 131 insertions(+), 1

[PATCH v2 19/48] adv7511: Remove deprecated video-level DV timings operations

2014-03-10 Thread Laurent Pinchart
The video enum_dv_timings and dv_timings_cap operations are deprecated and unused. Remove them. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Reviewed-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/i2c/adv7511.c | 2 -- 1 file changed, 2 deletions(-) diff --git

[PATCH v2 08/48] adv7511: Add pad-level DV timings operations

2014-03-10 Thread Laurent Pinchart
The video enum_dv_timings and dv_timings_cap operations are deprecated. Implement the pad-level version of those operations to prepare for the removal of the video version. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Reviewed-by: Hans Verkuil hans.verk...@cisco.com ---

[PATCH v2 15/48] media: davinci: vpif: Switch to pad-level DV operations

2014-03-10 Thread Laurent Pinchart
The video-level enum_dv_timings and dv_timings_cap operations are deprecated in favor of the pad-level versions. All subdev drivers implement the pad-level versions, switch to them. Cc: Prabhakar Lad prabhakar.cse...@gmail.com Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com

[PATCH v2 14/48] media: bfin_capture: Switch to pad-level DV operations

2014-03-10 Thread Laurent Pinchart
The video-level enum_dv_timings and dv_timings_cap operations are deprecated in favor of the pad-level versions. All subdev drivers implement the pad-level versions, switch to them. Cc: Scott Jiang scott.jiang.li...@gmail.com Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com

[PATCH v2 07/48] ad9389b: Add pad-level DV timings operations

2014-03-10 Thread Laurent Pinchart
The video enum_dv_timings and dv_timings_cap operations are deprecated. Implement the pad-level version of those operations to prepare for the removal of the video version. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Reviewed-by: Hans Verkuil hans.verk...@cisco.com ---

[PATCH v2 17/48] s5p-tv: mixer: Switch to pad-level DV operations

2014-03-10 Thread Laurent Pinchart
The video-level enum_dv_timings and dv_timings_cap operations are deprecated in favor of the pad-level versions. All subdev drivers implement the pad-level versions, switch to them. Cc: Kyungmin Park kyungmin.p...@samsung.com Cc: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Laurent

Re: [REVIEW PATCH 1/3] v4l2-subdev.h: add g_tvnorms video op

2014-03-10 Thread Guennadi Liakhovetski
Hi Hans, Thanks for taking care about this problem. I'm not sure it would be ok for me to pull this specific patch via my tree, because it's for the V4L2 core, and the other 2 patches in this series depend on this one. But anyway I've got a question to this patch: On Mon, 17 Feb 2014, Hans

Re: [REVIEW PATCH 1/3] v4l2-subdev.h: add g_tvnorms video op

2014-03-10 Thread Hans Verkuil
On 03/11/2014 12:23 AM, Guennadi Liakhovetski wrote: Hi Hans, Thanks for taking care about this problem. I'm not sure it would be ok for me to pull this specific patch via my tree, because it's for the V4L2 core, and the other 2 patches in this series depend on this one. It's OK by me to

Re: dvb-apps build failure

2014-03-10 Thread Jonathan McCrohan
Hi Oliver, On Thu, 06 Feb 2014 09:25:14 +0100, Quentin Glidic wrote: Hello, When building dvb-apps from the Mercurial repository, you hit the following error: install: cannot stat 'atsc/*': No such file or directory In the latest changeset

cron job: media_tree daily build: WARNINGS

2014-03-10 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: Tue Mar 11 04:00:26 CET 2014 git branch: test git hash: f2d7313534072a5fe192e7cf46204b413acef479 gcc

<    1   2