[PATCH 0/2] v4l-utils: new configure options

2015-09-03 Thread Hans Verkuil
Gregor, Can you take a look at this to see if I did this correctly? I'm no autoconf hero, so before I push I'd like some feedback. The main reason for these changes is that I need to build v4l2-ctl for an embedded system and rather than having to hack on my side, I prefer to add configure

[PATCH 1/2] v4l2-ctl/compliance: add configure option to disable libv4l use

2015-09-03 Thread Hans Verkuil
From: Hans Verkuil Sometimes you want to compile these two utilities without the libv4l2 wrapper. This patch adds new configure options to do this: --disable-v4l2-compliance-libv4l --disable-v4l2-ctl-libv4l This is useful when building for an embedded system where you do

[PATCH 2/2] v4l-utils: allow building even if argp.h is not present

2015-09-03 Thread Hans Verkuil
From: Hans Verkuil The argp.h functionality is not always available on embedded systems (android!). A number of utilities depend on this and running configure will fail if argp.h is missing. Add a new configure option --without-argp to disable that argp.h check and instead

[PATCH v5 6/6] [media] c8sectpfe: Simplify for loop in load_slim_core_fw

2015-09-03 Thread Peter Griffin
Signed-off-by: Peter Griffin --- drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c

[PATCH v5 3/6] [media] c8sectpfe: Remove select on undefined LIBELF_32

2015-09-03 Thread Peter Griffin
LIBELF_32 is not defined in Kconfig, and is left over legacy which is not required in the upstream driver, so remove it. Suggested-by: Valentin Rothberg Signed-off-by: Peter Griffin Acked-by: Lee Jones ---

[PATCH v5 4/6] [media] c8sectpfe: Update binding to reset-gpios

2015-09-03 Thread Peter Griffin
reset-gpios is more clear than rst-gpio. This change has been done as one atomic commit but it does breaks compatability with older dtbs. Signed-off-by: Peter Griffin Acked-by: Lee Jones ---

[PATCH v5 0/6] [media] c8sectpfe: Various fixups

2015-09-03 Thread Peter Griffin
Hi Mauro, This series includes a couple of fixes for the c8sectpfe Linux dvb driver. The only difference versus v5 is on RobH advice we are back to "reset-gpios" for the binding. One was caused by omitting a patch from the original c8sectpfe series which defined the ssc2 and ssc3 dt nodes,

[PATCH v5 1/6] ARM: DT: STi: stihxxx-b2120: Add pulse-width properties to ssc2 & ssc3

2015-09-03 Thread Peter Griffin
Adding these properties makes the I2C bus to the demodulators much more reliable, and we no longer suffer from I2C errors when tuning. Signed-off-by: Peter Griffin Acked-by: Lee Jones --- arch/arm/boot/dts/stihxxx-b2120.dtsi | 10 -- 1

[PATCH v5 2/6] ARM: DT: STi: STiH407: Add c8sectpfe LinuxDVB DT node.

2015-09-03 Thread Peter Griffin
This patch adds in the required DT node for the c8sectpfe Linux DVB demux driver which allows the tsin channels to be used on an upstream kernel. Signed-off-by: Peter Griffin Acked-by: Lee Jones --- arch/arm/boot/dts/stihxxx-b2120.dtsi | 35

[PATCH v5 5/6] [media] c8sectpfe: Update DT binding doc with some minor fixes

2015-09-03 Thread Peter Griffin
Signed-off-by: Peter Griffin Acked-by: Lee Jones --- .../devicetree/bindings/media/stih407-c8sectpfe.txt| 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git

[PATCH 1/5] [media] staging: omap4iss: separate links creation from entities init

2015-09-03 Thread Javier Martinez Canillas
The omap4iss driver initializes the entities and creates the pads links before the entities are registered with the media device. This does not work now that object IDs are used to create links so the media_device has to be set. Split out the pads links creation from the entity initialization so

[PATCH 3/5] [media] v4l: vsp1: separate links creation from entities init

2015-09-03 Thread Javier Martinez Canillas
The vsp1 driver initializes the entities and creates the pads links before the entities are registered with the media device. This doesn't work now that object IDs are used to create links so the media_device has to be set. Split out the pads links creation from the entity initialization so are

[PATCH 0/5] [media] Create pads links after entities registration

2015-09-03 Thread Javier Martinez Canillas
Hello, This series changes all the MC media drivers that are currently creating pads links before registering the media entities with the media device. The patches are similar to the ones posted for the OMAP3 ISP driver [0] and depends on Mauro's "[PATCH v8 00/55] MC next generation patches"

[PATCH 2/5] [media] v4l: vsp1: create pad links after subdev registration

2015-09-03 Thread Javier Martinez Canillas
The vsp1 driver creates the pads links before the media entities are registered with the media device. This doesn't work now that object IDs are used to create links so the media_device has to be set. Move entities registration logic before pads links creation. Signed-off-by: Javier Martinez

[PATCH 4/5] [media] uvcvideo: create pad links after subdev registration

2015-09-03 Thread Javier Martinez Canillas
The uvc driver creates the pads links before the media entity is registered with the media device. This doesn't work now that obj IDs are used to create links so the media_device has to be set. Move entities registration logic before pads links creation. Signed-off-by: Javier Martinez Canillas

[PATCH 5/5] [media] smiapp: create pad links after subdev registration

2015-09-03 Thread Javier Martinez Canillas
The smiapp driver creates the pads links before the media entity is registered with the media device. This doesn't work now that object IDs are used to create links so the media_device has to be set. Move entity registration logic before pads links creation. Signed-off-by: Javier Martinez

Re: [PATCH 2/2] v4l-utils: allow building even if argp.h is not present

2015-09-03 Thread Mauro Carvalho Chehab
Em Thu, 3 Sep 2015 17:23:16 +0200 Hans Verkuil escreveu: > From: Hans Verkuil > > The argp.h functionality is not always available on embedded systems > (android!). A number of utilities depend on this and running configure > will fail if argp.h is

Re: [RFC PATCH] media: uvcvideo: handle urb completion in a work queue

2015-09-03 Thread Laurent Pinchart
Hi Mian Yousaf, (CC'ing linux-usb for tips regarding proper handling of URBs in work queues) On Tuesday 01 September 2015 13:49:31 Kaukab, Yousaf wrote: > On Tuesday, September 1, 2015 2:45 PM Laurent Pinchart wrote: > > On Tuesday 01 September 2015 11:45:11 Mian Yousaf Kaukab wrote: > >> urb

[PATCH 2/3] ml86v7667: implement g_std() method

2015-09-03 Thread Sergei Shtylyov
The driver was written with the 'soc_camera' use in mind, however the g_std() video method was forgotten. Implement it at last... Signed-off-by: Sergei Shtylyov --- drivers/media/i2c/ml86v7667.c | 10 ++ 1 file changed, 10 insertions(+) Index:

Re: [PATCH 1/2] ARM: OMAP2+: Remove legacy OMAP3 ISP instantiation

2015-09-03 Thread Suman Anna
Hi Sakari, On 07/16/2015 07:58 AM, Tony Lindgren wrote: > * Laurent Pinchart [150716 05:57]: >> The OMAP3 ISP is now fully supported in DT, remove its instantiation >> from C code. > > Please feel to queue this along with the second patch in this series, >

[PATCH 1/3] adv7180: implement g_std() method

2015-09-03 Thread Sergei Shtylyov
Commit cccb83f7a184 ([media] adv7180: add more subdev video ops) forgot to add the g_std() video method. Its implementation seems identical to the querystd() method, so we can just point at adv7180_querystd()... Signed-off-by: Sergei Shtylyov ---

[PATCH 0/3] VIN: call g std() method as requested by Hans

2015-09-03 Thread Sergei Shtylyov
Hello. Here are 3 patches against the 'fixes' branch of the 'media_tree.git' repo plus the VIN driver patch to propagate querystd() error. First we add support for the g_std() video method to the ADV7180 and ML86V7667 I2C drivers which is needed for the full 'soc_camera' compliance, then we

[PATCH 3/3] rcar_vin: call g_std() instead of querystd()

2015-09-03 Thread Sergei Shtylyov
Hans Verkuil says: "The only place querystd can be called is in the QUERYSTD ioctl, all other ioctls should use the last set standard." So call the g_std() subdevice method instead of querystd() in the driver's set_fmt() method. Reported-by: Hans Verkuil Signed-off-by:

cron job: media_tree daily build: ERRORS

2015-09-03 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 Sep 4 04:00:30 CEST 2015 git branch: test git hash: 50ef28a6ac216fd8b796257a3768fef8f57b917d gcc