[PATCH 1/1] dvb-usb-dvbsky: fix i2c adapter for sp2 device

2014-11-08 Thread Nibble Max
It is wrong that sp2 device uses the i2c adapter from m88ds3103 return. sp2 device sits on the same i2c bus with m88ds3103, not behind m88ds3103. Signed-off-by: Nibble Max nibble@gmail.com --- drivers/media/usb/dvb-usb-v2/dvbsky.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

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

2014-11-08 Thread Pawel Osciak
Hi Hans, Thank you for the patch! On Fri, Nov 7, 2014 at 5:50 PM, Hans Verkuil hverk...@xs4all.nl wrote: 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

[PATCH 1/2] smipcie: use add_i2c_client and del_i2c_client functions.

2014-11-08 Thread Nibble Max
add_i2c_client and del_i2c_client functions make code shorter and easy to maintain. Signed-off-by: Nibble Max nibble@gmail.com --- drivers/media/pci/smipcie/smipcie.c | 69 + 1 file changed, 40 insertions(+), 29 deletions(-) diff --git

[PATCH 2/2] smipcie: add DVBSky T9580 V3 support

2014-11-08 Thread Nibble Max
DVBSky T9580 V3 card is the dual tuner card, which supports S/S2 and T2/T/C. 1DVB-S/S2 frontend: M88DS3103/M88TS2022 2DVB-T2/T/C frontend: SI2168B40/SI2157A30 2PCIe bridge: SMI PCIe Signed-off-by: Nibble Max nibble@gmail.com --- drivers/media/pci/smipcie/smipcie.c | 67

Re: [PATCH v3 08/10] staging: media: Make use of MEDIA_BUS_FMT_ definitions

2014-11-08 Thread Prabhakar Lad
On Fri, Nov 7, 2014 at 2:07 PM, Boris Brezillon boris.brezil...@free-electrons.com wrote: In order to have subsytem agnostic media bus format definitions we've moved media bus definition to include/uapi/linux/media-bus-format.h and prefixed values with MEDIA_BUS_FMT instead of V4L2_MBUS_FMT.

Re: [PATCH v3 06/10] [media] platform: Make use of media_bus_format enum

2014-11-08 Thread Prabhakar Lad
Hi, Thanks for the patch, On Fri, Nov 7, 2014 at 2:07 PM, Boris Brezillon boris.brezil...@free-electrons.com wrote: In order to have subsytem agnostic media bus format definitions we've moved media bus definition to include/uapi/linux/media-bus-format.h and prefixed values with MEDIA_BUS_FMT

Re: [PATCH v3 04/10] [media] i2c: Make use of media_bus_format enum

2014-11-08 Thread Prabhakar Lad
On Fri, Nov 7, 2014 at 2:07 PM, Boris Brezillon boris.brezil...@free-electrons.com wrote: In order to have subsytem agnostic media bus format definitions we've moved media bus definitions to include/uapi/linux/media-bus-format.h and prefixed values with MEDIA_BUS_FMT instead of V4L2_MBUS_FMT.

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

2014-11-08 Thread Pawel Osciak
Hi Hans, Thank you for the patch. On Fri, Nov 7, 2014 at 5:50 PM, Hans Verkuil hverk...@xs4all.nl wrote: 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

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

2014-11-08 Thread Pawel Osciak
Hi Hans, Thank you for the patch. On Fri, Nov 7, 2014 at 5:50 PM, Hans Verkuil hverk...@xs4all.nl wrote: From: Hans Verkuil hans.verk...@cisco.com Add support for dmabuf to vb2-dma-sg. importing dmabuf into videobuf2-dma-sg. Signed-off-by: Hans Verkuil hans.verk...@cisco.com ---

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

2014-11-08 Thread Pawel Osciak
On Sat, Nov 8, 2014 at 7:20 PM, Pawel Osciak pa...@osciak.com wrote: Hi Hans, Thank you for the patch. On Fri, Nov 7, 2014 at 5:50 PM, Hans Verkuil hverk...@xs4all.nl wrote: From: Hans Verkuil hans.verk...@cisco.com Add support for dmabuf to vb2-dma-sg. importing dmabuf into

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

2014-11-08 Thread Pawel Osciak
Hi Hans, Thank you for the patch. On Fri, Nov 7, 2014 at 5:50 PM, Hans Verkuil hverk...@xs4all.nl wrote: From: Hans Verkuil hansv...@cisco.com Add DMABUF export support to vb2-dma-sg. I think we should mention in the subject that this adds dmabuf export to dma-sg. Signed-off-by: Hans

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

2014-11-08 Thread Pawel Osciak
Hi Hans, On Fri, Nov 7, 2014 at 5:50 PM, Hans Verkuil hverk...@xs4all.nl wrote: 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

[PATCH v2 2/2] smipcie: add DVBSky T9580 V3 support

2014-11-08 Thread Nibble Max
v2: - Update Kconfig file. DVBSky T9580 V3 card is the dual tuner card, which supports S/S2 and T2/T/C. 1DVB-S/S2 frontend: M88DS3103/M88TS2022 2DVB-T2/T/C frontend: SI2168B40/SI2157A30 2PCIe bridge: SMI PCIe Signed-off-by: Nibble Max nibble@gmail.com --- drivers/media/pci/smipcie/Kconfig

[PATCH v2 1/2] smipcie: use add_i2c_client and del_i2c_client functions.

2014-11-08 Thread Nibble Max
v2: -no change, just resend with other patches. add_i2c_client and del_i2c_client functions make code shorter and easy to maintain. Signed-off-by: Nibble Max nibble@gmail.com --- drivers/media/pci/smipcie/smipcie.c | 69 + 1 file changed, 40

[GIT PULL for v3.18-rc4] media fixes

2014-11-08 Thread Mauro Carvalho Chehab
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media master For: - Some regression fixes at the Remote Controller core and imon driver; - A build fix for certain randconfigs with ir-hix5hd2; - Don't feed power to satellite system at ds3000 driver

Re: [PATCH 05/11] cx25840/cx18: Use standard ordering of mask and shift

2014-11-08 Thread Andy Walls
On Sun, 2014-10-26 at 22:25 -0700, Joe Perches wrote: Precedence of and is not the same and is not left to right. shift has higher precedence and should be done after the mask. This use has a mask then shift which is not the normal style. Move the shift before the mask to match nearly

[PATCH v5 10/10] [media] v4l: Forbid usage of V4L2_MBUS_FMT definitions inside the kernel

2014-11-08 Thread Boris Brezillon
Place v4l2_mbus_pixelcode in a #ifndef __KERNEL__ section so that kernel users don't have access to these definitions. We have to keep this definition for user-space users even though they're encouraged to move to the new media_bus_format enum. Signed-off-by: Boris Brezillon

[PATCH] Technisat DVB-S2 USB: reduced buffer sizes

2014-11-08 Thread Jan Tisje
Hi, I reduced the buffer size in order to make this driver work on my NAS station. It's an arm system and thus only has limited resources. I compiled and ran with kernel 3.16.3 for some weeks and now compiled and booted kernel 3.17.2 today. Without this patch the device doesn't work at all, in

AF9035 not builded from git

2014-11-08 Thread kapetr
Hello. The Problem still persist. In attachment is log of ./build command - the module dvb-usb-af9035 is not buided. ./v4l/af9035.c/h are there ?! I would be really happy to watch my TV again. Could someone check where is the problem ? Maybe in makefiles ? (I don't understand them).

Re: STK1160 Sharpness

2014-11-08 Thread Ezequiel Garcia
Hi Барт, If at all possible, remember to avoid top-posting, because it makes the discussion harder to follow. On Sat, Nov 8, 2014 at 1:42 PM, Барт Гопник bart.gop...@gmail.com wrote: Looks like the problem is not in the v4l. The sharpness controlled for my webcam is perfectly, but I can't

[PATCH 0/3] Add V4L2_SEL_TGT_NATIVE_SIZE target

2014-11-08 Thread Sakari Ailus
Hi, This small set cleans up sub-device format documentation --- the documentation noted the source format is used to configure scaling, which was contradicting what was said right after on the selections on sub-devices. This part was written before the selections interface. The two latter

[PATCH 3/3] smiapp: Support V4L2_SEL_TGT_NATIVE_SIZE

2014-11-08 Thread Sakari Ailus
Add support for selection target V4L2_SEL_TGT_NATIVE_SIZE. It is equivalent of what V4L2_SEL_TGT_CROP_BOUNDS used to be. Support for V4L2_SEL_TGT_CROP_BOUNDS is still supported by the driver as a compatibility interface. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi ---

[PATCH 2/3] v4l: Add V4L2_SEL_TGT_NATIVE_SIZE selection target

2014-11-08 Thread Sakari Ailus
The V4L2_SEL_TGT_NATIVE_SIZE target is used to denote e.g. the size of a sensor's pixel array. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi --- Documentation/DocBook/media/v4l/selections-common.xml |8 include/uapi/linux/v4l2-common.h |2 ++ 2 files

[PATCH 1/3] v4l: Clean up sub-device format documentation

2014-11-08 Thread Sakari Ailus
The sub-device format documentation documented scaling configuration through formats. Instead the compose selection rectangle is elsewhere documented to be used for the purpose. Remove scaling related part of the documentation. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi ---

[PATCH 04/10] smiapp: Register async subdev

2014-11-08 Thread Sakari Ailus
Register and unregister async sub-device for DT. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi --- drivers/media/i2c/smiapp/smiapp-core.c | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/drivers/media/i2c/smiapp/smiapp-core.c

[PATCH 07/10] of: smiapp: Add documentation

2014-11-08 Thread Sakari Ailus
Document the smiapp device tree properties. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi Cc: devicet...@vger.kernel.org --- .../devicetree/bindings/media/i2c/nokia,smia.txt | 63 MAINTAINERS|1 + 2 files changed, 64

[PATCH 02/10] smiapp-pll: include linux/device.h in smiapp-pll.c, not in smiapp-pll.h

2014-11-08 Thread Sakari Ailus
struct device has a forward declaration in the header already. The header is only needed in the .c file. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi --- drivers/media/i2c/smiapp-pll.c |1 + drivers/media/i2c/smiapp-pll.h |2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff

[PATCH 01/10] smiapp: Remove FSF's address from the license header

2014-11-08 Thread Sakari Ailus
Remove FSF's address information from the license header in the smiapp driver and the smiapp-pll PLL calculator. This should no longer be needed, and would be rendered outdated in case the FSF chooses to relocate its office. Signed-off-by: Sakari Ailus sakari.ai...@linux.intel.com Cc: Timo Ahonen

[PATCH 06/10] of: v4l: Document link-frequency property in video-interfaces.txt

2014-11-08 Thread Sakari Ailus
link-frequency is a 64-bit unsigned integer array of allowed link frequencies. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi Cc: devicet...@vger.kernel.org --- Documentation/devicetree/bindings/media/video-interfaces.txt |3 +++ 1 file changed, 3 insertions(+) diff --git

[PATCH 08/10] smiapp: Obtain device information from the Device Tree if OF node exists

2014-11-08 Thread Sakari Ailus
Platform data support is retained. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi --- drivers/media/i2c/smiapp/smiapp-core.c | 100 +++- 1 file changed, 98 insertions(+), 2 deletions(-) diff --git a/drivers/media/i2c/smiapp/smiapp-core.c

[PATCH 05/10] smiapp: The sensor only needs a single clock, name may be NULL

2014-11-08 Thread Sakari Ailus
The SMIA compatible sensors only need a single clock. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi --- drivers/media/i2c/smiapp/smiapp-core.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/i2c/smiapp/smiapp-core.c b/drivers/media/i2c/smiapp/smiapp-core.c

[PATCH 00/10] smiapp OF support

2014-11-08 Thread Sakari Ailus
Hello, This patchset adds support for Device tree in the smiapp driver. Platform data support is retained as well. The actual DT related changes are prepended by a few simple cleanups. A new link-frequency property is defined in video-interfaces.txt, as this is hardly something which is

[PATCH 09/10] smiapp: Split sub-device initialisation off from the registered callback

2014-11-08 Thread Sakari Ailus
The registered callback is called by the V4L2 async framework after the bound callback. This allows separating the functionality in the registered callback so that on DT based systems only sub-device registration is done there. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi ---

[PATCH 10/10] smiapp: Fully probe the device in probe

2014-11-08 Thread Sakari Ailus
In the case of platform data, ISPs that provide clocks to the sensor must probe before the sensor does. Accessing the sensor does require the clocks, and thus, probe cannot access the sensor in such a system. This limitation does not exist in the case of the DT. Perform all initialisation except

[PATCH 03/10] smiapp: Use types better suitable for DT

2014-11-08 Thread Sakari Ailus
Signed-off-by: Sakari Ailus sakari.ai...@iki.fi --- include/media/smiapp.h | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/media/smiapp.h b/include/media/smiapp.h index 0b8f124..268a3cd 100644 --- a/include/media/smiapp.h +++ b/include/media/smiapp.h @@

cron job: media_tree daily build: OK

2014-11-08 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: Sun Nov 9 04:00:15 CET 2014 git branch: test git hash: 4895cc47a072dcb32d3300d0a46a251a8c6db5f1 gcc