Project

2013-12-20 Thread SA
May I request for your partnership to execute a project in Asia, revert if interested -- 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

cron job: media_tree daily build: ERRORS

2013-12-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 Dec 21 04:00:44 CET 2013 git branch: test git hash: c57f87e62368c33ebda11a4993380c8e5a19a5c5 gcc versio

[PATCH] dma-buf: avoid using IS_ERR_OR_NULL

2013-12-20 Thread Colin Cross
dma_buf_map_attachment and dma_buf_vmap can return NULL or ERR_PTR on a error. This encourages a common buggy pattern in callers: sgt = dma_buf_map_attachment(attach, DMA_BIDIRECTIONAL); if (IS_ERR_OR_NULL(sgt)) return PTR_ERR(sgt); This causes the caller to return

Re: [PATCH v3 1/6] V4L: s5k6a3: Add DT binding documentation

2013-12-20 Thread Sylwester Nawrocki
On 10/17/2013 08:06 PM, Sylwester Nawrocki wrote: This patch adds binding documentation for the Samsung S5K6A3(YX) raw image sensor. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park Hi Mauro, Can we merge it now without a DT binding maintainer Ack ? There was no comments for 2 m

[PATCH 5/6] exynos4-is: Enable fimc-is clocks in probe() if runtime PM is disabled

2013-12-20 Thread Sylwester Nawrocki
Ensure the device works also when runtime PM is disabled. This will allow to drop an incorrect dependency on PM_RUNTIME. Signed-off-by: Sylwester Nawrocki --- drivers/media/platform/exynos4-is/fimc-is.c | 25 - 1 files changed, 20 insertions(+), 5 deletions(-) diff --g

[PATCH 1/6] exynos4-is: Leave FIMC clocks enabled when runtime PM is disabled

2013-12-20 Thread Sylwester Nawrocki
Driver should ensure a device can be also used normally when runtime PM is disabled. So enable the FIMC clock in probe() in such situation. Signed-off-by: Sylwester Nawrocki --- drivers/media/platform/exynos4-is/fimc-core.c | 29 +--- 1 files changed, 16 insertions(+), 13 d

[PATCH 6/6] exynos4-is: Remove dependency on PM_RUNTIME from Kconfig

2013-12-20 Thread Sylwester Nawrocki
Now when the sub-drivers are fixed to work with runtime PM disabled this erroneous dependency can be removed. The CAM and ISP power domains should be left in active state by the platform if runtime PM is not used. Signed-off-by: Sylwester Nawrocki --- drivers/media/platform/exynos4-is/Kconfig |

[PATCH 4/6] exynos4-is: Correct clean up sequence on error path in fimc_is_probe()

2013-12-20 Thread Sylwester Nawrocki
The memory allocator is being initialized before registering the subdevs so reverse the cleanup sequence to avoid trying unregister not registered subdevs. Signed-off-by: Sylwester Nawrocki --- drivers/media/platform/exynos4-is/fimc-is.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions

[PATCH 3/6] exynos4-is: Enable FIMC-LITE clock if runtime PM is not used

2013-12-20 Thread Sylwester Nawrocki
Ensure the device also works when runtime PM is disabled. Signed-off-by: Sylwester Nawrocki --- drivers/media/platform/exynos4-is/fimc-lite.c | 24 +--- 1 files changed, 13 insertions(+), 11 deletions(-) diff --git a/drivers/media/platform/exynos4-is/fimc-lite.c b/drivers

[PATCH 2/6] exynos4-is: Activate mipi-csis in probe() if runtime PM is disabled

2013-12-20 Thread Sylwester Nawrocki
Devices should also operate normally when runtime PM is not enabled. In case runtime PM is disabled activate the device already in probe(). Any related power domain needs to be then left permanently in active state by the platform. Signed-off-by: Sylwester Nawrocki --- drivers/media/platform/exy

[PATCH 0/6] exynos4-is: Power management related cleanups

2013-12-20 Thread Sylwester Nawrocki
This series removes incorrect dependency of the driver on PM_RUNTIME and is a preparation for further work on actual implementation of suspend/resume for the FIMC-IS. Sylwester Nawrocki (6): exynos4-is: Leave FIMC clocks enabled when runtime PM is disabled exynos4-is: Activate mipi-csis in pro

[GIT PULL v2] Samsung S5K6BAF image sensor driver

2013-12-20 Thread Sylwester Nawrocki
The following changes since commit 0400c5354ad09bf4c754132992bdde9ef3dbefcd: [media] dib8000: improve block statistics (2013-12-19 08:17:47 -0200) are available in the git repository at: git://linuxtv.org/snawrocki/samsung.git v3.14-s5k5baf Andrzej Hajda (2): Add DT binding documentat

[GIT PULL] Samsung S5K6BAF image sensor driver

2013-12-20 Thread Sylwester Nawrocki
The following changes since commit 0400c5354ad09bf4c754132992bdde9ef3dbefcd: [media] dib8000: improve block statistics (2013-12-19 08:17:47 -0200) are available in the git repository at: git://linuxtv.org/snawrocki/samsung.git v3.14-s5k5baf Andrzej Hajda (2): Add DT binding documentat

[PATCH] [media] go7007-loader: fix usb_dev leak

2013-12-20 Thread Alexey Khoroshilov
There is usb_get_dev() in go7007_loader_probe(), but there is no usb_put_dev() anywhere. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov --- drivers/staging/media/go7007/go7007-loader.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) di

Re: [PATCH] media: davinci_vpfe: fix build error

2013-12-20 Thread Prabhakar Lad
Hi Hans, On Fri, Dec 20, 2013 at 7:00 PM, Hans Verkuil wrote: > Hi Prabhakar, > > On 12/20/2013 02:02 PM, Prabhakar Lad wrote: >> Hi Hans, >> >> On Fri, Dec 20, 2013 at 6:23 PM, Hans Verkuil wrote: >>> I just made a patch myself that I added to the pull request I just posted. >>> >>> You didn't

Re: [PATCH] media: davinci_vpfe: fix build error

2013-12-20 Thread Hans Verkuil
Hi Prabhakar, On 12/20/2013 02:02 PM, Prabhakar Lad wrote: > Hi Hans, > > On Fri, Dec 20, 2013 at 6:23 PM, Hans Verkuil wrote: >> I just made a patch myself that I added to the pull request I just posted. >> >> You didn't CC me or CC the linux-media list when you posted your patch, so I >> never

[PATCH] [media] dib8000: fix compilation error

2013-12-20 Thread Mauro Carvalho Chehab
As reported by kbuild test robot : with a random config: drivers/built-in.o: In function `dib8000_get_time_us.isra.16': >> dib8000.c:(.text+0x3075aa): undefined reference to `__udivdi3' Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb-frontends/dib8000.c | 6 -- 1 file change

Re: [PATCH] media: davinci_vpfe: fix build error

2013-12-20 Thread Prabhakar Lad
Hi Hans, On Fri, Dec 20, 2013 at 6:23 PM, Hans Verkuil wrote: > I just made a patch myself that I added to the pull request I just posted. > > You didn't CC me or CC the linux-media list when you posted your patch, so I > never saw it. > I dont know why this patch didnt make up in linux-media but

Re: [PATCH] media: davinci_vpfe: fix build error

2013-12-20 Thread Hans Verkuil
I just made a patch myself that I added to the pull request I just posted. You didn't CC me or CC the linux-media list when you posted your patch, so I never saw it. Regards, Hans On 12/20/2013 01:47 PM, Prabhakar Lad wrote: > Hi Hans, > > On Tue, Dec 17, 2013 at 8:55 PM, Lad, Prabhaka

Re: [PATCH] media: davinci_vpfe: fix build error

2013-12-20 Thread Prabhakar Lad
Hi Hans, On Tue, Dec 17, 2013 at 8:55 PM, Lad, Prabhakar wrote: > From: "Lad, Prabhakar" > > This patch includes linux/delay.h required for msleep, > which fixes following build error. > > dm365_isif.c: In function ‘isif_enable’: > dm365_isif.c:129:2: error: implicit declaration of function ‘msl

[GIT PULL FOR v3.14] Move omap2 and sn9c102 to staging

2013-12-20 Thread Hans Verkuil
The int-device dependent omap2 drivers are moved to staging and so is sn9c102. By the end of next year these should be dropped altogether unless something is done to get them into shape. Regards, Hans The following changes since commit d22d32e117c19efa1761d871d9dab5e294b7b77d: [media]

[GIT PULL FOR v3.14] Fixes (second attempt)

2013-12-20 Thread Hans Verkuil
(This fixes a broken patch in my previous pull request and it adds a patch for the broken davinci_vfpe compile) Hi Mauro, This empties my list of pending patches. I will do one other pull request today (to move the omap2 and sn9c102 to staging) and another in one week for the adv patches, assu

Re: [GIT PULL FOR v3.14] Fixes

2013-12-20 Thread Hans Verkuil
Ignore this, I'll post a new pull request in a moment. The last patch was broken due to a mistake on my side. Regards, Hans On 12/20/2013 12:49 PM, Hans Verkuil wrote: > Hi Mauro, > > This empties my list of pending patches. > > I will do one other pull request today (to move the omap2

[GIT PULL FOR v3.14] Fixes

2013-12-20 Thread Hans Verkuil
Hi Mauro, This empties my list of pending patches. I will do one other pull request today (to move the omap2 and sn9c102 to staging) and another in one week for the adv patches, assuming there will be no comments. Regards, Hans The following changes since commit d22d32e117c19efa1761d8

Re: [PATCH 1/2] cx23885 Radio Support [was: cx23885: Add basic analog radio support]

2013-12-20 Thread Hans Verkuil
Hi Alfredo, It's a rather late review for which I apologize. Anyway, this patch needs more work, see my comments below. On 11/13/2013 03:52 PM, Alfredo Jesús Delaiti wrote: > Hi Mauro and all > > El 31/10/13 07:12, Mauro Carvalho Chehab escribió: >> >> Hi Alfredo, >> >> My understanding is that

[REVIEW PATCH 29/50] adv7842: save platform data in state struct

2013-12-20 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

[REVIEW PATCH 46/50] adv7842: Composite sync adjustment

2013-12-20 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 518f1e2..ba74863 100644

[REVIEW PATCH 40/50] adv7842: restart STDI once if format is not found.

2013-12-20 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

[REVIEW PATCH 26/50] adv7842: Re-worked query_dv_timings()

2013-12-20 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

[REVIEW PATCH 18/50] adv7604: remove debouncing of ADV7604_FMT_CHANGE events

2013-12-20 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

[REVIEW PATCH 07/50] adv7511: verify EDID header

2013-12-20 Thread Hans Verkuil
From: Martin Bugge Ignore EDID's where the header is wrong. Signed-off-by: Martin Bugge Signed-off-by: Hans Verkuil --- drivers/media/i2c/adv7511.c | 35 --- 1 file changed, 24 insertions(+), 11 deletions(-) diff --git a/drivers/media/i2c/adv7511.c b/drivers/m

[REVIEW PATCH 13/50] adv7604: select YPbPr if RGB_RANGE_FULL/LIMITED is set for VGA_COMP inputs

2013-12-20 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 d4ac8dd..d1de747 100644 --- a/

[REVIEW PATCH 10/50] adv7604: support 1366x768 DMT Reduced Blanking

2013-12-20 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 00ce271..9f80d2e 100644 --- a/drivers/media/i2c/adv7604.c +++ b/drivers

[REVIEW PATCH 19/50] adv7604: improve HDMI audio handling

2013-12-20 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

[REVIEW PATCH 06/50] adv7511: add VIC and audio CTS/N values to log_status

2013-12-20 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

[REVIEW PATCH 17/50] adv7604: return immediately if the new input is equal to what is configured

2013-12-20 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 c85f86c..4e7d39a 100644 --- a/drivers/media

[REVIEW PATCH 11/50] adv7604: adv7604_s_register clean up.

2013-12-20 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 9f80d2e..ff8130f 100644 --- a/drivers/media/i2c/adv76

[REVIEW PATCH 21/50] adv7604: adjust gain and offset for DVI-D signals

2013-12-20 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 +++

[REVIEW PATCH 03/50] ad9389b: remove rx-sense irq dependency

2013-12-20 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

[REVIEW PATCH 24/50] adv7604: sync polarities from platform data

2013-12-20 Thread Hans Verkuil
From: Martin Bugge Signed-off-by: Martin Bugge Signed-off-by: Hans Verkuil --- drivers/media/i2c/adv7604.c | 5 +++-- include/media/adv7604.h | 4 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/media/i2c/adv7604.c b/drivers/media/i2c/adv7604.c index 0bc9e1a..be

[REVIEW PATCH 09/50] adv7604: add hdmi driver strength adjustment

2013-12-20 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 | 11 +++ 2 files changed, 17 insertions(+), 1 deletion(-)

[REVIEW PATCH 23/50] adv7604: return immediately if the new timings are equal to what is configured

2013-12-20 Thread Hans Verkuil
From: Mats Randgaard Signed-off-by: Mats Randgaard Signed-off-by: Hans Verkuil --- drivers/media/i2c/adv7604.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/media/i2c/adv7604.c b/drivers/media/i2c/adv7604.c index 912c59e..0bc9e1a 100644 --- a/drivers/media/i2c/adv7604.c +++

[REVIEW PATCH 27/50] adv7842: corrected setting of cp-register 0x91 and 0x8f.

2013-12-20 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:

[REVIEW PATCH 16/50] adv7604: remove connector type. Never used for anything useful.

2013-12-20 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/

[REVIEW PATCH 28/50] adv7842: properly enable/disable the irqs.

2013-12-20 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, otherwise when HDMI events happen while the interrupt is masked those

[REVIEW PATCH 30/50] adv7842: added DE vertical position in SDP-io-sync

2013-12-20 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 4f93526..05d65a8 100644 ---

[REVIEW PATCH 20/50] adv7604: set restart_stdi_once flag when signal is lost.

2013-12-20 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

[REVIEW PATCH 12/50] adv7604: Receive CEA formats as RGB on VGA (RGB) input

2013-12-20 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

[REVIEW PATCH 01/50] ad9389b: verify EDID header

2013-12-20 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

[REVIEW PATCH 25/50] adv7604: initialize timings to CEA 640x480p59.94.

2013-12-20 Thread Hans Verkuil
From: Hans Verkuil This timing must be supported by all HDMI equipment, so that's a reasonable default. Signed-off-by: Hans Verkuil --- drivers/media/i2c/adv7604.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/media/i2c/adv7604.c b/drivers/media/i2c/adv7604.c

[REVIEW PATCH 22/50] adv7604: Enable HDMI_MODE interrupt

2013-12-20 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

[REVIEW PATCH 47/50] adv7842: return 0 if no change in s_dv_timings

2013-12-20 Thread Hans Verkuil
From: Martin Bugge Return 0 if the new timings are equal to the current timings as it caused extra cp-loss/lock interrupts. Signed-off-by: Martin Bugge Signed-off-by: Hans Verkuil --- drivers/media/i2c/adv7842.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/media/i2c/adv784

[REVIEW PATCH 31/50] adv7842: support YCrCb analog input, receive CEA formats as RGB on VGA input

2013-12-20 Thread Hans Verkuil
From: Hans Verkuil Added support for YCrCb analog input. 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 "ADV784

[REVIEW PATCH 38/50] adv7842: mute audio before switching inputs to avoid noise/pops

2013-12-20 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 a26c70c..bbd80ac 100644 --

[REVIEW PATCH 39/50] adv7842: clear edid, if no edid just disable Edid-DDC access

2013-12-20 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 bbd80ac..eab9a1b 100644 ---

[REVIEW PATCH 04/50] ad9389b: retry setup if the state is inconsistent

2013-12-20 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(

[REVIEW PATCH 37/50] adv7842: Use defines to select EDID port

2013-12-20 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

[REVIEW PATCH 45/50] adv7842: obtain free-run mode from the platform_data.

2013-12-20 Thread Hans Verkuil
From: Martin Bugge The free-run mode can be board-specific. Also updated the platform_data in ezkit to ensure that what was the old default value is now explicitly specified, so the behavior for that board is unchanged. Signed-off-by: Martin Bugge Signed-off-by: Hans Verkuil Cc: Scott Jiang

[REVIEW PATCH 48/50] adv7842: set LLC DLL phase from platform_data

2013-12-20 Thread Hans Verkuil
From: Hans Verkuil The correct LLC DLL phase depends on the board layout, so this should be part of the platform_data. Also updated the platform_data in ezkit to ensure that what was the old default value is now explicitly specified, so the behavior for that board is unchanged. Tested-by: Marti

[REVIEW PATCH 35/50] adv7842: increase wait time.

2013-12-20 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(+),

[REVIEW PATCH 33/50] adv7842: 625/525 line standard jitter fix.

2013-12-20 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

[REVIEW PATCH 34/50] adv7842: set default input in platform-data

2013-12-20 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 dcafc8e..86db9fc

[REVIEW PATCH 36/50] adv7842: remove connector type. Never used for anything useful

2013-12-20 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/

[REVIEW PATCH 15/50] adv7604: improve EDID handling

2013-12-20 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 ---

[REVIEW PATCH 02/50] ad9389b: whitespace changes to improve readability

2013-12-20 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

[REVIEW PATCH 49/50] adv7842: initialize timings to CEA 640x480p59.94.

2013-12-20 Thread Hans Verkuil
From: Hans Verkuil This timing must be supported by all HDMI equipment, so that's a reasonable default. Signed-off-by: Hans Verkuil --- drivers/media/i2c/adv7842.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/media/i2c/adv7842.c b/drivers/media/i2c/adv7842.c index 7898686..51

[REVIEW PATCH 43/50] adv7842: enable HDMI/DVI mode irq

2013-12-20 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 108e1b0..e6932f4

[REVIEW PATCH 14/50] adv7604: set CEC address (SPA) in EDID

2013-12-20 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 d1d

[REVIEW PATCH 32/50] adv7842: set defaults spa-location.

2013-12-20 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

[REVIEW PATCH 50/50] adv7842: add drive strength enum and sync names with adv7604.

2013-12-20 Thread Hans Verkuil
From: Hans Verkuil Add a proper driver strength enum and use the same names in the platform data as with adv7604. Signed-off-by: Hans Verkuil --- drivers/media/i2c/adv7842.c | 7 --- include/media/adv7842.h | 15 ++- 2 files changed, 14 insertions(+), 8 deletions(-) diff

[REVIEW PATCH 41/50] adv7842: support g_edid ioctl

2013-12-20 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 ae7252c..2920e6b 100644 ---

[REVIEW PATCH 08/50] adv7604: add support for all the digital input ports

2013-12-20 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

[REVIEW PATCH 44/50] adv7842: composite sd-ram test, clear timings before setting.

2013-12-20 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

[REVIEW PATCH 42/50] adv7842: i2c dummy clients registration.

2013-12-20 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

[REVIEW PATCH 00/50] adv fixes and feature enhancements

2013-12-20 Thread Hans Verkuil
This is hopefully the final patch series for the ad9389b, adv7511, adv7604 and adv7842. Changes since the last RFCs: - ad9389b/adv7511: none - adv7604: 09/50: add a drive strength enum - adv7842: update arch/blackfin/mach-bf609/boards/ezkit.c whenever the adv7842_platform_data changes to

[REVIEW PATCH 05/50] adv7511: disable register reset by HPD

2013-12-20 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

[PATCH] [media] exynos-gsc: swap cb/cr only for 3 plane formats

2013-12-20 Thread Arun Kumar K
From: Prathyush K The address for cb/cr needs to be swapped for 3 plane formats like YVU420 and YVU420M. If these address gets swapped for other formats like NV21, it results in passing a NULL dma address to gscalar (which will result in a PAGE FAULT if sysmmu is enabled). E.g. For NV21, the dma