Re: [PATCH] v4l2-dev: Add tracepoints for QBUF and DQBUF

2013-12-10 Thread Hans Verkuil
On 12/10/2013 09:53 PM, Mauro Carvalho Chehab wrote: > Em Sat, 23 Nov 2013 17:54:48 +0100 > Hans Verkuil escreveu: > >> On 11/23/2013 05:30 PM, Sylwester Nawrocki wrote: >>> Hi, >>> >>> On 11/23/2013 12:25 PM, Hans Verkuil wrote: Hi Wade, On 11/22/2013 08:48 PM, Wade Farnsworth wro

[PATCH v3] staging: media: davinci_vpfe: Rewrite return statement in vpfe_video.c

2013-12-10 Thread Lisa Nguyen
Rewrite the return statement in vpfe_video.c. This will prevent the checkpatch.pl script from generating a warning saying to remove () from this particular return statement. Signed-off-by: Lisa Nguyen --- Changes since v3: - Removed () from return statement per Laurent Pinchart's suggestion dri

cron job: media_tree daily build: ERRORS

2013-12-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: Wed Dec 11 04:00:23 CET 2013 git branch: test git hash: 8a38db133358f9370e6bb453371e630495c59070 gcc versio

Re: [PATCH v2] staging: media: davinci_vpfe: Rewrite return statement in vpfe_video.c

2013-12-10 Thread Prabhakar Lad
Hi Lisa, On Tue, Dec 10, 2013 at 11:27 PM, Lisa Nguyen wrote: > Hi Laurent, > > On Tue, Dec 10, 2013 at 8:50 AM, Laurent Pinchart > wrote: >> Hi Lisa, >> >> Thank you for the patch. >> >> On Tuesday 10 December 2013 08:05:42 Lisa Nguyen wrote: >>> Rewrite the return statement in vpfe_video.c to

Re: [PATCH 4/7] em28xx: reduce the polling interval for buttons

2013-12-10 Thread Mauro Carvalho Chehab
Em Sun, 1 Dec 2013 22:06:54 +0100 Frank Schäfer escreveu: > For GPI-connected buttons without (hardware) debouncing, the polling interval > needs to be reduced to detect button presses properly. > > Signed-off-by: Frank Schäfer > --- > drivers/media/usb/em28xx/em28xx-input.c |2 +- > 1 D

Re: [PATCH] v4l2-dev: Add tracepoints for QBUF and DQBUF

2013-12-10 Thread Mauro Carvalho Chehab
Em Sat, 23 Nov 2013 17:54:48 +0100 Hans Verkuil escreveu: > On 11/23/2013 05:30 PM, Sylwester Nawrocki wrote: > > Hi, > > > > On 11/23/2013 12:25 PM, Hans Verkuil wrote: > >> Hi Wade, > >> > >> On 11/22/2013 08:48 PM, Wade Farnsworth wrote: > >>> Add tracepoints to the QBUF and DQBUF ioctls to e

Re: [PATCH] omap3isp: Fix buffer flags handling when querying buffer

2013-12-10 Thread Sakari Ailus
On Tue, Dec 10, 2013 at 02:53:39AM +0100, Laurent Pinchart wrote: > A missing break resulted in all done buffers being flagged with > V4L2_BUF_FLAG_QUEUED. Fix it. > > Signed-off-by: Laurent Pinchart > --- > drivers/media/platform/omap3isp/ispqueue.c | 2 ++ > 1 file changed, 2 insertions(+) >

Re: Fwd: dib8000 scanning not working on 3.10.3

2013-12-10 Thread Ezequiel Garcia
Hi Luis, On Wed, Jul 31, 2013 at 03:47:10PM -0300, Luis Polasek wrote: > Hi, I just upgraded my kernel to 3.10.3, and dib8000 scanning does not > work anymore. > I'm just wondering, is this issue still present in mainline kernel? -- Ezequiel García, Free Electrons Embedded Linux, Kernel and And

Re: [PATCH v2] staging: media: davinci_vpfe: Rewrite return statement in vpfe_video.c

2013-12-10 Thread Lisa Nguyen
Hi Laurent, On Tue, Dec 10, 2013 at 8:50 AM, Laurent Pinchart wrote: > Hi Lisa, > > Thank you for the patch. > > On Tuesday 10 December 2013 08:05:42 Lisa Nguyen wrote: >> Rewrite the return statement in vpfe_video.c to eliminate the >> use of a ternary operator. This will prevent the checkpatch.

Re: [PATCH v2] staging: media: davinci_vpfe: Rewrite return statement in vpfe_video.c

2013-12-10 Thread Laurent Pinchart
Hi Lisa, Thank you for the patch. On Tuesday 10 December 2013 08:05:42 Lisa Nguyen wrote: > Rewrite the return statement in vpfe_video.c to eliminate the > use of a ternary operator. This will prevent the checkpatch.pl > script from generating a warning saying to remove () from > this particular

Re: Patch mceusb: fix invalid urb interval

2013-12-10 Thread Mauro Carvalho Chehab
Em Sun, 10 Nov 2013 10:50:45 + (UTC) Martin Kittel escreveu: > Hi, > > I had trouble getting my MCE remote control to work on my new Intel > mainboard. It was working fine with older boards but with the new board > there would be no reply from the remote just after the setup package was > re

[PATCH v2] staging: media: davinci_vpfe: Rewrite return statement in vpfe_video.c

2013-12-10 Thread Lisa Nguyen
Rewrite the return statement in vpfe_video.c to eliminate the use of a ternary operator. This will prevent the checkpatch.pl script from generating a warning saying to remove () from this particular return statement. Signed-off-by: Lisa Nguyen --- Changes since v2: - Aligned -ETIMEDOUT return sta

[RFC PATCH 05/22] adv7842: support YCrCb analog input.

2013-12-10 Thread Hans Verkuil
From: Martin Bugge Signed-off-by: Martin Bugge Signed-off-by: Hans Verkuil --- drivers/media/i2c/adv7842.c | 40 +--- include/media/adv7842.h | 3 --- 2 files changed, 29 insertions(+), 14 deletions(-) diff --git a/drivers/media/i2c/adv7842.c b/drivers

[RFC PATCH 19/22] adv7842: enable HDMI/DVI mode irq

2013-12-10 Thread Hans Verkuil
From: Martin Bugge Signed-off-by: Martin Bugge Signed-off-by: Hans Verkuil --- drivers/media/i2c/adv7842.c | 36 ++-- 1 file changed, 26 insertions(+), 10 deletions(-) diff --git a/drivers/media/i2c/adv7842.c b/drivers/media/i2c/adv7842.c index 64f0611..9f45928

[RFC PATCH 18/22] adv7842: i2c dummy clients registration.

2013-12-10 Thread Hans Verkuil
From: Martin Bugge Clear i2c_clients ptr when unregistered. Warn if configured i2c-addr is zero. Signed-off-by: Martin Bugge Signed-off-by: Hans Verkuil --- drivers/media/i2c/adv7842.c | 83 ++--- 1 file changed, 63 insertions(+), 20 deletions(-) diff

Re: [PATCH 2/2] staging: media: davinci_vpfe: Remove spaces before semicolons

2013-12-10 Thread Prabhakar Lad
Hi Lisa, On Tue, Dec 10, 2013 at 8:38 PM, Lisa Nguyen wrote: > Hi Prabhakar, > > On Tue, Dec 10, 2013 at 7:04 AM, Prabhakar Lad > wrote: >> Hi Lisa, >> >> On Tue, Dec 10, 2013 at 8:27 PM, Lisa Nguyen wrote: >>> Hi everyone, >>> >>> On Tue, Dec 10, 2013 at 6:34 AM, Prabhakar Lad >>> wrote:

Re: [PATCH 2/2] staging: media: davinci_vpfe: Remove spaces before semicolons

2013-12-10 Thread Lisa Nguyen
Hi Prabhakar, On Tue, Dec 10, 2013 at 7:04 AM, Prabhakar Lad wrote: > Hi Lisa, > > On Tue, Dec 10, 2013 at 8:27 PM, Lisa Nguyen wrote: >> Hi everyone, >> >> On Tue, Dec 10, 2013 at 6:34 AM, Prabhakar Lad >> wrote: >>> Hi Laurent, >>> >>> On Tue, Dec 10, 2013 at 7:34 PM, Laurent Pinchart >>> wr

[RFC PATCH 06/22] adv7842: added DE vertical position in SDP-io-sync

2013-12-10 Thread Hans Verkuil
From: Martin Bugge Signed-off-by: Martin Bugge Signed-off-by: Hans Verkuil --- drivers/media/i2c/adv7842.c | 4 include/media/adv7842.h | 4 2 files changed, 8 insertions(+) diff --git a/drivers/media/i2c/adv7842.c b/drivers/media/i2c/adv7842.c index d350c86..828fd23 100644 ---

[RFC PATCH 04/22] adv7842: save platform data in state struct

2013-12-10 Thread Hans Verkuil
From: Martin Bugge Signed-off-by: Martin Bugge Signed-off-by: Hans Verkuil --- drivers/media/i2c/adv7842.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/media/i2c/adv7842.c b/drivers/media/i2c/adv7842.c index cbbfa77..4f93526 100644 --- a/drivers/media/i2c/ad

[RFC PATCH 12/22] adv7842: remove connector type. Never used for anything useful

2013-12-10 Thread Hans Verkuil
From: Mats Randgaard May also be wrong if the receiver is connected to more than one connector. Signed-off-by: Mats Randgaard Signed-off-by: Hans Verkuil --- drivers/media/i2c/adv7842.c | 4 include/media/adv7842.h | 3 --- 2 files changed, 7 deletions(-) diff --git a/drivers/media/

[RFC PATCH 07/22] adv7842: Receive CEA formats as RGB on VGA (RGB) input

2013-12-10 Thread Hans Verkuil
From: Mats Randgaard If input is ADV7842_MODE_RGB and RGB quantization range is set to V4L2_DV_RGB_RANGE_AUTO, then video with CEA timings will be received as RGB. For ADV7842_MODE_COMP, automatic CSC mode will be selected. See table 48 on page 281 in "ADV7842 Hardware Manual, Rev. 0, January 20

[RFC PATCH 08/22] adv7842: set defaults spa-location.

2013-12-10 Thread Hans Verkuil
From: Martin Bugge For edid with no Source Physical Address (spa), set spa-location to default and use correct values from edid. Signed-off-by: Martin Bugge Cc: Mats Randgaard Signed-off-by: Hans Verkuil --- drivers/media/i2c/adv7842.c | 14 +++--- 1 file changed, 7 insertions(+), 7

[RFC PATCH 17/22] adv7842: support g_edid ioctl

2013-12-10 Thread Hans Verkuil
From: Martin Bugge Signed-off-by: Martin Bugge Signed-off-by: Hans Verkuil --- drivers/media/i2c/adv7842.c | 41 + 1 file changed, 41 insertions(+) diff --git a/drivers/media/i2c/adv7842.c b/drivers/media/i2c/adv7842.c index 8390b93..c3ac4e9 100644 ---

[RFC PATCH 10/22] adv7842: set default input in platform-data

2013-12-10 Thread Hans Verkuil
From: Martin Bugge Signed-off-by: Martin Bugge Signed-off-by: Hans Verkuil --- drivers/media/i2c/adv7842.c | 2 +- include/media/adv7842.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/media/i2c/adv7842.c b/drivers/media/i2c/adv7842.c index 3e8d7cc..4fa2e23

[RFC PATCH 01/22] adv7842: Re-worked query_dv_timings()

2013-12-10 Thread Hans Verkuil
From: Martin Bugge This simplified the code quite a bit. Signed-off-by: Martin Bugge Signed-off-by: Hans Verkuil --- drivers/media/i2c/adv7842.c | 112 ++-- 1 file changed, 35 insertions(+), 77 deletions(-) diff --git a/drivers/media/i2c/adv7842.c b/dr

[RFC PATCH 09/22] adv7842: 625/525 line standard jitter fix.

2013-12-10 Thread Hans Verkuil
From: Martin Bugge Both the PAL and NTSC standards are interlaced where a frame consist of two fields. Total number of lines in a frame in both systems are an odd number so the two fields will have different length. In the 625 line standard ("PAL") the odd field of the frame is transmitted firs

[RFC PATCH 15/22] adv7842: clear edid, if no edid just disable Edid-DDC access

2013-12-10 Thread Hans Verkuil
From: Martin Bugge Signed-off-by: Martin Bugge Cc: Mats Randgaard Signed-off-by: Hans Verkuil --- drivers/media/i2c/adv7842.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/media/i2c/adv7842.c b/drivers/media/i2c/adv7842.c index 943e578..bff8314 100644 ---

[RFC PATCH 11/22] adv7842: increase wait time.

2013-12-10 Thread Hans Verkuil
From: Martin Bugge Wait 5ms after main reset. The data-sheet doesn't specify the wait after i2c-controlled reset, so using same value as after pin-controlled reset. Signed-off-by: Martin Bugge Signed-off-by: Hans Verkuil --- drivers/media/i2c/adv7842.c | 2 +- 1 file changed, 1 insertion(+),

[RFC PATCH 16/22] adv7842: restart STDI once if format is not found.

2013-12-10 Thread Hans Verkuil
From: Martin Bugge The STDI block may measure wrong values, especially for lcvs and lcf. If the driver can not find any valid timing, the STDI block is restarted to measure the video timings again. The function will return an error, but the restart of STDI will generate a new STDI interrupt and t

[RFC PATCH 22/22] adv7842: Composite sync adjustment

2013-12-10 Thread Hans Verkuil
From: Martin Bugge Signed-off-by: Martin Bugge Signed-off-by: Hans Verkuil --- drivers/media/i2c/adv7842.c | 8 include/media/adv7842.h | 4 2 files changed, 12 insertions(+) diff --git a/drivers/media/i2c/adv7842.c b/drivers/media/i2c/adv7842.c index fac5c4f..bafe3b5 100644

[RFC PATCH 14/22] adv7842: mute audio before switching inputs to avoid noise/pops

2013-12-10 Thread Hans Verkuil
From: Mats Randgaard Signed-off-by: Mats Randgaard Signed-off-by: Hans Verkuil --- drivers/media/i2c/adv7842.c | 23 --- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/drivers/media/i2c/adv7842.c b/drivers/media/i2c/adv7842.c index 77b1696..943e578 100644 --

[RFC PATCH 03/22] adv7842: properly enable/disable the irqs.

2013-12-10 Thread Hans Verkuil
From: Martin Bugge The method of disabling the irq-output pin caused many "empty" interrupts. Instead, actually disable/enable the interrupts by changing the interrupt masks. Also enable STORE_MASKED_IRQ in INT1 configuration. Signed-off-by: Martin Bugge Signed-off-by: Hans Verkuil --- drive

[RFC PATCH 00/22] adv7842: fixes

2013-12-10 Thread Hans Verkuil
This patch series updates the adv7842 driver with the latest fixes from our internal tree. Regards, Hans -- 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/majordom

[RFC PATCH 02/22] adv7842: corrected setting of cp-register 0x91 and 0x8f.

2013-12-10 Thread Hans Verkuil
From: Martin Bugge Bit 6 of register 0x8f was cleared incorrectly (must be 1), and bit 4 of register 0x91 was set incorrectly (must be 0). These bits are undocumented, so we shouldn't modify them to values different from what the datasheet specifies. Signed-off-by: Martin Bugge Signed-off-by:

[RFC PATCH 13/22] adv7842: Use defines to select EDID port

2013-12-10 Thread Hans Verkuil
From: Mats Randgaard Signed-off-by: Mats Randgaard Signed-off-by: Hans Verkuil --- drivers/media/i2c/adv7842.c | 77 - include/media/adv7842.h | 4 +++ 2 files changed, 38 insertions(+), 43 deletions(-) diff --git a/drivers/media/i2c/adv7842.c

[RFC PATCH 20/22] adv7842: composite sd-ram test, clear timings before setting.

2013-12-10 Thread Hans Verkuil
From: Martin Bugge Must clear timings before setting after test to recover. Signed-off-by: Martin Bugge Signed-off-by: Hans Verkuil --- drivers/media/i2c/adv7842.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/media/i2c/adv7842.c b/drivers/media/i2c/adv7

[RFC PATCH 21/22] adv7842: obtain free-run mode from the platform_data.

2013-12-10 Thread Hans Verkuil
From: Martin Bugge The free-run mode can be board-specific. Signed-off-by: Martin Bugge Signed-off-by: Hans Verkuil --- drivers/media/i2c/adv7842.c | 7 --- include/media/adv7842.h | 7 +-- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/drivers/media/i2c/adv7842.c

Re: [PATCH 2/2] staging: media: davinci_vpfe: Remove spaces before semicolons

2013-12-10 Thread Prabhakar Lad
Hi Lisa, On Tue, Dec 10, 2013 at 8:27 PM, Lisa Nguyen wrote: > Hi everyone, > > On Tue, Dec 10, 2013 at 6:34 AM, Prabhakar Lad > wrote: >> Hi Laurent, >> >> On Tue, Dec 10, 2013 at 7:34 PM, Laurent Pinchart >> wrote: >>> Hi Prabhakar, >>> >>> On Wednesday 30 October 2013 13:20:25 Prabhakar Lad

Re: [PATCH 2/2] staging: media: davinci_vpfe: Remove spaces before semicolons

2013-12-10 Thread Lisa Nguyen
Hi everyone, On Tue, Dec 10, 2013 at 6:34 AM, Prabhakar Lad wrote: > Hi Laurent, > > On Tue, Dec 10, 2013 at 7:34 PM, Laurent Pinchart > wrote: >> Hi Prabhakar, >> >> On Wednesday 30 October 2013 13:20:25 Prabhakar Lad wrote: >>> On Tue, Oct 29, 2013 at 2:53 AM, Lisa Nguyen wrote: >>> > Remove

Re: [PATCH 2/2] staging: media: davinci_vpfe: Remove spaces before semicolons

2013-12-10 Thread Prabhakar Lad
Hi Laurent, On Tue, Dec 10, 2013 at 7:34 PM, Laurent Pinchart wrote: > Hi Prabhakar, > > On Wednesday 30 October 2013 13:20:25 Prabhakar Lad wrote: >> On Tue, Oct 29, 2013 at 2:53 AM, Lisa Nguyen wrote: >> > Remove unnecessary spaces before semicolons to meet kernel >> > coding style. >> > >> >

Re: [PATCH 2/2] staging: media: davinci_vpfe: Remove spaces before semicolons

2013-12-10 Thread Laurent Pinchart
Hi Prabhakar, On Wednesday 30 October 2013 13:20:25 Prabhakar Lad wrote: > On Tue, Oct 29, 2013 at 2:53 AM, Lisa Nguyen wrote: > > Remove unnecessary spaces before semicolons to meet kernel > > coding style. > > > > Signed-off-by: Lisa Nguyen > > Acked-by: Lad, Prabhakar Do you plan to send

Re: use other formats from ov3640 camera sensor through the isp pipeline

2013-12-10 Thread Laurent Pinchart
Hi Tom, On Tuesday 10 December 2013 10:42:22 Tom wrote: > Hello, > > I am using the ov3640 camera sensor along with the isp pipeline and > configured it like: sensor->ccdc->memory > > My sensor supports more formats like rgb565 and so. Does anyone have an idea > how I could manage to set these f

[GIT PULL FOR v3.14] Miscellaneous VSP1 patches

2013-12-10 Thread Laurent Pinchart
Hi Mauro, The following changes since commit 431cb350187c6bf1ed083622d633418a298a7216: [media] az6007: support Technisat Cablestar Combo HDCI (minus remote) (2013-12-10 07:15:54 -0200) are available in the git repository at: git://linuxtv.org/pinchartl/media.git vsp1/next for you to fetch

[GIT PULL FOR v3.14] MT9V032 sensor driver fixes and features

2013-12-10 Thread Laurent Pinchart
Hi Mauro, The following changes since commit 431cb350187c6bf1ed083622d633418a298a7216: [media] az6007: support Technisat Cablestar Combo HDCI (minus remote) (2013-12-10 07:15:54 -0200) are available in the git repository at: git://linuxtv.org/pinchartl/media.git sensors/mt9v034 for you to

[GIT PULL FOR v3.14] OMAP4 ISS fixes

2013-12-10 Thread Laurent Pinchart
Hi Mauro, The following changes since commit 431cb350187c6bf1ed083622d633418a298a7216: [media] az6007: support Technisat Cablestar Combo HDCI (minus remote) (2013-12-10 07:15:54 -0200) are available in the git repository at: git://linuxtv.org/pinchartl/media.git omap4iss/next for you to f

[RFC PATCH 08/15] adv7604: improve EDID handling

2013-12-10 Thread Hans Verkuil
From: Mats Randgaard - split edid_write_block() - do not use edid->edid before the validity check - Return -EINVAL if edid->pad is invalid - Save both registers for SPA port A - Set SPA location to default value if it is not found Signed-off-by: Mats Randgaard Signed-off-by: Hans Verkuil ---

[RFC PATCH 14/15] adv7604: adjust gain and offset for DVI-D signals

2013-12-10 Thread Hans Verkuil
From: Mats Randgaard 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. Signed-off-by: Mats Randgaard Signed-off-by: Hans Verkuil --- drivers/media/i2c/adv7604.c | 98 +++

[RFC PATCH 02/15] adv7604: add hdmi driver strength adjustment

2013-12-10 Thread Hans Verkuil
From: Mikhail Khelik The driver strength is board dependent, so set it from the platform_data. Signed-off-by: Mikhail Khelik Signed-off-by: Hans Verkuil --- drivers/media/i2c/adv7604.c | 7 ++- include/media/adv7604.h | 5 + 2 files changed, 11 insertions(+), 1 deletion(-) diff -

[RFC PATCH 10/15] adv7604: return immediately if the new input is equal to what is configured

2013-12-10 Thread Hans Verkuil
From: Mats Randgaard Signed-off-by: Mats Randgaard Signed-off-by: Hans Verkuil --- drivers/media/i2c/adv7604.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/media/i2c/adv7604.c b/drivers/media/i2c/adv7604.c index 7d95a28..fa98229 100644 --- a/drivers/media

[RFC PATCH 09/15] adv7604: remove connector type. Never used for anything useful.

2013-12-10 Thread Hans Verkuil
From: Mats Randgaard May also be wrong if the receiver is connected to more than one connector. Signed-off-by: Mats Randgaard Signed-off-by: Hans Verkuil --- drivers/media/i2c/adv7604.c | 4 include/media/adv7604.h | 3 --- 2 files changed, 7 deletions(-) diff --git a/drivers/media/

[RFC PATCH 15/15] adv7604: Enable HDMI_MODE interrupt

2013-12-10 Thread Hans Verkuil
From: Mats Randgaard Some sources are initially detected as DVI, and change to HDMI later. This must be detected to set the right RGB quantization range. Signed-off-by: Mats Randgaard Signed-off-by: Hans Verkuil --- drivers/media/i2c/adv7604.c | 34 +- 1 file c

[RFC PATCH 03/15] adv7604: support 1366x768 DMT Reduced Blanking

2013-12-10 Thread Hans Verkuil
From: Martin Bugge Signed-off-by: Martin Bugge Signed-off-by: Hans Verkuil --- drivers/media/i2c/adv7604.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/i2c/adv7604.c b/drivers/media/i2c/adv7604.c index 99734b2..417468c 100644 --- a/drivers/media/i2c/adv7604.c +++ b/drivers

[RFC PATCH 01/15] adv7604: add support for all the digital input ports

2013-12-10 Thread Hans Verkuil
From: Mats Randgaard The adv7604 supports four digital input ports. This patch adds support for all of them, instead of just port A. Signed-off-by: Mats Randgaard Signed-off-by: Hans Verkuil --- drivers/media/i2c/adv7604.c | 266 ++-- include/media/adv7

[RFC PATCH 06/15] adv7604: select YPbPr if RGB_RANGE_FULL/LIMITED is set for VGA_COMP inputs

2013-12-10 Thread Hans Verkuil
From: Mats Randgaard Signed-off-by: Mats Randgaard Signed-off-by: Hans Verkuil --- drivers/media/i2c/adv7604.c | 19 ++- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/drivers/media/i2c/adv7604.c b/drivers/media/i2c/adv7604.c index 7187378..b53373b 100644 --- a/

[RFC PATCH 07/15] adv7604: set CEC address (SPA) in EDID

2013-12-10 Thread Hans Verkuil
From: Mats Randgaard Signed-off-by: Mats Randgaard Signed-off-by: Hans Verkuil --- drivers/media/i2c/adv7604.c | 83 ++--- 1 file changed, 70 insertions(+), 13 deletions(-) diff --git a/drivers/media/i2c/adv7604.c b/drivers/media/i2c/adv7604.c index b53

[RFC PATCH 12/15] adv7604: improve HDMI audio handling

2013-12-10 Thread Hans Verkuil
From: Mats Randgaard - Mute audio before switching inputs to avoid noise/pops - Mute audio if audio FIFO over-/underflows (AD Recommended setting) - Reset FIFO if it over-/underflows (AD Recommended setting) Signed-off-by: Mats Randgaard Signed-off-by: Hans Verkuil --- drivers/media/i2c/adv76

[RFC PATCH 00/15] adv7604: fixes

2013-12-10 Thread Hans Verkuil
This patch series updates the adv7604 driver with the latest fixes from our internal tree. Regards, Hans -- 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/majordom

[RFC PATCH 13/15] adv7604: set restart_stdi_once flag when signal is lost.

2013-12-10 Thread Hans Verkuil
From: Martin Bugge If the restart_stdi_once trick fails to find a valid format the flag was never reset. Signed-off-by: Martin Bugge Cc: Mats Randgaard Signed-off-by: Hans Verkuil --- drivers/media/i2c/adv7604.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/i2c/adv7604.c

[RFC PATCH 11/15] adv7604: remove debouncing of ADV7604_FMT_CHANGE events

2013-12-10 Thread Hans Verkuil
From: Mats Randgaard ADV7604_FMT_CHANGE events was debounced in adv7604_isr() to avoid that a receiver with a unstable input signal would block the event handling for other inputs. This solution was prone to errors. A better protection agains interrupt blocking is to delay the call of the interr

[RFC PATCH 04/15] adv7604: adv7604_s_register clean up.

2013-12-10 Thread Hans Verkuil
From: Hans Verkuil Signed-off-by: Hans Verkuil --- drivers/media/i2c/adv7604.c | 28 +++- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/drivers/media/i2c/adv7604.c b/drivers/media/i2c/adv7604.c index 417468c..37f3994 100644 --- a/drivers/media/i2c/adv76

[RFC PATCH 05/15] adv7604: Receive CEA formats as RGB on VGA (RGB) input

2013-12-10 Thread Hans Verkuil
From: Mats Randgaard If the input is ADV7604_INPUT_VGA_RGB and RGB quantization range is set to V4L2_DV_RGB_RANGE_AUTO, video with CEA timings will be received as RGB. For ADV7604_INPUT_VGA_COMP, automatic CSC mode will be selected. See table 44 on page 205 in "ADV7604 Hardware Manual, Rev. F, A

Re: [RFCv4 PATCH 7/8] vb2: return ENODATA in start_streaming in case of too few buffers.

2013-12-10 Thread Prabhakar Lad
On Tue, Dec 10, 2013 at 3:26 PM, Prabhakar Lad wrote: > Hi Hans, > > On Tue, Dec 10, 2013 at 1:21 PM, Hans Verkuil wrote: >> As Guennadi mentioned in his review, ENODATA will be replaced by ENOBUFS, >> which is >> more appropriate. >> >> Prabhakar, Kamil, Tomasz, are you OK with this patch provi

[RFC PATCH 5/6] adv7511: disable register reset by HPD

2013-12-10 Thread Hans Verkuil
From: Martin Bugge Whenever the hotplug pin is pulled low the chip resets a whole bunch of registers. It turns out that this can be turned off on the adv7511. Do so, as this 'feature' introduces race conditions in setting up registers, particular when the hotplug pin bounces a lot. Signed-off-by

[RFC PATCH 4/6] ad9389b: retry setup if the state is inconsistent

2013-12-10 Thread Hans Verkuil
From: Martin Bugge Retry setup if the device is powered off when it should be powered on. This state can be caused by rapid hotplug toggles. Signed-off-by: Martin Bugge Signed-off-by: Hans Verkuil --- drivers/media/i2c/ad9389b.c | 27 ++- 1 file changed, 26 insertions(

[RFC PATCH 6/6] adv7511: add VIC and audio CTS/N values to log_status

2013-12-10 Thread Hans Verkuil
From: Martin Bugge Improve status logging. Signed-off-by: Martin Bugge Signed-off-by: Hans Verkuil --- drivers/media/i2c/adv7511.c | 23 +++ 1 file changed, 23 insertions(+) diff --git a/drivers/media/i2c/adv7511.c b/drivers/media/i2c/adv7511.c index 89ea266..f20450c 1006

[RFC PATCH 0/6] ad9389b/adv7511 fixes

2013-12-10 Thread Hans Verkuil
This small patch series updates the ad9389b and adv7511 drivers with the latest fixes from our internal tree. Regards, Hans -- 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.

[RFC PATCH 2/6] ad9389b: whitespace changes to improve readability

2013-12-10 Thread Hans Verkuil
From: Martin Bugge Signed-off-by: Martin Bugge Signed-off-by: Hans Verkuil --- drivers/media/i2c/ad9389b.c | 116 ++-- 1 file changed, 58 insertions(+), 58 deletions(-) diff --git a/drivers/media/i2c/ad9389b.c b/drivers/media/i2c/ad9389b.c index e7f7171

[RFC PATCH 3/6] ad9389b: remove rx-sense irq dependency

2013-12-10 Thread Hans Verkuil
From: Martin Bugge Removed dependency on rx-sense interrupt, it's a leftover from obsolete code. Removing this simplifies the code. Signed-off-by: Martin Bugge Signed-off-by: Hans Verkuil --- drivers/media/i2c/ad9389b.c | 138 +++- 1 file changed, 58 in

[RFC PATCH 1/6] ad9389b: verify EDID header

2013-12-10 Thread Hans Verkuil
From: Mats Randgaard Ignore EDIDs where the header is wrong. Signed-off-by: Mats Randgaard Signed-off-by: Hans Verkuil --- drivers/media/i2c/ad9389b.c | 26 +++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/drivers/media/i2c/ad9389b.c b/drivers/media/i2

[PATCH 1/4] closing uvc file when init fails

2013-12-10 Thread Robert Baldyga
This patch adds uvc device file closing when inits in uvc_open() function fails. Signed-off-by: Robert Baldyga --- uvc-gadget.c |1 + 1 file changed, 1 insertion(+) diff --git a/uvc-gadget.c b/uvc-gadget.c index 0764838..5512e2c 100644 --- a/uvc-gadget.c +++ b/uvc-gadget.c @@ -880,6 +880,7

[PATCH 2/4] remove set_format from uvc_events_process_data

2013-12-10 Thread Robert Baldyga
Format is based on application parameters, and it stay unchanged, so we don't need to do uvc_video_set_format() and v4l2_set_format() in uvc_events_process_data() function. In addition it allow us to do VIDIOC_REQBUFS ioctl once at the beginning, and skip it in STREAMON and STREAMOFF events. Sign

[PATCH 4/4] remove flooding debugs

2013-12-10 Thread Robert Baldyga
Those debugs are printed very often killing the efficiency, so they should be removed from final code. Signed-off-by: Robert Baldyga --- uvc-gadget.c | 15 +++ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/uvc-gadget.c b/uvc-gadget.c index 8f06a1f..4ff0d80 100644 -

[PATCH 3/4] fix v4l2 stream handling

2013-12-10 Thread Robert Baldyga
This patch fixes v4l2 stream handling. It improves few things: - Fix dqbuf_count check in v4l2_process_data() function. - Removes freeing v4l2 device buffers in STREAMOFF event. It's because this buffers are requested once at the beginning, and it's not needed to free them on STREAMOFF and re

[PATCH 0/4] Bugfixes for UVC gadget test application

2013-12-10 Thread Robert Baldyga
Hello, This patchset fixes UVC gadget test application, created by Laurent Pinchart (git tree available here: git://git.ideasonboard.org/uvc-gadget.git), with applied patches created by Bhupesh Sharma (which can be found here: http://www.spinics.net/lists/linux-usb/msg84376.html). It improves vid

use other formats from ov3640 camera sensor through the isp pipeline

2013-12-10 Thread Tom
Hello, I am using the ov3640 camera sensor along with the isp pipeline and configured it like: sensor->ccdc->memory My sensor supports more formats like rgb565 and so. Does anyone have an idea how I could manage to set these formats out of the users application? If I understand it right, the isp

Re: [RFCv4 PATCH 7/8] vb2: return ENODATA in start_streaming in case of too few buffers.

2013-12-10 Thread Prabhakar Lad
Hi Hans, On Tue, Dec 10, 2013 at 1:21 PM, Hans Verkuil wrote: > As Guennadi mentioned in his review, ENODATA will be replaced by ENOBUFS, > which is > more appropriate. > > Prabhakar, Kamil, Tomasz, are you OK with this patch provided > s/ENODATA/ENOBUFS/ ? > +1 for ENOBUFS. Regards, --Prabhak

Re: [RFC v3] [RFC] v4l2: Support for multiple selections

2013-12-10 Thread Ricardo Ribalda Delgado
Hello Tomasz and Hans On Thu, Nov 14, 2013 at 4:40 PM, Tomasz Stanislawski wrote: > Hi Hans, > > On 11/14/2013 11:18 AM, Hans Verkuil wrote: >> Hi Tomasz, >> >> On 11/12/13 15:54, Tomasz Stanislawski wrote: >>> Hi Ricardo, >>> Sorry for a late reply. I've been 'offline' for the last two weeks. >>

Re: [RFC v3] [RFC] v4l2: Support for multiple selections

2013-12-10 Thread Ricardo Ribalda Delgado
Hello Tomasz Now is my time to say sorry for the delay, but i have been in holidays and then I had a pile of work waiting on my desk :). On Tue, Nov 12, 2013 at 3:54 PM, Tomasz Stanislawski wrote: > Hi Ricardo, > Sorry for a late reply. I've been 'offline' for the last two weeks. > Please refe