Re: Questions about dvbv5-scan (missing fields)

2016-01-04 Thread Mauro Carvalho Chehab
Em Thu, 31 Dec 2015 13:45:43 + Mike Martin escreveu: > Hi > I hope this is the right list to ask. > > I am looking at using dvbv5 for one of my projects. However there are > some fields that I cant seem to get, in particular > > tsid > pmt > service_type (TV?Radio etc)

[PATCH] af9035: add support for 2nd tuner of MSI DigiVox Diversity

2016-01-04 Thread Stefan Pöschel
PIP tested with VLC. Diversity tested with the Windows driver. Signed-off-by: Stefan Pöschel --- drivers/media/usb/dvb-usb-v2/af9035.c | 4 ++-- drivers/media/usb/dvb-usb-v2/af9035.h | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git

[PATCH] coda: fix first encoded frame payload

2016-01-04 Thread Philipp Zabel
During the recent vb2_buffer restructuring, the calculation of the buffer payload reported to userspace was accidentally broken for the first encoded frame, counting only the length of the headers. This patch re-adds the length of the actual frame data. Fixes: 2d7007153f0c ("[media] media:

[PATCH] [media] dw2102: Add support for Terratec Cinergy S2 USB BOX

2016-01-04 Thread Philipp Zabel
The Terratec Cinergy S2 USB BOX uses a Montage M88TS2022 tuner and a M88DS3103 demodulator, same as Technotrend TT-connect S2-4600. This patch adds the missing USB Product ID to make it work. Signed-off-by: Philipp Zabel --- drivers/media/usb/dvb-usb/dw2102.c | 8

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

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

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

2016-01-04 Thread Tiffany Lin
Add VPU drivers for MT8173 Signed-off-by: Andrew-CT Chen Signed-off-by: Tiffany Lin --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi

Re: [PATCH v2 3/3] [media] mt9v032: Add V4L2 controls for AEC and AGC

2016-01-04 Thread Markus Pargmann
Hi Laurent, On Tuesday 29 December 2015 11:38:39 Laurent Pinchart wrote: > Hi Markus, > > On Wednesday 16 December 2015 11:14:28 Markus Pargmann wrote: > > On Wednesday 16 December 2015 09:47:58 Laurent Pinchart wrote: > > > On Monday 14 December 2015 15:41:53 Markus Pargmann wrote: > > >> This

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

2016-01-04 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 RFC also include VPU driver. Mediatek Video Codec driver

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

2016-01-04 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 ---

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

2016-01-04 Thread Tiffany Lin
Add h264 encoder driver for MT8173 Signed-off-by: Daniel Hsiao Signed-off-by: Tiffany Lin --- drivers/media/platform/mtk-vcodec/Makefile |3 +- .../media/platform/mtk-vcodec/h264_enc/Makefile|6 +

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

2016-01-04 Thread Tiffany Lin
From: Andrew-CT Chen Add v4l2 layer encoder driver for MT8173 Signed-off-by: Tiffany Lin --- drivers/media/platform/Kconfig | 11 + drivers/media/platform/Makefile|2 +

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

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

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

2016-01-04 Thread Tiffany Lin
Add vp8 encoder driver for MT8173 Signed-off-by: Daniel Hsiao Signed-off-by: Tiffany Lin --- drivers/media/platform/mtk-vcodec/Makefile |2 + drivers/media/platform/mtk-vcodec/venc_drv_if.c|3 +

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

2016-01-04 Thread Tiffany Lin
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 CPU and VPU. For VPU initialization, it will create

Re: [PATCH] [media] si2165: Refactoring for si2165_writereg_mask8()

2016-01-04 Thread Matthias Schwarzott
Am 27.12.2015 um 18:33 schrieb SF Markus Elfring: > From: Markus Elfring > Date: Sun, 27 Dec 2015 18:23:57 +0100 > > This issue was detected by using the Coccinelle software. > > 1. Let us return directly if a call of the si2165_readreg8() >function failed. >

cron job: media_tree daily build: OK

2016-01-04 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 Jan 5 04:00:18 CET 2016 git branch: test git hash: 768acf46e1320d6c41ed1b7c4952bab41c1cde79 gcc

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

2016-01-04 Thread tiffany lin
Hi Rob, Got it. Sorry about that. I will add acks next time. best regards, Tiffany On Mon, 2016-01-04 at 08:15 -0600, Rob Herring wrote: > On Mon, Jan 04, 2016 at 06:11:49PM +0800, Tiffany Lin wrote: > > From: Andrew-CT Chen > > > > Add a DT binding documentation

Re: [PATCH 09/10] [media] tvp5150: Initialize the chip on probe

2016-01-04 Thread Javier Martinez Canillas
e system] > > url: > https://github.com/0day-ci/linux/commits/Javier-Martinez-Canillas/tvp5150-add-MC-and-DT-support/20160104-203224 > base: git://linuxtv.org/media_tree.git master > config: x86_64-randconfig-x008-01040711 (attached as .config) > reproduce: > # save t

[PATCH 08/10] [media] tvp5150: Add OF match table

2016-01-04 Thread Javier Martinez Canillas
From: Eduard Gavin The Documentation/devicetree/bindings/media/i2c/tvp5150.txt DT binding doc lists "ti,tvp5150" as the device compatible string but the driver does not have an OF match table. Add the table to the driver so the I2C core can do an OF style match.

[PATCH 07/10] [media] tvp5150: Add device tree binding document

2016-01-04 Thread Javier Martinez Canillas
Add a Device Tree binding document for the TVP5150 video decoder. Signed-off-by: Javier Martinez Canillas --- .../devicetree/bindings/media/i2c/tvp5150.txt | 35 ++ 1 file changed, 35 insertions(+) create mode 100644

[PATCH 02/10] [media] tvp5150: Add tvp5151 support

2016-01-04 Thread Javier Martinez Canillas
From: Laurent Pinchart Expand the version detection code to identity the tvp5151. Signed-off-by: Laurent Pinchart Signed-off-by: Javier Martinez Canillas --- drivers/media/i2c/tvp5150.c | 2 ++ 1

[PATCH 06/10] [media] tvp5150: Add g_mbus_config subdev operation support

2016-01-04 Thread Javier Martinez Canillas
From: Laurent Pinchart This patch adds the .g_mbus_config subdev operation to the driver. Signed-off-by: Laurent Pinchart Signed-off-by: Javier Martinez Canillas --- drivers/media/i2c/tvp5150.c |

[PATCH 05/10] [media] tvp5150: Add s_stream subdev operation support

2016-01-04 Thread Javier Martinez Canillas
From: Laurent Pinchart This patch adds the .s_stream subdev operation to the driver. Signed-off-by: Laurent Pinchart Signed-off-by: Javier Martinez Canillas --- drivers/media/i2c/tvp5150.c | 16

Re: [PATCH 07/10] [media] tvp5150: Add device tree binding document

2016-01-04 Thread Rob Herring
On Mon, Jan 04, 2016 at 09:25:29AM -0300, Javier Martinez Canillas wrote: > Add a Device Tree binding document for the TVP5150 video decoder. > > Signed-off-by: Javier Martinez Canillas > --- > > .../devicetree/bindings/media/i2c/tvp5150.txt | 35 >

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

2016-01-04 Thread Rob Herring
On Mon, Jan 04, 2016 at 06:11:49PM +0800, Tiffany Lin wrote: > 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:

[PATCH 04/10] [media] tvp5150: Add pixel rate control support

2016-01-04 Thread Javier Martinez Canillas
From: Laurent Pinchart This patch adds support for the V4L2_CID_PIXEL_RATE control. Signed-off-by: Laurent Pinchart Signed-off-by: Javier Martinez Canillas --- drivers/media/i2c/tvp5150.c | 5 -

[PATCH 03/10] [media] tvp5150: Add pad-level subdev operations

2016-01-04 Thread Javier Martinez Canillas
From: Laurent Pinchart This patch enables the tvp5150 decoder driver to be used with the media controller framework by adding pad-level subdev operations and init the media entity pad. Signed-off-by: Laurent Pinchart

[PATCH 01/10] [media] tvp5150: Restructure version detection

2016-01-04 Thread Javier Martinez Canillas
From: Laurent Pinchart Move the version detection code to a separate function and restructure it to prepare for TVP5151 support. Signed-off-by: Laurent Pinchart Signed-off-by: Javier Martinez Canillas

[PATCH 00/10] [media] tvp5150: add MC and DT support

2016-01-04 Thread Javier Martinez Canillas
Hello, One of my testing platforms for the MC next gen [0] work has been an OMAP3 board (IGEPv2) with a tvp5151 video decoder attached to the OMAP3ISP block. I've been using some patches from Laurent Pinchart that adds MC support to the tvp5150 driver. The patches were never posted to the list

Re: [PATCH v3 3/7] of: reserved_mem: add support for named reserved mem nodes

2016-01-04 Thread Marek Szyprowski
Hi Rob, On 2015-12-31 00:25, Rob Herring wrote: On Wed, Dec 16, 2015 at 9:37 AM, Marek Szyprowski wrote: This patch allows device drivers to initialize more than one reserved memory region assigned to given device. When driver needs to use more than one reserved

Re: [PATCH 09/10] [media] tvp5150: Initialize the chip on probe

2016-01-04 Thread kbuild test robot
-add-MC-and-DT-support/20160104-203224 base: git://linuxtv.org/media_tree.git master config: x86_64-randconfig-x008-01040711 (attached as .config) reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): drivers/med

[PATCH 09/10] [media] tvp5150: Initialize the chip on probe

2016-01-04 Thread Javier Martinez Canillas
After power-up, the tvp5150 decoder is in a unknown state until the RESETB pin is driven LOW which reset all the registers and restarts the chip's internal state machine. The init sequence has some timing constraints and the RESETB signal can only be used if the PDN (Power-down) pin is first

[PATCH 10/10] [media] tvp5150: Configure data interface via pdata or DT

2016-01-04 Thread Javier Martinez Canillas
The video decoder supports either 8-bit 4:2:2 YUV with discrete syncs or 8-bit ITU-R BT.656 with embedded syncs output format but currently BT.656 it's always reported. Allow to configure the format to use via either platform data or a device tree definition. Signed-off-by: Javier Martinez

[PATCH] soc_camera: cleanup control device on async_unbind

2016-01-04 Thread Wolfram Sang
From: Wolfram Sang I got the following WARN on a simple unbind/bind cycle: root@Lager:/sys/bus/i2c/drivers/adv7180# echo 6-0020 > unbind root@Lager:/sys/bus/i2c/drivers/adv7180# echo 6-0020 > bind [ 31.097652] adv7180 6-0020: chip found @ 0x20 (e652.i2c)

Re: CMA usage in driver

2016-01-04 Thread Ran Shalit
On Sat, Jan 2, 2016 at 11:23 PM, Ran Shalit wrote: > Hello, > > I made some reading on CMA usage with device driver, nut not quite sure yet. > Do we need to call dma_declare_contiguous or does it get called from > within videobuf2 ? > > Is there any example how to use CMA

Re: [PATCH 07/10] [media] tvp5150: Add device tree binding document

2016-01-04 Thread Javier Martinez Canillas
Hello Rob, Thanks a lot for your feedback. On 01/04/2016 11:07 AM, Rob Herring wrote: > On Mon, Jan 04, 2016 at 09:25:29AM -0300, Javier Martinez Canillas wrote: >> Add a Device Tree binding document for the TVP5150 video decoder. >> >> Signed-off-by: Javier Martinez Canillas