Re: [PATCH 1/2] i2c: Add generic support passing secondary devices addresses

2014-10-23 Thread Jean-Michel Hautbois
Hi Laurent, Thank you for your review, 2014-10-23 1:37 GMT+02:00 Laurent Pinchart laurent.pinch...@ideasonboard.com: Hi Jean-Michel, Thank you for the patch. On Wednesday 22 October 2014 17:30:47 Jean-Michel Hautbois wrote: Some I2C devices have multiple addresses assigned, for example

Re: [PATCH 2/2] adv7604: Add support for i2c_new_secondary_device

2014-10-23 Thread Jean-Michel Hautbois
Hi Laurent, Thank you for reviewing, 2014-10-23 1:44 GMT+02:00 Laurent Pinchart laurent.pinch...@ideasonboard.com: Hi Jean-Michel, Thank you for the patch. On Wednesday 22 October 2014 17:30:48 Jean-Michel Hautbois wrote: The ADV7604 has thirteen 256-byte maps that can be accessed via the

Confidential

2014-10-23 Thread Brian Joffe
Confidential Business.doc Description: MS-Word document

Re: [v4l-utils RFC 0/2] libmediatext library

2014-10-23 Thread Hans de Goede
Hi, On 10/22/2014 11:47 AM, Sakari Ailus wrote: Hi Hans, Hans de Goede wrote: Hi Sakari, On 10/21/2014 12:40 PM, Sakari Ailus wrote: Hi, This is a tiny library for parsing text-based media link, V4L2 sub-device format (and selection) configurations as well as controls with limited

Re: [v4l-utils RFC 0/2] libmediatext library

2014-10-23 Thread Jacek Anaszewski
Hi Hans, Sakari, On 10/23/2014 10:19 AM, Hans de Goede wrote: Hi, On 10/22/2014 11:47 AM, Sakari Ailus wrote: Hi Hans, Hans de Goede wrote: Hi Sakari, On 10/21/2014 12:40 PM, Sakari Ailus wrote: Hi, This is a tiny library for parsing text-based media link, V4L2 sub-device format (and

Re: [v4l-utils RFC 0/2] libmediatext library

2014-10-23 Thread Hans de Goede
Hi, On 10/23/2014 10:54 AM, Jacek Anaszewski wrote: Hi Hans, Sakari, On 10/23/2014 10:19 AM, Hans de Goede wrote: Hi, On 10/22/2014 11:47 AM, Sakari Ailus wrote: Hi Hans, Hans de Goede wrote: Hi Sakari, On 10/21/2014 12:40 PM, Sakari Ailus wrote: Hi, This is a tiny library for

Re: [v4l-utils RFC 0/2] libmediatext library

2014-10-23 Thread Sakari Ailus
Hi Hans, Hans de Goede wrote: Maybe we should merge libmediactl into v4l-utils then ? Rather then v4l-utils growing an external dependency on it. Sakari ? libmediactl is already a part of v4l-utils, but it's under utils rather than lib directory. Cc Laurent. -- Kind regards, Sakari Ailus

Re: [v4l-utils RFC 0/2] libmediatext library

2014-10-23 Thread Laurent Pinchart
On Thursday 23 October 2014 12:40:12 Sakari Ailus wrote: Hi Hans, Hans de Goede wrote: Maybe we should merge libmediactl into v4l-utils then ? Rather then v4l-utils growing an external dependency on it. Sakari ? libmediactl is already a part of v4l-utils, but it's under utils rather

[PATCH 1/2] cx23885: add DVBSky S950C dvb-s/s2 ci PCIe card support(no RC)

2014-10-23 Thread Nibble Max
DVBSky s950ci dvb-s/s2 ci PCIe card: 1dvb frontend: M88TS2022(tuner),M88DS3103(demod) 2ci controller: CIMAX SP2 or its clone. 3PCIe bridge: CX23885 The patchs are based on the following patchs. Olli Salonen submit: https://patchwork.linuxtv.org/patch/26180/

[PATCH 2/2] cx23885: add DVBSky S950C and T980C RC support

2014-10-23 Thread Nibble Max
DVBSky s950ci dvb-s/s2 ci PCIe card: 1dvb frontend: M88TS2022(tuner),M88DS3103(demod) 2ci controller: CIMAX SP2 or its clone. 3PCIe bridge: CX23885 The patchs are based on the following patchs. Olli Salonen submit: https://patchwork.linuxtv.org/patch/26180/

[GIT PULL for 3.19] mem2mem patches

2014-10-23 Thread Kamil Debski
The following changes since commit 1ef24960ab78554fe7e8e77d8fc86524fbd60d3c: Merge tag 'v3.18-rc1' into patchwork (2014-10-21 08:32:51 -0200) are available in the git repository at: http://git.linuxtv.org/cgit.cgi/kdebski/media_tree_2.git for-3.19 for you to fetch changes up to

[RFCv4 PATCH 00/15] vb2: improve dma-sg, expbuf

2014-10-23 Thread Hans Verkuil
Changes since v3: - Dropped patch 02/10: succeeded by patch 10/15 in this series - Added patches 11-15 to correctly handle syncing/mapping dmabuf buffers for CPU access. This was never done correctly before. Many thanks to Pawel Osciak for helping me with this during the media mini-summit

[RFCv4 PATCH 05/15] vb2-dma-sg: add get_dmabuf

2014-10-23 Thread Hans Verkuil
From: Hans Verkuil hansv...@cisco.com Add DMABUF export support to vb2-dma-sg. Signed-off-by: Hans Verkuil hansv...@cisco.com --- drivers/media/v4l2-core/videobuf2-dma-sg.c | 170 + 1 file changed, 170 insertions(+) diff --git

[RFCv4 PATCH 12/15] videobuf2-dvb.c: convert to vb2_plane_begin_cpu_access()

2014-10-23 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/v4l2-core/videobuf2-dvb.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/media/v4l2-core/videobuf2-dvb.c b/drivers/media/v4l2-core/videobuf2-dvb.c

[RFCv4 PATCH 11/15] vb2: add begin/end_cpu_access functions

2014-10-23 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com The existing vb2_plane_vaddr function is not enough when dealing with dmabuf. For dmabuf you need to be explicit when the cpu needs access to the buffer and when that can be stopped. So add vb2_plane_begin/end_cpu_access as a vaddr replacement. The old

[RFCv4 PATCH 13/15] v4l: convert vb2_plane_vaddr to vb2_plane_begin_cpu_access

2014-10-23 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/dvb-frontends/rtl2832_sdr.c | 16 ++-- drivers/media/parport/bw-qcam.c| 5 ++- drivers/media/pci/solo6x10/solo6x10-v4l2.c | 6 ++-

[RFCv4 PATCH 03/15] vb2-dma-sg: move dma_(un)map_sg here

2014-10-23 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com This moves dma_(un)map_sg to the get_userptr/put_userptr and alloc/put memops of videobuf2-dma-sg.c and adds dma_sync_sg_for_device/cpu to the prepare/finish memops. Now that vb2-dma-sg will sync the buffers for you in the prepare/finish memops we can

[RFCv4 PATCH 02/15] vb2-dma-sg: add allocation context to dma-sg

2014-10-23 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Require that dma-sg also uses an allocation context. This is in preparation for adding prepare/finish memops to sync the memory between DMA and CPU. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/pci/cx23885/cx23885-417.c |

[RFCv4 PATCH 01/15] videobuf2-core.h: improve documentation

2014-10-23 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Document that drivers can access/modify the buffer contents in buf_prepare and buf_finish. That was not clearly stated before. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- include/media/videobuf2-core.h | 32 +--- 1

[RFCv4 PATCH 09/15] mem2mem_testdev: support expbuf

2014-10-23 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/platform/mem2mem_testdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/mem2mem_testdev.c b/drivers/media/platform/mem2mem_testdev.c index

[RFCv4 PATCH 10/15] vb2: use dma_map_sg_attrs to prevent unnecessary sync

2014-10-23 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com By default dma_map_sg syncs the mapped buffer to the device. But buf_prepare expects a buffer syncs for the cpu and the buffer will be synced to the device in the prepare memop. The reverse is true for dma_unmap_sg, buf_finish and the finish memop. To

[RFCv4 PATCH 14/15] vb2: drop the unused vb2_plane_vaddr function.

2014-10-23 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Now that all drivers have been converted, this function can be dropped. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/v4l2-core/videobuf2-core.c | 8 +--- drivers/media/v4l2-core/videobuf2-dma-contig.c | 11 ---

[RFCv4 PATCH 06/15] vb2-vmalloc: add get_dmabuf support

2014-10-23 Thread Hans Verkuil
From: Hans Verkuil hansv...@cisco.com Add support for DMABUF exporting to the vb2-vmalloc implementation. All memory models now have support for both importing and exporting of DMABUFs. Signed-off-by: Hans Verkuil hansv...@cisco.com --- drivers/media/v4l2-core/videobuf2-vmalloc.c | 174

[RFCv4 PATCH 04/15] vb2-dma-sg: add dmabuf import support

2014-10-23 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Add support for dmabuf to vb2-dma-sg. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/v4l2-core/videobuf2-dma-sg.c | 126 +++-- 1 file changed, 119 insertions(+), 7 deletions(-) diff --git

[RFCv4 PATCH 08/15] vivid: enable vb2_expbuf support.

2014-10-23 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Now that vb2 supports DMABUF export for dma-sg and vmalloc memory modes, we can enable the vb2_expbuf support in vivid. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/platform/vivid/vivid-core.c | 2 +- 1 file changed, 1

[RFCv4 PATCH 07/15] vb2: replace 'write' by 'dma_dir'

2014-10-23 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com The 'write' argument is very ambiguous. I first assumed that if it is 1, then we're doing video output but instead it meant the reverse. Since it is used to setup the dma_dir value anyway it is now replaced by the correct dma_dir value which is

[RFCv4 PATCH 15/15] vb2: update the buf_prepare/finish documentation

2014-10-23 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Document how the new vb2_plane_begin/end_cpu_access() functions should be used in buf_prepare/finish. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- include/media/videobuf2-core.h | 35 ++- 1 file changed, 22

Re: [PATCH v2] [media] coda: Improve runtime PM support

2014-10-23 Thread Philipp Zabel
Hi Ulf, Am Montag, den 22.09.2014, 20:44 +0200 schrieb Ulf Hansson: On 22 September 2014 18:05, Philipp Zabel p.za...@pengutronix.de wrote: From: Ulf Hansson ulf.hans...@linaro.org For several reasons it's good practice to leave devices in runtime PM active state while those have been

Re: [PATCH v2] [media] coda: Improve runtime PM support

2014-10-23 Thread Ulf Hansson
On 23 October 2014 13:57, Philipp Zabel p.za...@pengutronix.de wrote: Hi Ulf, Am Montag, den 22.09.2014, 20:44 +0200 schrieb Ulf Hansson: On 22 September 2014 18:05, Philipp Zabel p.za...@pengutronix.de wrote: From: Ulf Hansson ulf.hans...@linaro.org For several reasons it's good

Re: [PATCH] [media] gspca_touptek: Add support for ToupTek UCMOS series USB cameras

2014-10-23 Thread Hans de Goede
Hi, On 10/05/2014 08:43 AM, John McMaster wrote: Adds support for AmScope MU800 / ToupTek UCMOS08000KPB USB microscope camera. First of all many thanks for writing this driver, and also for submitting it upstream. We always appreciate it a lot when people put in the effort to write a driver to

Re: [v4l-utils RFC 0/2] libmediatext library

2014-10-23 Thread Hans de Goede
Hi, On 10/23/2014 12:01 PM, Laurent Pinchart wrote: On Thursday 23 October 2014 12:40:12 Sakari Ailus wrote: Hi Hans, Hans de Goede wrote: Maybe we should merge libmediactl into v4l-utils then ? Rather then v4l-utils growing an external dependency on it. Sakari ? libmediactl is already a

Re: [PATCH v2] [media] coda: Improve runtime PM support

2014-10-23 Thread Philipp Zabel
Hi Ulf, Am Donnerstag, den 23.10.2014, 14:15 +0200 schrieb Ulf Hansson: At what point is the pm domain supposed to be enabled when I load the module? Hi Philipp, The PM domain shall be powered on prior your driver starts probing. This is a common problem when using the generic PM

[PATCH 1/1] m88ts2022: return the err code in its probe function when error occurs.

2014-10-23 Thread Nibble Max
if chip_id is wrong or dev-cfg.clock_out is invalid, the i2c model is still loaded. It will cause kernel NULL pointer dereference oops when the i2c model remove. returning the err code will prevent the i2c model load. Signed-off-by: Nibble Max nibble@gmail.com ---

[GIT PULL] Exynos driver fixes for 3.18

2014-10-23 Thread Sylwester Nawrocki
Hi Mauro, I've collected the Exynos driver fixes in this pull request, it's mostly non-critical compiler warning fixes, except the PLAT_S5P patch. The following changes since commit 9f93c52783faa24c5c6fca216acf0765ad5d8dd6: [media] hackrf: harmless off by one in debug code (2014-10-21

Re: [REVIEW] Submitting Media Patches

2014-10-23 Thread Theodore Kilgore
Hans, Please check the apparent typo in your text below. what humans to best - what humans do best As for me, I am happy that I can still see well enough to have caught it. Theodore Kilgore On Wed, 22 Oct 2014, Hans Verkuil wrote: During the mini-summit it was decided that we should put

[REVIEW PATCH v1 1/2] [media] rc: port IgorPlug-USB to rc-core

2014-10-23 Thread Sean Young
This is a complete re-write inspired by the original lirc driver. Signed-off-by: Sean Young s...@mess.org --- MAINTAINERS|6 + drivers/media/rc/Kconfig | 15 +++ drivers/media/rc/Makefile |1 + drivers/media/rc/igorplugusb.c | 261

[REVIEW PATCH v1 2/2] [media] lirc_igorplugusb: remove

2014-10-23 Thread Sean Young
This driver has been replaced by an rc-core driver for the same hardware. Signed-off-by: Sean Young s...@mess.org --- drivers/staging/media/lirc/Kconfig|6 - drivers/staging/media/lirc/Makefile |1 - drivers/staging/media/lirc/lirc_igorplugusb.c | 508

cron job: media_tree daily build: ERRORS

2014-10-23 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: Fri Oct 24 04:00:35 CEST 2014 git branch: test git hash: 1ef24960ab78554fe7e8e77d8fc86524fbd60d3c gcc