[PATCH] hdmi: audio infoframe log: corrected channel count

2017-06-29 Thread Martin Bugge
Audio channel count should start from 2. Reference: CEA-861-F Table 27. Cc: Hans Verkuil Reported-by: Ahung Cheng Signed-off-by: Martin Bugge --- drivers/video/hdmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/hdmi.c b/drivers/video/hdmi.c index 1cf907e

[PATCH] [media] v4l2-dv-timings.h: CEA-861-F 4K timings have positive sync polarities

2016-04-25 Thread Martin Bugge
Corrected sync polarities for CEA-861-F timings 3840x2160p24/25/30/50/60 and 4096x2160p24/25/30/50/60. Cc: Hans Verkuil Signed-off-by: Martin Bugge --- include/uapi/linux/v4l2-dv-timings.h | 30 -- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a

Re: [PATCH 2/3] [media] adv7842: Source Product Description (SPD) InfoFrame

2014-03-19 Thread Martin Bugge (marbugge)
Thank you Hans On 19/03/14 11:13, Hans Verkuil wrote: Hi Martin, On 03/19/14 10:43, Martin Bugge wrote: Decode and display any received SPD InfoFrame in log-status. This is really quite standardized data. I looked around in the kernel and I found this very nice header: include/linux/hdmi.h

[PATCH 0/3] [media] adv7842 fixes

2014-03-19 Thread Martin Bugge
This patch series applies a few fixes for adv7842 from Cisco's internal tree. -- 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 3/3] [media] adv7842: Disable access to EDID DDC lines before chip power up.

2014-03-19 Thread Martin Bugge
the DDC lines was enabled read a corrupt EDID. Signed-off-by: Martin Bugge --- drivers/media/i2c/adv7842.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/media/i2c/adv7842.c b/drivers/media/i2c/adv7842.c index 805a117..3b3bd42 100644 --- a/drivers/media/i2c

[PATCH 2/3] [media] adv7842: Source Product Description (SPD) InfoFrame

2014-03-19 Thread Martin Bugge
Decode and display any received SPD InfoFrame in log-status. Signed-off-by: Martin Bugge --- drivers/media/i2c/adv7842.c | 76 + 1 file changed, 76 insertions(+) diff --git a/drivers/media/i2c/adv7842.c b/drivers/media/i2c/adv7842.c index 5d79c57

[PATCH 1/3] [media] adv7842: update RGB quantization range on HDMI/DVI-D mode irq.

2014-03-19 Thread Martin Bugge
This was the reason for enabling the HDMI/DVI-D mode irq in the first place. Signed-off-by: Martin Bugge --- drivers/media/i2c/adv7842.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/i2c/adv7842.c b/drivers/media/i2c/adv7842.c index 636ac08..5d79c57 100644 --- a/drivers

[PATCH 1/3] [media] ths8200: Zero blanking level for RGB.

2014-02-07 Thread Martin Bugge
Currently only RGB444 input data is supported so set to zero. Acked-by: Lad, Prabhakar Signed-off-by: Martin Bugge --- drivers/media/i2c/ths8200.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/i2c/ths8200.c b/drivers/media/i2c/ths8200.c index 04139ee

[PATCH 3/3] [media] ths8200: Format adjustment.

2014-02-07 Thread Martin Bugge
Closer inspection on excact transmitted format showed that we needed to add 1 on vertical sync. Acked-by: Lad, Prabhakar Signed-off-by: Martin Bugge --- drivers/media/i2c/ths8200.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/media/i2c

[PATCH 2/3] [media] ths8200: Corrected sync polarities setting.

2014-02-07 Thread Martin Bugge
HS_IN/VS_IN was always set to positive. Acked-by: Lad, Prabhakar Signed-off-by: Martin Bugge --- drivers/media/i2c/ths8200.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/i2c/ths8200.c b/drivers/media/i2c/ths8200.c index 5c7dca3..bcacf52 100644 --- a/drivers

[PATCH 0/3] [media] ths8200 fixes

2014-02-07 Thread Martin Bugge
This patch series applies a few fixes for ths8200 from Cisco's internal tree. -- 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] [media] adv7842: Composite free-run platfrom-data fix

2014-01-29 Thread Martin Bugge
Incorrectly setting of free-run for Composite. Copy/paste regression fix. Should go to kernel 3.14. Cc: Hans Verkuil Signed-off-by: Martin Bugge --- drivers/media/i2c/adv7842.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/i2c/adv7842.c b/drivers/media/i2c

[PATCH 2/4] [media] adv7842: pixelclock read-out

2014-01-24 Thread Martin Bugge
Incorrect registers used for pixelclock read-out. Same registers as for adv7604 which actually gave an almost correct read-out, even they are not documented for adv7842. Corrected deep-color pixel-clock correction. Cc: Mats Randgaard Cc: Hans Verkuil Signed-off-by: Martin Bugge --- drivers

[PATCH 0/4] [media] adv7842 fixes

2014-01-24 Thread Martin Bugge
This patch series applies a few fixes for adv7842 from Cisco's internal tree. -- 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 1/4] [media] adv7842: adjust gain and offset for DVI-D signals

2014-01-24 Thread Martin Bugge
If the input signal is DVI-D and quantization range is RGB full range, gain and offset must be adjusted to get the right range on the output. Copied and adopted from adv7604. Cc: Mats Randgaard Cc: Hans Verkuil Signed-off-by: Martin Bugge --- drivers/media/i2c/adv7842.c | 109

[PATCH 4/4] [media] adv7842: platform-data for Hotplug Active (HPA) manual/auto

2014-01-24 Thread Martin Bugge
-by: Martin Bugge --- drivers/media/i2c/adv7842.c | 12 +--- include/media/adv7842.h | 3 +++ 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/drivers/media/i2c/adv7842.c b/drivers/media/i2c/adv7842.c index 209b175..e04fe3f 100644 --- a/drivers/media/i2c/adv7842.c +++ b

[PATCH 3/4] [media] adv7842: log-status for Audio Video Info frames (AVI)

2014-01-24 Thread Martin Bugge
Clear any pending AVI checksum-errors. To be able to display last received AVI. Cc: Mats Randgaard Cc: Hans Verkuil Signed-off-by: Martin Bugge --- drivers/media/i2c/adv7842.c | 21 - 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/drivers/media/i2c/adv7842

[PATCH] [media] v4l2-dv-timings: fix GTF calculation

2014-01-23 Thread Martin Bugge
Randgaard Cc: Hans Verkuil Signed-off-by: Martin Bugge --- drivers/media/v4l2-core/v4l2-dv-timings.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/v4l2-core/v4l2-dv-timings.c b/drivers/media/v4l2-core/v4l2-dv-timings.c index ee52b9f4..f7902fe 100644 --- a/drivers/media/v4l2-core

Re: Preliminary proposal, new APIs for HDMI and DVI control in v4l2

2012-05-30 Thread Martin Bugge (marbugge)
Hi Soby On 05/27/2012 07:30 PM, Soby Mathew wrote: Martin Bugge (marbugge cisco.com> writes: This is a preliminary proposal for an extension to the v4l2 api. To be discussed at the V4L2 'brainstorming' meeting in Warsaw, March 2011 Purpose: Provide basic controls for HDMI an

Preliminary proposal, new APIs for HDMI and DVI control in v4l2

2011-03-14 Thread Martin Bugge (marbugge)
ling. See CEA-861-D table 11. A lot of these handle colorspace information. It is not clear yet whether this should be set up using S_FMT/mediabus APIs, or by explicit controls. Martin Bugge -- 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

Re: [RFC] HDMI-CEC proposal, ver 2

2011-03-14 Thread Martin Bugge (marbugge)
Hi Daniel and thank you, On 03/12/2011 01:42 AM, Daniel Glöckner wrote: Hi Martin, On Fri, Mar 11, 2011 at 12:36:09PM +0100, Martin Bugge (marbugge) wrote: Not every tx status is applicable for all modes, see table 1. |-| |Av link

[RFC] HDMI-CEC proposal, ver 2

2011-03-11 Thread Martin Bugge (marbugge)
Hi This is an updated version of the proposal for adding an api for HDMI-CEC to V4L2. Main difference is the support of AV.link EN 50157-2-[123]. (thanks to Daniel Glöckner) Author: Martin Bugge Date: Fri, 11th of March 2010 = This is a proposal for adding a

Re: [RFC] HDMI-CEC proposal

2011-03-03 Thread Martin Bugge (marbugge)
On 03/03/2011 11:37 AM, Laurent Pinchart wrote: Hi Martin, On Tuesday 01 March 2011 10:59:07 Martin Bugge (marbugge) wrote: Author: Martin Bugge Date: Tue, 1 March 2010 == This is a proposal for adding a Consumer Electronic Control (CEC) API to V4L2. This document

Re: [RFC] HDMI-CEC proposal

2011-03-02 Thread Martin Bugge (marbugge)
On 03/02/2011 12:38 AM, Daniel Glöckner wrote: On Tue, Mar 01, 2011 at 10:59:07AM +0100, Martin Bugge (marbugge) wrote: CEC is a protocol that provides high-level control functions between various audiovisual products. It is an optional supplement to the High-Definition Multimedia Interface

Re: [RFC] HDMI-CEC proposal

2011-03-01 Thread Martin Bugge (marbugge)
On 03/01/2011 02:47 PM, Andy Walls wrote: On Tue, 2011-03-01 at 10:59 +0100, Martin Bugge (marbugge) wrote: Author: Martin Bugge Date: Tue, 1 March 2010 == This is a proposal for adding a Consumer Electronic Control (CEC) API to V4L2. This document describes the

[RFC] HDMI-CEC proposal

2011-03-01 Thread Martin Bugge (marbugge)
Author: Martin Bugge Date: Tue, 1 March 2010 == This is a proposal for adding a Consumer Electronic Control (CEC) API to V4L2. This document describes the changes and new ioctls needed. Version 1.0 (This is first version) Background == CEC is a protocol that