Re: [RFC PATCH 00/24] Make Nokia N900 cameras working

2016-04-25 Thread Ivaylo Dimitrov
Hi, On 26.04.2016 01:07, Pavel Machek wrote: Hi! Hi! All my testing so far was performed using modules, though it shouldn't make difference. https://lkml.org/lkml/2016/4/16/14 https://lkml.org/lkml/2016/4/16/33 More stuff is needed, all those twl4030 regulator patches (already in

Re: mceusb xhci issue?

2016-04-25 Thread Wade Berrier
On Apr 25 18:15, Sean Young wrote: > On Sun, Apr 24, 2016 at 10:06:33PM -0600, Wade Berrier wrote: > > Hello, > > > > I have a mceusb compatible transceiver that only seems to work with > > certain computers. I'm testing this on centos7 (3.10.0) and fedora23 > > (4.4.7). > > > > The only

cron job: media_tree daily build: OK

2016-04-25 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: Tue Apr 26 04:00:21 CEST 2016 git branch: test git hash: 363d79f1d5bd09158cc28db543ca18549a5d7e52 gcc

Re: [PATCH v8 5/8] [media] vcodec: mediatek: Add Mediatek V4L2 Video Encoder Driver

2016-04-25 Thread tiffany lin
Hi Hans, On Mon, 2016-04-25 at 15:13 +0200, Hans Verkuil wrote: > On 04/25/2016 02:30 PM, Tiffany Lin wrote: > > Add v4l2 layer encoder driver for MT8173 > > > > Signed-off-by: Tiffany Lin > > > > --- > > drivers/media/platform/Kconfig | 16 + >

[PATCH/RFC] dmxdev: Add support for the FIONREAD ioctl

2016-04-25 Thread Dominic Chen
This is a standard ioctl supported by file descriptors, sockets (as SIOCINQ), and ttys (as TIOCOUTQ) to get the size of the available read buffer. It provides userspace with a feedback mechanism to avoid overflow of the kernel ringbuffer, and is used by e.g. libevent. Signed-off-by: Dominic Chen

Re: [RFC PATCH 00/24] Make Nokia N900 cameras working

2016-04-25 Thread Pavel Machek
Hi! > >Hi! > > > >>All my testing so far was performed using modules, though it shouldn't make > >>difference. > >> > >>>https://lkml.org/lkml/2016/4/16/14 > >>>https://lkml.org/lkml/2016/4/16/33 > >>> > >> > >>More stuff is needed, all those twl4030 regulator patches (already in > >>linux-next)

[PATCH v2 11/13] drm: rcar-du: Add alpha support for VSP planes

2016-04-25 Thread Laurent Pinchart
Make the global alpha multiplier of VSP planes configurable through the alpha property, exactly as for the native DU planes. Signed-off-by: Laurent Pinchart Acked-by: Dave Airlie --- drivers/gpu/drm/rcar-du/rcar_du_vsp.c | 38

[PATCH v2 12/13] drm: rcar-du: Add Z-order support for VSP planes

2016-04-25 Thread Laurent Pinchart
Make the Z-order of VSP planes configurable through the zpos property, exactly as for the native DU planes. Signed-off-by: Laurent Pinchart Acked-by: Dave Airlie --- drivers/gpu/drm/rcar-du/rcar_du_vsp.c | 11 ---

[PATCH v2 04/13] v4l: vsp1: Don't handle clocks manually

2016-04-25 Thread Laurent Pinchart
The power domain performs functional clock handling when using runtime PM, there's no need to enable and disable the clock manually. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1.h | 1 -

[PATCH v2 09/13] v4l: vsp1: Move frame sequence number from video node to pipeline

2016-04-25 Thread Laurent Pinchart
The frame sequence number is global to the pipeline, there's no need to store copies in each video node. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_pipe.c | 2 ++ drivers/media/platform/vsp1/vsp1_pipe.h | 2 ++

[PATCH v2 08/13] v4l: vsp1: Make vsp1_entity_get_pad_compose() more generic

2016-04-25 Thread Laurent Pinchart
Turn the helper into a function that can retrieve crop and compose selection rectangles. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_entity.c | 24 drivers/media/platform/vsp1/vsp1_entity.h | 6 +++---

[PATCH v2 07/13] v4l: vsp1: Replace container_of() with dedicated macro

2016-04-25 Thread Laurent Pinchart
Add a macro to cast from a struct media_entity to a struct vsp1_entity to replace the manual implementations. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_entity.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-)

[PATCH v2 00/13] R-Car VSP improvements for v4.7 - Round 2

2016-04-25 Thread Laurent Pinchart
Hello, This patch series is the second version of the second (and most probably last) round of vsp1 driver improvements for v4.7. In particular, it enables runtime PM support (03/13 and 04/13), adds support for the FCP (01/13, 02/13 and 05/13), prepare for HGO (histogram) support (06/13 to 09/13)

[PATCH v2 13/13] v4l: vsp1: Remove deprecated DRM API

2016-04-25 Thread Laurent Pinchart
The DRM driver has switched to the new API, remove the deprecated macros and inline wrapper. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_drm.c | 6 +++--- include/media/vsp1.h | 28

[PATCH v2 10/13] v4l: vsp1: Group DRM RPF parameters in a structure

2016-04-25 Thread Laurent Pinchart
The vsp1_du_atomic_update_ext() function takes 7 RPF configuration parameters, and more will likely be added later. This makes the code difficult to read and error-prone as multiple parameters have the same type. Make the API safer and easier to extend in the future by grouping all parameters in

[PATCH v2 06/13] v4l: vsp1: Add output node value to routing table

2016-04-25 Thread Laurent Pinchart
The output node value indicates the value to be used in a sampling point register to use the node as the source of histogram data. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_entity.c | 52 ---

[PATCH v2 03/13] v4l: vsp1: Implement runtime PM support

2016-04-25 Thread Laurent Pinchart
Replace the manual refcount and clock management code by runtime PM. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1.h | 3 - drivers/media/platform/vsp1/vsp1_drv.c | 101

[PATCH v2 02/13] v4l: Add Renesas R-Car FCP driver

2016-04-25 Thread Laurent Pinchart
The FCP is a companion module of video processing modules in the Renesas R-Car Gen3 SoCs. It provides data compression and decompression, data caching, and conversion of AXI transactions in order to reduce the memory bandwidth. The driver is not meant to be used standalone but provides an API to

[PATCH v2 05/13] v4l: vsp1: Add FCP support

2016-04-25 Thread Laurent Pinchart
On some platforms the VSP performs memory accesses through an FCP. When that's the case get a reference to the FCP from the VSP DT node and enable/disable it at runtime as needed. Signed-off-by: Laurent Pinchart ---

[PATCH v2 01/13] dt-bindings: Add Renesas R-Car FCP DT bindings

2016-04-25 Thread Laurent Pinchart
The FCP is a companion module of video processing modules in the Renesas R-Car Gen3 SoCs. It provides data compression and decompression, data caching, and conversion of AXI transactions in order to reduce the memory bandwidth. Signed-off-by: Laurent Pinchart

Re: [RFC PATCH 00/24] Make Nokia N900 cameras working

2016-04-25 Thread Ivaylo Dimitrov
Hi, On 25.04.2016 23:41, Pavel Machek wrote: Hi! All my testing so far was performed using modules, though it shouldn't make difference. https://lkml.org/lkml/2016/4/16/14 https://lkml.org/lkml/2016/4/16/33 More stuff is needed, all those twl4030 regulator patches (already in linux-next)

Re: [RFC PATCH 00/24] Make Nokia N900 cameras working

2016-04-25 Thread Pavel Machek
Hi! > All my testing so far was performed using modules, though it shouldn't make > difference. > > >https://lkml.org/lkml/2016/4/16/14 > >https://lkml.org/lkml/2016/4/16/33 > > > > More stuff is needed, all those twl4030 regulator patches (already in > linux-next) + DTS initial-mode patch >

Re: [RFC PATCH 00/24] Make Nokia N900 cameras working

2016-04-25 Thread Ivaylo Dimitrov
Hi, On 25.04.2016 21:40, Pavel Machek wrote: Hi! I can't do -vo xv ... fails for me, probably due to X configuration. Does it work with -vo x11 for you? yes, -vo x11 works under maemo. Ok, good. In linux-n900 branch we have a patch that reserves memory for omapfb - see

Re: [RFC PATCH 00/24] Make Nokia N900 cameras working

2016-04-25 Thread Pavel Machek
Hi! > >I can't do -vo xv ... fails for me, probably due to X > >configuration. Does it work with -vo x11 for you? > > > yes, -vo x11 works under maemo. Ok, good. > In linux-n900 branch we have a patch that reserves memory for omapfb - see >

Re: [PATCHv4 13/13] vb2: replace void *alloc_ctxs by struct device *alloc_devs

2016-04-25 Thread Laurent Pinchart
Hi Hans, Thank you for the patch. On Saturday 23 Apr 2016 13:03:49 Hans Verkuil wrote: > From: Hans Verkuil > > Make this a proper typed array. Drop the old allocate context code since > that is no longer used. > > Note that the memops functions now get a struct device

Re: [PATCHv4 02/13] vb2: add a dev field to use for the default allocation context

2016-04-25 Thread Laurent Pinchart
Hi Hans, Thank you for the patch. On Saturday 23 Apr 2016 13:03:38 Hans Verkuil wrote: > From: Hans Verkuil > > The allocation context is nothing more than a per-plane device pointer > to use when allocating buffers. So just provide a dev pointer in vb2_queue > for that

Re: [PATCHv4 01/13] vb2: move dma_attrs to vb2_queue

2016-04-25 Thread Laurent Pinchart
Hi Hans, Thank you for the patch. On Saturday 23 Apr 2016 13:03:37 Hans Verkuil wrote: > From: Hans Verkuil > > Make the dma attributes struct part of vb2_queue. This greatly simplifies > the remainder of the patch series since the dma_contig alloc context is > now (as

Re: [PATCH] i2c: saa7115: Support CJC7113 detection

2016-04-25 Thread Ezequiel Garcia
On 23 March 2016 at 01:23, Ezequiel Garcia wrote: > From: Kevin Fitch > > It's been reported that CJC7113 devices are returning > all 1s when reading register 0: > > "" found @ 0x4a (stk1160) > > This new device is apparently

Re: [RFC PATCH 00/24] Make Nokia N900 cameras working

2016-04-25 Thread Ivaylo Dimitrov
On 25.04.2016 20:09, Pavel Machek wrote: Hi! The needed pipeline could be made with: Would you have similar pipeline for the back camera? Autofocus and 5MPx makes it more interesting. I understand that different dts will be needed. Try with: media-ctl -r media-ctl -l '"et8ek8 3-003e":0

Re: [RFC PATCH 00/24] Make Nokia N900 cameras working

2016-04-25 Thread Ivaylo Dimitrov
Hi, On 25.04.2016 19:58, Pavel Machek wrote: Hi! Ok, let me try: The needed pipeline could be made with: media-ctl -r media-ctl -l '"vs6555 binner 2-0010":1 -> "video-bus-switch":2 [1]' media-ctl -l '"video-bus-switch":0 -> "OMAP3 ISP CCP2":0 [1]' media-ctl -l '"OMAP3 ISP CCP2":1 -> "OMAP3

Re: [RFC PATCH 00/24] Make Nokia N900 cameras working

2016-04-25 Thread Pali Rohár
On Monday 25 April 2016 16:14:41 Pali Rohár wrote: > > Anyway, does anyone know where to get the media-ctl tool? > > Looks like it is part of v4l-utils package. At least in git: > https://git.linuxtv.org/v4l-utils.git/tree/utils/media-ctl > > > It does not seem to be in debian 7 or debian 8... >

Re: mceusb xhci issue?

2016-04-25 Thread Sean Young
On Sun, Apr 24, 2016 at 10:06:33PM -0600, Wade Berrier wrote: > Hello, > > I have a mceusb compatible transceiver that only seems to work with > certain computers. I'm testing this on centos7 (3.10.0) and fedora23 > (4.4.7). > > The only difference I can see is that the working computer shows >

Re: [RFC PATCH 00/24] Make Nokia N900 cameras working

2016-04-25 Thread Pavel Machek
Hi! > >>The needed pipeline could be made with: > > > >Would you have similar pipeline for the back camera? Autofocus and > >5MPx makes it more interesting. I understand that different dts will > >be needed. > > > > Try with: > > media-ctl -r > media-ctl -l '"et8ek8 3-003e":0 ->

Re: [RFC PATCH 00/24] Make Nokia N900 cameras working

2016-04-25 Thread Pavel Machek
Hi! Ok, let me try: > The needed pipeline could be made with: > > media-ctl -r > media-ctl -l '"vs6555 binner 2-0010":1 -> "video-bus-switch":2 [1]' > media-ctl -l '"video-bus-switch":0 -> "OMAP3 ISP CCP2":0 [1]' > media-ctl -l '"OMAP3 ISP CCP2":1 -> "OMAP3 ISP CCDC":0 [1]' > media-ctl -l

Re: [RFC PATCH 01/24] V4L fixes

2016-04-25 Thread Ivaylo Dimitrov
Hi, On 25.04.2016 16:25, Sakari Ailus wrote: Hi Ivaylo, Thanks for the set! On Mon, Apr 25, 2016 at 12:08:01AM +0300, Ivaylo Dimitrov wrote: From: "Tuukka.O Toivonen" Squashed from the following upstream commits: V4L: Create control class for sensor mode V4L:

Re: dvb-s2 card "TeVii S472" (cx23885)

2016-04-25 Thread Hendrik Oenings
Hi Olli, I've tested the driver, it compiles well and I've installed it on my system. But there's a problem: Everytime I try to load the driver (exact: the module cx23885), modprobe (or insmod) is giving me the following: # modprobe cx23885 modprobe: ERROR: could not insert 'cx23885': Exec format

Re: [PATCH] [media] tvp686x: Don't go past array

2016-04-25 Thread Mauro Carvalho Chehab
Em Mon, 25 Apr 2016 12:26:40 -0300 Ezequiel Garcia escreveu: > Hi Mauro, Hans: > > Thanks for the fixes to this driver :-) > > On 25 Apr 09:40 AM, Mauro Carvalho Chehab wrote: > > Ezequiel, > > > > Btw, I'm not seeing support for fps != 25 (or 30 fps) on this

Re: [PATCH] [media] tvp686x: Don't go past array

2016-04-25 Thread Ezequiel Garcia
Hi Mauro, Hans: Thanks for the fixes to this driver :-) On 25 Apr 09:40 AM, Mauro Carvalho Chehab wrote: > Ezequiel, > > Btw, I'm not seeing support for fps != 25 (or 30 fps) on this driver. > As the device seems to support setting the fps, you should be adding > support on it for VIDIOC_S_PARM

Re: [PATCHv4 08/13] media/platform: convert drivers to use the new vb2_queue dev field

2016-04-25 Thread Benoit Parrot
Hans, Thanks for the patch. Acked-by: Benoit Parrot Hans Verkuil wrote on Sat [2016-Apr-23 13:03:44 +0200]: > From: Hans Verkuil > > Stop using alloc_ctx and just fill in the device pointer. > > Signed-off-by: Hans Verkuil

Re: [PATCHv4 02/13] vb2: add a dev field to use for the default allocation context

2016-04-25 Thread Benoit Parrot
Hans, Thanks for the patch. Acked-by: Benoit Parrot Hans Verkuil wrote on Sat [2016-Apr-23 13:03:38 +0200]: > From: Hans Verkuil > > The allocation context is nothing more than a per-plane device pointer > to use when allocating

Re: [PATCH] [media] au0828: fix double free in au0828_usb_probe()

2016-04-25 Thread Shuah Khan
On 04/22/2016 04:05 PM, Alexey Khoroshilov wrote: > In case of failure au0828_v4l2_device_register() deallocates dev > and returns error code to au0828_usb_probe(), which also > calls kfree(dev) on a failure path. > > The patch removes duplicated code from au0828_v4l2_device_register(). > >

Re: [RFC PATCH 00/24] Make Nokia N900 cameras working

2016-04-25 Thread Pali Rohár
On Monday 25 April 2016 16:06:12 Pavel Machek wrote: > Hi! > > > On Monday 25 April 2016 00:08:00 Ivaylo Dimitrov wrote: > > > The needed pipeline could be made with: > > > > > > media-ctl -r > > > media-ctl -l '"vs6555 binner 2-0010":1 -> "video-bus-switch":2 > ... > > On Monday 25 April 2016

Re: [RFC PATCH 00/24] Make Nokia N900 cameras working

2016-04-25 Thread Hans Verkuil
On 04/25/2016 04:06 PM, Pavel Machek wrote: > Hi! > >> On Monday 25 April 2016 00:08:00 Ivaylo Dimitrov wrote: >>> The needed pipeline could be made with: >>> >>> media-ctl -r >>> media-ctl -l '"vs6555 binner 2-0010":1 -> "video-bus-switch":2 > ... >> On Monday 25 April 2016 09:33:18 Ivaylo

Re: [RFC PATCH 00/24] Make Nokia N900 cameras working

2016-04-25 Thread Pavel Machek
Hi! > On Monday 25 April 2016 00:08:00 Ivaylo Dimitrov wrote: > > The needed pipeline could be made with: > > > > media-ctl -r > > media-ctl -l '"vs6555 binner 2-0010":1 -> "video-bus-switch":2 ... > On Monday 25 April 2016 09:33:18 Ivaylo Dimitrov wrote: > > Try with: > > > > media-ctl -r > >

Re: [PATCHv3 01/12] vb2: add a dev field to use for the default allocation context

2016-04-25 Thread Laurent Pinchart
Hi Hans, On Monday 25 Apr 2016 09:25:57 Hans Verkuil wrote: > On 04/24/2016 11:51 PM, Laurent Pinchart wrote: > > On Saturday 23 Apr 2016 12:37:10 Hans Verkuil wrote: > >> On 04/23/2016 02:14 AM, Laurent Pinchart wrote: > >>> On Friday 22 Apr 2016 10:38:08 Hans Verkuil wrote: > From: Hans

Re: [PATCH 02/13] v4l: Add Renesas R-Car FCP driver

2016-04-25 Thread Laurent Pinchart
Hi Geert, Thank you for the review. On Monday 25 Apr 2016 09:37:07 Geert Uytterhoeven wrote: > On Sun, Apr 24, 2016 at 1:49 AM, Laurent Pinchart > > wrote: > > The FCP is a companion module of video processing modules in the > > Renesas R-Car Gen3

Re: [PATCH 14/41] Documentation: dt: media: fix spelling mistake

2016-04-25 Thread Rob Herring
On Mon, Apr 25, 2016 at 01:24:11AM +0100, Eric Engestrom wrote: > Signed-off-by: Eric Engestrom Applied, thanks. Rob > --- > Documentation/devicetree/bindings/media/xilinx/video.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [PATCH 03/13] v4l: vsp1: Implement runtime PM support

2016-04-25 Thread Laurent Pinchart
Hi Geert, Thank you for the review. On Monday 25 Apr 2016 10:24:22 Geert Uytterhoeven wrote: > On Sun, Apr 24, 2016 at 1:49 AM, Laurent Pinchart > > wrote: > > Replace the manual refcount and clock management code by runtime PM. > > > >

Re: [PATCH 01/13] dt-bindings: Add Renesas R-Car FCP DT bindings

2016-04-25 Thread Laurent Pinchart
Hi Geert, Thank you for the review. On Monday 25 Apr 2016 09:32:04 Geert Uytterhoeven wrote: > On Sun, Apr 24, 2016 at 1:49 AM, Laurent Pinchart wrote: > > The FCP is a companion module of video processing modules in the Renesas > > R-Car Gen3 SoCs. It provides data compression and

Re: [RFC PATCH 01/24] V4L fixes

2016-04-25 Thread Sakari Ailus
Hi Ivaylo, Thanks for the set! On Mon, Apr 25, 2016 at 12:08:01AM +0300, Ivaylo Dimitrov wrote: > From: "Tuukka.O Toivonen" > > Squashed from the following upstream commits: > > V4L: Create control class for sensor mode > V4L: add ad5820 focus specific custom

[PATCH 3/3] samples: v4l: from Documentation to samples directory

2016-04-25 Thread Arnd Bergmann
With the new autoksyms support, we can run into a situation where the v4l pci skeleton module is the only one using some exported symbols that get dropped because they are never referenced by the kernel otherwise, causing a build problem: ERROR: "vb2_dma_contig_memops"

Re: [PATCH v8 5/8] [media] vcodec: mediatek: Add Mediatek V4L2 Video Encoder Driver

2016-04-25 Thread Hans Verkuil
On 04/25/2016 02:30 PM, Tiffany Lin wrote: > Add v4l2 layer encoder driver for MT8173 > > Signed-off-by: Tiffany Lin > > --- > drivers/media/platform/Kconfig | 16 + > drivers/media/platform/Makefile|2 + >

Re: [PATCH] [media] tvp686x: Don't go past array

2016-04-25 Thread Mauro Carvalho Chehab
Em Mon, 25 Apr 2016 14:42:31 +0200 Hans Verkuil escreveu: > > So, I would go to the following enclosed patch. > > Looks good to me. Acked below. Amazing how many bugs one can make in one > simple patch... Applied, thanks! Yeah, simple patches are harder than complex

Re: [PATCH] [media] tvp686x: Don't go past array

2016-04-25 Thread Hans Verkuil
On 04/25/2016 02:40 PM, Mauro Carvalho Chehab wrote: > Em Mon, 25 Apr 2016 13:36:57 +0200 > Hans Verkuil escreveu: > >> Since my patch exchanges the sparse warning with a smatch warning, it's >> OK to take this one, with a few corrections: >> >> Please update the subject line

Re: [PATCH] VPU: mediatek: fix platform_no_drv_owner.cocci warnings

2016-04-25 Thread andrew-ct chen
On Fri, 2016-04-22 at 15:08 +0200, Julia Lawall wrote: > Remove .owner field if calls are used which set it automatically > > Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci > > CC: Andrew-CT Chen > Signed-off-by: Fengguang Wu

Re: [PATCH] VPU: mediatek: fix simple_open.cocci warnings

2016-04-25 Thread andrew-ct chen
On Fri, 2016-04-22 at 15:12 +0200, Julia Lawall wrote: > Remove an open coded simple_open() function > and replace file operations references to the function > with simple_open() instead. > > Generated by: scripts/coccinelle/api/simple_open.cocci > > CC: Andrew-CT Chen

Re: [PATCH] [media] tvp686x: Don't go past array

2016-04-25 Thread Mauro Carvalho Chehab
Em Mon, 25 Apr 2016 13:36:57 +0200 Hans Verkuil escreveu: > Since my patch exchanges the sparse warning with a smatch warning, it's > OK to take this one, with a few corrections: > > Please update the subject line (it says tvp686x instead of tw686x). Gah... > > On

[PATCH v8 1/8] dt-bindings: Add a binding for Mediatek Video Processor

2016-04-25 Thread Tiffany Lin
From: Andrew-CT Chen Add a DT binding documentation of Video Processor Unit for the MT8173 SoC from Mediatek. Signed-off-by: Andrew-CT Chen Signed-off-by: Tiffany Lin Acked-by: Rob Herring

[PATCH v8 7/8] [media] vcodec: mediatek: Add Mediatek H264 Video Encoder Driver

2016-04-25 Thread Tiffany Lin
Add h264 encoder driver for MT8173 Signed-off-by: PoChun Lin Signed-off-by: Tiffany Lin --- drivers/media/platform/mtk-vcodec/Makefile |1 + .../media/platform/mtk-vcodec/venc/venc_h264_if.c | 677

[PATCH v8 5/8] [media] vcodec: mediatek: Add Mediatek V4L2 Video Encoder Driver

2016-04-25 Thread Tiffany Lin
Add v4l2 layer encoder driver for MT8173 Signed-off-by: Tiffany Lin --- drivers/media/platform/Kconfig | 16 + drivers/media/platform/Makefile|2 + drivers/media/platform/mtk-vcodec/Makefile | 14 +

[PATCH v8 0/8] Add MT8173 Video Encoder Driver and VPU Driver

2016-04-25 Thread Tiffany Lin
== Introduction == The purpose of this series is to add the driver for video codec hw embedded in the Mediatek's MT8173 SoCs. Mediatek Video Codec is able to handle video encoding of in a range of formats. This patch series also include VPU driver. Mediatek Video Codec

[PATCH v8 2/8] [media] VPU: mediatek: support Mediatek VPU

2016-04-25 Thread Tiffany Lin
From: Andrew-CT Chen The VPU driver for hw video codec embedded in Mediatek's MT8173 SOCs. It is able to handle video decoding/encoding of in a range of formats. The driver provides with VPU firmware download, memory management and the communication interface between

[PATCH v8 4/8] dt-bindings: Add a binding for Mediatek Video Encoder

2016-04-25 Thread Tiffany Lin
Add a DT binding documentation of Video Encoder for the MT8173 SoC from Mediatek. Signed-off-by: Tiffany Lin Acked-by: Rob Herring --- .../devicetree/bindings/media/mediatek-vcodec.txt | 59 1 file changed, 59 insertions(+)

[PATCH v8 3/8] arm64: dts: mediatek: Add node for Mediatek Video Processor Unit

2016-04-25 Thread Tiffany Lin
From: Andrew-CT Chen Add VPU drivers for MT8173 Signed-off-by: Andrew-CT Chen Signed-off-by: Tiffany Lin --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 23 +++ 1 file changed, 23

[PATCH v8 6/8] [media] vcodec: mediatek: Add Mediatek VP8 Video Encoder Driver

2016-04-25 Thread Tiffany Lin
Add vp8 encoder driver for MT8173 Signed-off-by: PoChun Lin Signed-off-by: Tiffany Lin --- drivers/media/platform/mtk-vcodec/Makefile |6 +- .../media/platform/mtk-vcodec/venc/venc_vp8_if.c | 479

[PATCH v8 8/8] arm64: dts: mediatek: Add Video Encoder for MT8173

2016-04-25 Thread Tiffany Lin
Add video encoder node for MT8173 Signed-off-by: Tiffany Lin --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 39 ++ 1 file changed, 39 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi

[PATCHv15 13/15] vivid: add CEC emulation

2016-04-25 Thread Hans Verkuil
From: Hans Verkuil The vivid driver has been extended to provide CEC adapters for the HDMI input and HDMI outputs in order to test CEC applications. This CEC emulation is faithful to the CEC timings (i.e., it all at a snail's pace). Signed-off-by: Hans Verkuil

[PATCHv15 14/15] pulse8-cec: add new driver

2016-04-25 Thread Hans Verkuil
From: Hans Verkuil Alpha quality only at the moment. Signed-off-by: Hans Verkuil --- MAINTAINERS | 7 + drivers/media/usb/Kconfig | 5 + drivers/media/usb/Makefile| 1 +

[PATCHv15 15/15] cec: add ARC and CDC support

2016-04-25 Thread Hans Verkuil
From: Hans Verkuil Preliminary ARC and CDC support. Untested and experimental! Signed-off-by: Hans Verkuil --- .../DocBook/media/v4l/cec-ioc-adap-g-caps.xml | 10 ++ Documentation/DocBook/media/v4l/cec-ioc-g-mode.xml | 36

[PATCHv15 06/15] cec: add compat32 ioctl support

2016-04-25 Thread Hans Verkuil
From: Hans Verkuil The CEC ioctls didn't have compat32 support, so they returned -ENOTTY when used in a 32 bit application on a 64 bit kernel. Since all the CEC ioctls are 32-bit compatible adding support for this API is trivial. Signed-off-by: Hans Verkuil

[PATCHv15 07/15] cec.txt: add CEC framework documentation

2016-04-25 Thread Hans Verkuil
From: Hans Verkuil Document the new HDMI CEC framework. Signed-off-by: Hans Verkuil [k.deb...@samsung.com: add DocBook documentation by Hans Verkuil, with Signed-off-by: Kamil Debski Signed-off-by: Hans Verkuil

[PATCHv15 09/15] cec: adv7604: add cec support.

2016-04-25 Thread Hans Verkuil
From: Hans Verkuil Add CEC support to the adv7604 driver. Signed-off-by: Hans Verkuil [k.deb...@samsung.com: Merged changes from CEC Updates commit by Hans Verkuil] [k.deb...@samsung.com: add missing methods cec/io_write_and_or]

[PATCHv15 08/15] DocBook/media: add CEC documentation

2016-04-25 Thread Hans Verkuil
From: Hans Verkuil Add DocBook documentation for the CEC API. Signed-off-by: Hans Verkuil [k.deb...@samsung.com: add documentation for passthrough mode] [k.deb...@samsung.com: minor fixes and change of reserved field sizes] Signed-off-by: Kamil

[PATCHv15 10/15] cec: adv7842: add cec support

2016-04-25 Thread Hans Verkuil
From: Hans Verkuil Add CEC support to the adv7842 driver. Signed-off-by: Hans Verkuil --- drivers/media/i2c/Kconfig | 9 ++ drivers/media/i2c/adv7604.c | 10 +- drivers/media/i2c/adv7842.c | 368

[PATCHv15 01/15] input.h: add BUS_CEC type

2016-04-25 Thread Hans Verkuil
From: Hans Verkuil Inputs can come in over the HDMI CEC bus, so add a new type for this. Signed-off-by: Hans Verkuil Acked-by: Dmitry Torokhov --- include/uapi/linux/input.h | 1 + 1 file changed, 1 insertion(+) diff

[PATCHv15 12/15] cec: s5p-cec: Add s5p-cec driver

2016-04-25 Thread Hans Verkuil
From: Kamil Debski Add CEC interface driver present in the Samsung Exynos range of SoCs. The following files were based on work by SangPil Moon: - exynos_hdmi_cec.h - exynos_hdmi_cecctl.c Signed-off-by: Kamil Debski Signed-off-by: Hans Verkuil

[PATCHv15 11/15] cec: adv7511: add cec support.

2016-04-25 Thread Hans Verkuil
From: Hans Verkuil Add CEC support to the adv7511 driver. Signed-off-by: Hans Verkuil [k.deb...@samsung.com: Merged changes from CEC Updates commit by Hans Verkuil] Signed-off-by: Kamil Debski Signed-off-by: Hans Verkuil

[PATCHv15 03/15] rc: Add HDMI CEC protocol handling

2016-04-25 Thread Hans Verkuil
From: Kamil Debski Add handling of remote control events coming from the HDMI CEC bus. This patch includes a new keymap that maps values found in the CEC messages to the keys pressed and released. Also, a new protocol has been added to the core. Signed-off-by: Kamil Debski

[PATCHv15 02/15] HID: add HDMI CEC specific keycodes

2016-04-25 Thread Hans Verkuil
From: Kamil Debski Add HDMI CEC specific keycodes to the keycodes definition. Signed-off-by: Kamil Debski Signed-off-by: Hans Verkuil Acked-by: Dmitry Torokhov --- include/uapi/linux/input-event-codes.h |

[PATCHv15 00/15] HDMI CEC framework

2016-04-25 Thread Hans Verkuil
From: Hans Verkuil Hi all, The fifteenth version of this patchset takes care of the TODO items from the previous patch series. I don't have anything else pending and if there are no other comments then I intend to post a pull request. The highlight of this v15 release

[PATCHv15 05/15] cec/TODO: add TODO file so we know why this is still in staging

2016-04-25 Thread Hans Verkuil
From: Hans Verkuil Explain why cec.c is still in staging. Signed-off-by: Hans Verkuil --- drivers/staging/media/cec/TODO | 13 + 1 file changed, 13 insertions(+) create mode 100644 drivers/staging/media/cec/TODO diff --git

Re: [PATCH] [media] tvp686x: Don't go past array

2016-04-25 Thread Hans Verkuil
Since my patch exchanges the sparse warning with a smatch warning, it's OK to take this one, with a few corrections: Please update the subject line (it says tvp686x instead of tw686x). On 04/23/2016 11:23 AM, Mauro Carvalho Chehab wrote: > Depending on the compiler version, currently it produces

[PATCH] [media] sta2x11: remove unused vars

2016-04-25 Thread Mauro Carvalho Chehab
Changeset 7b9f31f3b3ca ("[media] sta2x11_vip: fix s_std") removed autodetect code, but it kept two vars unused: drivers/media/pci/sta2x11/sta2x11_vip.c: In function 'vidioc_s_std': drivers/media/pci/sta2x11/sta2x11_vip.c:448:6: warning: unused variable 'status' [-Wunused-variable] int status;

Re: [GIT PULL FOR v4.7] Various fixes, remove most 'experimental' annotations

2016-04-25 Thread Mauro Carvalho Chehab
Em Mon, 25 Apr 2016 11:14:27 +0200 Hans Verkuil escreveu: > Hi Mauro, > > Here are various fixes for 4.7. > > Note that I chose to go with my tw686x patches instead of yours > (https://patchwork.linuxtv.org/patch/33991/). Your patch caused this new smatch warning:

Re: [RFC PATCH 00/24] Make Nokia N900 cameras working

2016-04-25 Thread Pali Rohár
front camera: On Monday 25 April 2016 00:08:00 Ivaylo Dimitrov wrote: > The needed pipeline could be made with: > > media-ctl -r > media-ctl -l '"vs6555 binner 2-0010":1 -> "video-bus-switch":2 [1]' > media-ctl -l '"video-bus-switch":0 -> "OMAP3 ISP CCP2":0 [1]' > media-ctl -l '"OMAP3 ISP

[GIT PULL FOR v4.6] One bug fix, two regression fixes

2016-04-25 Thread Hans Verkuil
Three fixes for 4.6: two vb2 regressions and one bug fix for 4k timings that was wrong since the beginning. Regards, Hans The following changes since commit e07d46e7e0da86c146f199dae76f879096bc436a: [media] tpg: Export the tpg code from vivid as a module (2016-04-20 16:14:39 -0300)

[GIT PULL FOR v4.6] One bug fix, one regression

2016-04-25 Thread Hans Verkuil
Two fixes for 4.6: one vb2 regression and one bug fix for 4k timings that was wrong since the beginning. Regards, Hans The following changes since commit e07d46e7e0da86c146f199dae76f879096bc436a: [media] tpg: Export the tpg code from vivid as a module (2016-04-20 16:14:39 -0300)

Re: [PATCH v7 2/8] [media] VPU: mediatek: support Mediatek VPU

2016-04-25 Thread andrew-ct chen
On Mon, 2016-04-25 at 09:40 +0200, Hans Verkuil wrote: > On 04/22/2016 06:25 AM, Tiffany Lin wrote: > > From: Andrew-CT Chen > > > > The VPU driver for hw video codec embedded in Mediatek's MT8173 SOCs. > > It is able to handle video decoding/encoding of in a range

[GIT PULL FOR v4.7] Various fixes, remove most 'experimental' annotations

2016-04-25 Thread Hans Verkuil
Hi Mauro, Here are various fixes for 4.7. Note that I chose to go with my tw686x patches instead of yours (https://patchwork.linuxtv.org/patch/33991/). Probably more interesting is the removal of old 'experimental' annotations in videodev2.h and DocBook. APIs that have been around for several

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

2016-04-25 Thread Hans Verkuil
On 04/25/2016 10:51 AM, Martin Bugge wrote: > Corrected sync polarities for CEA-861-F timings > 3840x2160p24/25/30/50/60 and 4096x2160p24/25/30/50/60. I posted this fix on Friday: https://patchwork.linuxtv.org/patch/33963/ If you don't mind I'll go with that one. Regards, Hans > >

[PATCH v4] media: vb2: Fix regression on poll() for RW mode

2016-04-25 Thread Ricardo Ribalda Delgado
When using a device is read/write mode, vb2 does not handle properly the first select/poll operation. The reason for this, is that when this code has been refactored, some of the operations have changed their order, and now fileio emulator is not started. The reintroduced check to the core is

[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

Re: [PATCH v2] media: vb2: Fix regression on poll() for RW mode

2016-04-25 Thread Hans Verkuil
On 04/25/2016 10:39 AM, Hans Verkuil wrote: > On 04/25/2016 09:59 AM, Ricardo Ribalda Delgado wrote: >> When using a device is read/write mode, vb2 does not handle properly the >> first select/poll operation. >> >> The reason for this, is that when this code has been refactored, some of >> the

[PATCH v3] media: vb2: Fix regression on poll() for RW mode

2016-04-25 Thread Ricardo Ribalda Delgado
When using a device is read/write mode, vb2 does not handle properly the first select/poll operation. The reason for this, is that when this code has been refactored, some of the operations have changed their order, and now fileio emulator is not started. The reintroduced check to the core is

Re: [PATCH v2] media: vb2: Fix regression on poll() for RW mode

2016-04-25 Thread Hans Verkuil
On 04/25/2016 09:59 AM, Ricardo Ribalda Delgado wrote: > When using a device is read/write mode, vb2 does not handle properly the > first select/poll operation. > > The reason for this, is that when this code has been refactored, some of > the operations have changed their order, and now fileio

Re: [PATCH 03/13] v4l: vsp1: Implement runtime PM support

2016-04-25 Thread Geert Uytterhoeven
On Sun, Apr 24, 2016 at 1:49 AM, Laurent Pinchart wrote: > Replace the manual refcount and clock management code by runtime PM. > > Signed-off-by: Laurent Pinchart > --- > drivers/media/platform/Kconfig

[PATCH v2] media: vb2: Fix regression on poll() for RW mode

2016-04-25 Thread Ricardo Ribalda Delgado
When using a device is read/write mode, vb2 does not handle properly the first select/poll operation. The reason for this, is that when this code has been refactored, some of the operations have changed their order, and now fileio emulator is not started. The reintroduced check to the core is

Re: [PATCH v7 2/8] [media] VPU: mediatek: support Mediatek VPU

2016-04-25 Thread Hans Verkuil
On 04/22/2016 06:25 AM, Tiffany Lin wrote: > From: Andrew-CT Chen > > The VPU driver for hw video codec embedded in Mediatek's MT8173 SOCs. > It is able to handle video decoding/encoding of in a range of formats. > The driver provides with VPU firmware download,

Re: [PATCH 02/13] v4l: Add Renesas R-Car FCP driver

2016-04-25 Thread Geert Uytterhoeven
Hi Laurent, On Sun, Apr 24, 2016 at 1:49 AM, Laurent Pinchart wrote: > The FCP is a companion module of video processing modules in the > Renesas R-Car Gen3 SoCs. It provides data compression and decompression, > data caching, and conversion of AXI

Re: [PATCH 01/13] dt-bindings: Add Renesas R-Car FCP DT bindings

2016-04-25 Thread Geert Uytterhoeven
Hi Laurent, On Sun, Apr 24, 2016 at 1:49 AM, Laurent Pinchart wrote: > The FCP is a companion module of video processing modules in the Renesas > R-Car Gen3 SoCs. It provides data compression and decompression, data > caching, and conversion of AXI

  1   2   >