Re: [RFC] [Patch] implement video driver for sur40

2015-01-06 Thread Florian Echtler
On Fri, 19 Dec 2014, Hans Verkuil wrote: drivers/media remains under heavy development, so for video capture drivers like yours you should always patch against either the mainline linux tree or (preferred) the media_tree.git repo (git://linuxtv.org/media_tree.git, master branch). As per your

Re: [RFC] [Patch] implement video driver for sur40

2015-01-06 Thread Hans Verkuil
On 01/06/2015 10:29 AM, Florian Echtler wrote: On Fri, 19 Dec 2014, Hans Verkuil wrote: drivers/media remains under heavy development, so for video capture drivers like yours you should always patch against either the mainline linux tree or (preferred) the media_tree.git repo

Payment

2015-01-06 Thread Finance Department
Dear Recipient, You have been awarded the sum of 8,000,000.00 (Eight Million Pounds sterling) with reference number 77100146 by office of the ministry of finance UK.Send us your personal details to deliver your funds. Gloria Peter -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH v2 12/13] ARM: dts: sun6i: Add sun6i-a31s.dtsi

2015-01-06 Thread Maxime Ripard
Hi, On Mon, Jan 05, 2015 at 10:31:05AM +0100, Hans de Goede wrote: Thanks, while looking at your dt-for-3.20 branch I noticed that you've merged v2 of ARM: dts: sun6i: Add ir node, I did a v3 adding an ir: label to the node, which I noticed was missing because you asked me to move the a31s dt

Re: [RFC] [Patch] implement video driver for sur40

2015-01-06 Thread Florian Echtler
On 06.01.2015 10:36, Hans Verkuil wrote: On 01/06/2015 10:29 AM, Florian Echtler wrote: There's only one failing test left, which is this one: Streaming ioctls: test read/write: OK fail: v4l2-test-buffers.cpp(284): g_field() == V4L2_FIELD_ANY You're not filling in the

Re: [RFC] [Patch] implement video driver for sur40

2015-01-06 Thread Hans Verkuil
On 01/06/2015 11:17 AM, Florian Echtler wrote: On 06.01.2015 10:36, Hans Verkuil wrote: On 01/06/2015 10:29 AM, Florian Echtler wrote: There's only one failing test left, which is this one: Streaming ioctls: test read/write: OK fail: v4l2-test-buffers.cpp(284): g_field() ==

Re: omap3isp Device Tree support status

2015-01-06 Thread Alaganraj Sandhanam
Hi Sakari, Laurent, Wish You A Happy New Year!!! On Friday 10 October 2014 12:51 AM, Sakari Ailus wrote: Hi Alaganjar, On Fri, Oct 10, 2014 at 02:08:43AM +0530, Alaganraj Sandhanam wrote: Hi Sakari, On Wednesday 08 October 2014 05:03 PM, Sakari Ailus wrote: Hi Alaganjar, On Tue, Oct

Re: [PATCH 1/2] V4L: remove clock name from v4l2_clk API

2015-01-06 Thread Josh Wu
Hi, Guennadi After look deep into this patch, I found you miss one line that should be changed as well. It's In function v4l2_clk_get(), there still has one line code called v4l2_clk_find(dev_id, id). You need to change it to v4l2_clk_find(dev_id, NULL) as well. Otherwise the code that many

Re: Baytrail camera csi / isp support status ?

2015-01-06 Thread Bastien Nocera
On Tue, 2015-01-06 at 09:55 +0200, Laurent Pinchart wrote: Hi Bastien, On Tuesday 06 January 2015 01:06:54 Bastien Nocera wrote: On Fri, 2014-12-12 at 12:07 +0100, Hans de Goede wrote: Hi All, A college of mine has a baytrail bases tablet:

[RESEND PATCH v2] [media] Add RGB444_1X12 and RGB565_1X16 media bus formats

2015-01-06 Thread Boris Brezillon
Add RGB444_1X12 and RGB565_1X16 format definitions and update the documentation. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com Acked-by: Mauro Carvalho Chehab mche...@osg.samsung.com Acked-by: Sakari Ailus sakari.ai...@linux.intel.com --- Hi Mauro, Sakari, This patch has been

Re: [RFC] [Patch] implement video driver for sur40

2015-01-06 Thread Florian Echtler
On 06.01.2015 11:23, Hans Verkuil wrote: On 01/06/2015 11:17 AM, Florian Echtler wrote: You're not filling in the 'field' field of struct v4l2_buffer when returning a frame. It should most likely be FIELD_NONE in your case. fail: v4l2-test-buffers.cpp(611): buf.check(q, last_seq)

Re: [PATCH 4/5] dvb core: add media controller support for the demod

2015-01-06 Thread Akihiro TSUKADA
On 2015年01月06日 03:29, Mauro Carvalho Chehab wrote: Em Mon, 05 Jan 2015 23:36:00 +0900 And if so, Shouldn't only the (tuner) subdevices be registered separately in dvb_i2c_attach_tuner(), instead of dvb_i2c_attach_fe()? No, it seems better to let dmxdev to register. That means that even

Re: [RFC] [Patch] implement video driver for sur40

2015-01-06 Thread Hans Verkuil
On 01/06/2015 01:09 PM, Florian Echtler wrote: On 06.01.2015 11:23, Hans Verkuil wrote: On 01/06/2015 11:17 AM, Florian Echtler wrote: You're not filling in the 'field' field of struct v4l2_buffer when returning a frame. It should most likely be FIELD_NONE in your case. fail:

Some issues with Media controller on DVB

2015-01-06 Thread Mauro Carvalho Chehab
Hi Laurent, Now that we have a patchset enabling the media controller for DVB, I'm facing with some issues related to media streaming that are different than what happens at the V4L side. I took some time to write a small text that describes the DVB from the PoV of the media controller, and

Re: TeVii S482 dual DVB-S2

2015-01-06 Thread Josu Lazkano
2014-10-13 8:33 GMT+02:00 Josu Lazkano josu.lazk...@gmail.com: Hello, I have TeVii S482 dual DVB-S2 device, is similar to the S480, but it doesn't work with same driver. The problem is that my device is not ported to the Linux kernel, there is a source code in tevii website and liplianin

Re: Some issues with Media controller on DVB

2015-01-06 Thread Mauro Carvalho Chehab
Em Tue, 6 Jan 2015 12:09:30 -0200 Mauro Carvalho Chehab mche...@osg.samsung.com escreveu: Hi Laurent, Now that we have a patchset enabling the media controller for DVB, I'm facing with some issues related to media streaming that are different than what happens at the V4L side. I took

Re: [PATCH] gspca_stv06xx: enable button found on some Quickcam Express variant

2015-01-06 Thread Antonio Ospite
On Tue, 28 Oct 2014 15:39:41 +0100 Antonio Ospite a...@ao2.it wrote: On Mon, 14 Jul 2014 12:27:57 +0200 Hans de Goede hdego...@redhat.com wrote: Hi, On 07/11/2014 02:56 PM, Antonio Ospite wrote: Signed-off-by: Antonio Ospite a...@ao2.it Thanks, I've added this to my tree and

RE: [BUG] Dual tuner TV card, works using one tuner only, doesn't work if both tuners are used

2015-01-06 Thread dCrypt
Hi again, I'm sorry if I sound quite rude, but I'm not sure if I am doing it right or not. I subscribed to this mailing list in order to ask for help, or to help with a bug that I've found (as instructed in the wiki http://linuxtv.org/wiki/index.php/Bug_Report), but it seems to me that the

Re: [PATCH 1/2] V4L: remove clock name from v4l2_clk API

2015-01-06 Thread Guennadi Liakhovetski
Hi Josh, On Tue, 6 Jan 2015, Josh Wu wrote: Hi, Guennadi After look deep into this patch, I found you miss one line that should be changed as well. It's In function v4l2_clk_get(), there still has one line code called v4l2_clk_find(dev_id, id). You need to change it to

[PATCHv3 08/20] dvbdev: add pad for the DVB devnodes

2015-01-06 Thread Mauro Carvalho Chehab
We want to represent the links between the several DVB devnodes, so let's create PADs for them. The DVB net devnode is a different matter, as it is not related to the media stream, but with network. So, at least for now, let's not add any pad for it. Signed-off-by: Mauro Carvalho Chehab

[PATCHv3 17/20] dvb-frontend: enable tuner link when the FE thread starts

2015-01-06 Thread Mauro Carvalho Chehab
If the dvb frontend thread starts, the tuner should be switched to the frontend. Add a code that ensures that this will happen, using the media controller. Signed-off-by: Mauro Carvalho Chehab mche...@osg.samsung.com diff --git a/drivers/media/dvb-core/dvb_frontend.c

[PATCHv3 20/20] dvb_frontend: start media pipeline while thread is running

2015-01-06 Thread Mauro Carvalho Chehab
While the DVB thread is running, the media pipeline should be streaming. This should prevent any attempt of using the analog TV while digital TV is working, and vice-versa. Signed-off-by: Mauro Carvalho Chehab mche...@osg.samsung.com diff --git a/drivers/media/dvb-core/dvb_frontend.c

[PATCHv3 16/20] dvbdev: enable DVB-specific links

2015-01-06 Thread Mauro Carvalho Chehab
For now, let's keep the DVB-specific media controller links enabled by default. On most devices, this is fixed anyway, so no big issue. Ok, the demux actually have dynamic links based on the filters, but we don't represent them yet, as the media controller currently lacks the capability of

[PATCHv3 14/20] dvbdev: add a function to create DVB media graph

2015-01-06 Thread Mauro Carvalho Chehab
We need to create a DVB graph, linking the several DVB devnodes. Add such function. Please notice that this helper function doesn't take into account devices with multiple DVB adapters and frontends. Signed-off-by: Mauro Carvalho Chehab mche...@osg.samsung.com diff --git

[PATCHv3 18/20] cx231xx: enable tuner-decoder link at videobuf start

2015-01-06 Thread Mauro Carvalho Chehab
The tuner-decoder needs to be enabled when we're about to start streaming. Signed-off-by: Mauro Carvalho Chehab mche...@osg.samsung.com diff --git a/drivers/media/usb/cx231xx/cx231xx-video.c b/drivers/media/usb/cx231xx/cx231xx-video.c index f3d1a488dfa7..634763535d60 100644 ---

[PATCHv3 02/20] dvbdev: add support for media controller

2015-01-06 Thread Mauro Carvalho Chehab
Provide a way to register media controller device nodes at the DVB core. Please notice that the dvbdev callers also require changes for the devices to be registered via the media controller. Signed-off-by: Mauro Carvalho Chehab mche...@osg.samsung.com diff --git

[PATCHv3 06/20] dvb_ca_en50221: add support for CA node at the media controller

2015-01-06 Thread Mauro Carvalho Chehab
Make the dvb core CA support aware of the media controller and register the corresponding devices. Signed-off-by: Mauro Carvalho Chehab mche...@osg.samsung.com diff --git a/drivers/media/dvb-core/dvb_ca_en50221.c b/drivers/media/dvb-core/dvb_ca_en50221.c index 0aac3096728e..22258e15baa9 100644

[PATCHv3 09/20] tuner-core: properly initialize media controller subdev

2015-01-06 Thread Mauro Carvalho Chehab
Properly initialize tuner core subdev at the media controller. That requires a new subtype at the media controller API. Signed-off-by: Mauro Carvalho Chehab mche...@osg.samsung.com diff --git a/drivers/media/v4l2-core/tuner-core.c b/drivers/media/v4l2-core/tuner-core.c index

[PATCHv3 19/20] cx231xx: create a streaming pipeline at VB start

2015-01-06 Thread Mauro Carvalho Chehab
When videobuf starts, create a streaming pipeline, destroying it when the stream stops. Signed-off-by: Mauro Carvalho Chehab mche...@osg.samsung.com diff --git a/drivers/media/usb/cx231xx/cx231xx-video.c b/drivers/media/usb/cx231xx/cx231xx-video.c index 634763535d60..c5ded52ba7ed 100644 ---

[PATCHv3 00/20] dvb core: add basic support for the media controller

2015-01-06 Thread Mauro Carvalho Chehab
This patch series adds basic support for the media controller at the DVB core: it creates one media entity per DVB devnode, if the media device is passed as an argument to the DVB structures. The cx231xx driver was modified to pass such argument for DVB NET, DVB frontend and DVB demux. -

[PATCHv3 04/20] dvb_frontend: add media controller support for DVB frontend

2015-01-06 Thread Mauro Carvalho Chehab
Now that the dvb core is capable of registering devices via the media controller, add support for the DVB frontend devices. Signed-off-by: Mauro Carvalho Chehab mche...@osg.samsung.com diff --git a/drivers/media/dvb-core/dvb_frontend.c b/drivers/media/dvb-core/dvb_frontend.c index

[PATCHv3 10/20] cx25840: fill the media controller entity

2015-01-06 Thread Mauro Carvalho Chehab
Instead of keeping the media controller entity not initialized, fill it and create the pads for cx25840. Signed-off-by: Mauro Carvalho Chehab mche...@osg.samsung.com diff --git a/drivers/media/i2c/cx25840/cx25840-core.c b/drivers/media/i2c/cx25840/cx25840-core.c index 573e08826b9b..bdb5bb6b58da

[PATCHv3 07/20] dvb_net: add support for DVB net node at the media controller

2015-01-06 Thread Mauro Carvalho Chehab
Make the dvb core network support aware of the media controller and register the corresponding devices. Signed-off-by: Mauro Carvalho Chehab mche...@osg.samsung.com diff --git a/drivers/media/dvb-core/dvb_net.c b/drivers/media/dvb-core/dvb_net.c index e4041f074909..bd3c2be80216 100644 ---

[PATCHv3 01/20] media: add new types for DVB devnodes

2015-01-06 Thread Mauro Carvalho Chehab
Most of the DVB subdevs have already their own devnode. Add support for them at the media controller API. Signed-off-by: Mauro Carvalho Chehab mche...@osg.samsung.com diff --git a/include/uapi/linux/media.h b/include/uapi/linux/media.h index 7902e800f019..707db275f92b 100644 ---

[PATCHv3 13/20] dvbdev: represent frontend with two pads

2015-01-06 Thread Mauro Carvalho Chehab
While on some devices the tuner is bound inside the frontend, other devices use a separate subdevice for it. So, in order to be more generic, better to map it with two pads. That will allows to use the media controller to lock the tuner between the DVB and the V4L2 sub-drivers, on hybrid

[PATCHv3 11/20] cx231xx: initialize video/vbi pads

2015-01-06 Thread Mauro Carvalho Chehab
Both video and vbi are sink pads. Initialize them as such. Signed-off-by: Mauro Carvalho Chehab mche...@osg.samsung.com diff --git a/drivers/media/usb/cx231xx/cx231xx-video.c b/drivers/media/usb/cx231xx/cx231xx-video.c index ecea76fe07f6..f3d1a488dfa7 100644 ---

[PATCHv3 12/20] cx231xx: create media links for analog mode

2015-01-06 Thread Mauro Carvalho Chehab
Now that we have entities and pads, let's create media links between them, for analog setup. We may not have all the links for digital yet, as the dvb extention may not be loaded yet. Signed-off-by: Mauro Carvalho Chehab mche...@osg.samsung.com diff --git

[PATCHv3 05/20] dmxdev: add support for demux/dvr nodes at media controller

2015-01-06 Thread Mauro Carvalho Chehab
Make the dvb core demux support aware of the media controller and register the corresponding devices. Signed-off-by: Mauro Carvalho Chehab mche...@osg.samsung.com diff --git a/drivers/media/dvb-core/dmxdev.c b/drivers/media/dvb-core/dmxdev.c index abff803ad69a..a2ccd8095aed 100644 ---

[PATCHv3 15/20] cx231xx: create DVB graph

2015-01-06 Thread Mauro Carvalho Chehab
cx231xx is simple with regards to DVB: all boards have just one DVB adapter. So, we can use the default DVB helper function to create the DVB media graph. Signed-off-by: Mauro Carvalho Chehab mche...@osg.samsung.com diff --git a/drivers/media/usb/cx231xx/cx231xx-dvb.c

[PATCHv3 03/20] cx231xx: add media controller support

2015-01-06 Thread Mauro Carvalho Chehab
Let's add media controller support for this driver and register it for both V4L and DVB. The media controller on this driver is not mandatory, as it can fully work without it. So, if the media controller register fails, just print an error message, but proceed with device registering.

Re: [PATCH 1/2] V4L: remove clock name from v4l2_clk API

2015-01-06 Thread Josh Wu
Hi, Guennadi On 1/7/2015 6:17 AM, Guennadi Liakhovetski wrote: Hi Josh, On Tue, 6 Jan 2015, Josh Wu wrote: Hi, Guennadi After look deep into this patch, I found you miss one line that should be changed as well. It's In function v4l2_clk_get(), there still has one line code called

[PATCH] lirc_dev: avoid potential null-dereference

2015-01-06 Thread Andy Shevchenko
We have to check pointer for NULL and then dereference it. Signed-off-by: Andy Shevchenko andy.shevche...@gmail.com --- drivers/media/rc/lirc_dev.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/media/rc/lirc_dev.c b/drivers/media/rc/lirc_dev.c index

Re: [PATCH 1/2] V4L: remove clock name from v4l2_clk API

2015-01-06 Thread Josh Wu
Hi, Guennadi On 1/7/2015 6:17 AM, Guennadi Liakhovetski wrote: Hi Josh, On Tue, 6 Jan 2015, Josh Wu wrote: Hi, Guennadi After look deep into this patch, I found you miss one line that should be changed as well. It's In function v4l2_clk_get(), there still has one line code called

[PATCH] [media] soc_camera: avoid potential null-dereference

2015-01-06 Thread Andy Shevchenko
We have to check the pointer before dereferencing it. Signed-off-by: Andy Shevchenko andy.shevche...@gmail.com --- drivers/media/platform/soc_camera/soc_camera.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/media/platform/soc_camera/soc_camera.c

cron job: media_tree daily build: ERRORS

2015-01-06 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: Wed Jan 7 04:00:11 CET 2015 git branch: test git hash: 99f3cd52aee21091ce62442285a68873e3be833f gcc

[PATCH 2/2] [media] v4l: vsp1: Fix VI6_DISP_IRQ_STA_LNE macro

2015-01-06 Thread Nobuhiro Iwamatsu
LNE bit in VI6_DISP_IRQ_STA register are from the 0 bit to 4 bit. This fixes bit position specified by VI6_DISP_IRQ_STA_LNE. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com --- drivers/media/platform/vsp1/vsp1_regs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH 1/2] [media] v4l: vsp1: Fix VI6_DISP_IRQ_ENB_LNEE macro

2015-01-06 Thread Nobuhiro Iwamatsu
LNEE bit in VI6_DISP_IRQ_ENB register are from the 0 bit to 4 bit. This fixes bit position specified by VI6_DISP_IRQ_ENB_LNEE. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com --- drivers/media/platform/vsp1/vsp1_regs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff