Re: [PATCH RFC] [media] blackfin: add video display driver

2013-04-12 Thread Sylwester Nawrocki
Hello, On 04/13/2013 01:52 AM, Scott Jiang wrote: This is a bridge driver for blackfin diplay device. It can work with ppi or eppi interface. DV timings are supported. Signed-off-by: Scott Jiang --- drivers/media/platform/blackfin/Kconfig| 15 +- drivers/media/platform/blackfin/Mak

[PATCH] solo6x10: Update the encoder mode on VIDIOC_S_FMT

2013-04-12 Thread Ismael Luceno
Signed-off-by: Ismael Luceno --- drivers/staging/media/solo6x10/solo6x10-v4l2-enc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/media/solo6x10/solo6x10-v4l2-enc.c b/drivers/staging/media/solo6x10/solo6x10-v4l2-enc.c index 6147bb2..d132d3b 100644 --- a/drivers/staging/med

cron job: media_tree daily build: WARNINGS

2013-04-12 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 Apr 12 19:00:17 CEST 2013 git branch: test git hash: 81e096c8ac6a064854c2157e0bf802dc4906678c gcc versi

Re: [PATCH] Add support for Delock 61959

2013-04-12 Thread Antti Palosaari
According to IRC discussion that device has different remote. New board layout is needed as remote keymap is property of board config. regards Antti On 04/12/2013 05:40 PM, Antti Palosaari wrote: On 04/12/2013 05:18 PM, Jakob Haufe wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Delock

Re: free Elro DVR14 usb unit for whomever fixes the driver

2013-04-12 Thread Vincent Gerris
Hi folks, Last year in the end of november, I mailed to this list to request help with a driver issue for: cx231xx #0: New device Conexant Corporation Polaris AV Capture @ 480 Mbps (0572:58a6) with 6 interfaces The driver is in the kernel (tested Fedora and Ubuntu) but the device does not work. It

[PATCH 2/3] em28xx: map remote for 1b80:e425

2013-04-12 Thread Antti Palosaari
Map RC_MAP_REDDO to that device. Signed-off-by: Antti Palosaari --- drivers/media/usb/em28xx/em28xx-cards.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/usb/em28xx/em28xx-cards.c b/drivers/media/usb/em28xx/em28xx-cards.c index 1d3866f..26ff1a7 100644 --- a/drivers/media/usb

[PATCH 1/3] rc: add rc-reddo

2013-04-12 Thread Antti Palosaari
It is very similar than rc-msi-digivox-iii but new keytable is needed as there is one existing scancode mapped to different button. Also that one has less buttons. NEC extended protocol with address 0x61d6. Signed-off-by: Antti Palosaari --- drivers/media/rc/keymaps/Makefile | 1 + drivers/m

[PATCH 3/3] rc: fix single line indentation of keymaps/Makefile

2013-04-12 Thread Antti Palosaari
Signed-off-by: Antti Palosaari --- drivers/media/rc/keymaps/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/rc/keymaps/Makefile b/drivers/media/rc/keymaps/Makefile index 04baac4..5ab94ea 100644 --- a/drivers/media/rc/keymaps/Makefile +++ b/drivers/media

[PATCH] dvb-apps: initial scan file de-NetAachen

2013-04-12 Thread Till Maas
Hi, I created an initial scan file for the German provider Net Aachen (see attachment). Regards Till # HG changeset patch # User Till Maas # Date 1365783843 -7200 # Node ID fcdee9c712c94ac8b830dcbfec31ea2e5489adc3 # Parent f3a70b206f0f809b53e2de7d77578d15b7d831cb add util/scan/dvb-c/de-NetAache

[PATCH v9 02/20] V4L2: support asynchronous subdevice registration

2013-04-12 Thread Guennadi Liakhovetski
Currently bridge device drivers register devices for all subdevices synchronously, tupically, during their probing. E.g. if an I2C CMOS sensor is attached to a video bridge device, the bridge driver will create an I2C device and wait for the respective I2C driver to probe. This makes linking of dev

[GIT PULL] 3.10: soc-camera take 3

2013-04-12 Thread Guennadi Liakhovetski
Hi Mauro Just two more patches for 3.10. Note, that one of them is for MAINTAINERS. Should it go via media or via someone else's tree? The following changes since commit 81e096c8ac6a064854c2157e0bf802dc4906678c: [media] budget: Add support for Philips Semi Sylt PCI ref. design (2013-04-08 07

[PATCH v9 04/20] soc-camera: add host clock callbacks to start and stop the master clock

2013-04-12 Thread Guennadi Liakhovetski
Currently soc-camera uses a single camera host callback to activate the interface master clock and to configure the interface for a specific client. However, during probing we might not have the information about a client, we just need to activate the clock. Add new camera host driver callbacks to

[PATCH v9 03/20] soc-camera: move common code to soc_camera.c

2013-04-12 Thread Guennadi Liakhovetski
All soc-camera host drivers include a pointer to an soc-camera device in their host private struct to check, that only one client is connected. Move this common code to soc_camera.c. Signed-off-by: Guennadi Liakhovetski --- drivers/media/platform/soc_camera/atmel-isi.c | 10 +- driver

[PATCH v9 09/20] mx2-camera: move interface activation and deactivation to clock callbacks

2013-04-12 Thread Guennadi Liakhovetski
When adding and removing a client, the mx2-camera driver only activates and deactivates its camera interface respectively, which doesn't include any client-specific actions. Move this functionality into .clock_start() and .clock_stop() callbacks. Signed-off-by: Guennadi Liakhovetski --- drivers/

[PATCH v9 15/20] sh-mobile-ceu-driver: support max width and height in DT

2013-04-12 Thread Guennadi Liakhovetski
Some CEU implementations have non-standard (larger) maximum supported width and height values. Add two OF properties to specify them. Signed-off-by: Guennadi Liakhovetski --- .../devicetree/bindings/media/sh_mobile_ceu.txt| 18 +++ .../platform/soc_camera/sh_mobile_ceu_camera.c

[PATCH v9 18/20] sh_mobile_ceu_camera: add asynchronous subdevice probing support

2013-04-12 Thread Guennadi Liakhovetski
Use the v4l2-async API to support asynchronous subdevice probing, including the CSI2 subdevice. Synchronous probing is still supported too. Signed-off-by: Guennadi Liakhovetski --- .../platform/soc_camera/sh_mobile_ceu_camera.c | 134 - drivers/media/platform/soc_camera/sh_m

[PATCH v9 14/20] sh-mobile-ceu-camera: add primitive OF support

2013-04-12 Thread Guennadi Liakhovetski
Add an OF hook to sh_mobile_ceu_camera.c, no properties so far. Booting with DT also requires platform data to be optional. Signed-off-by: Guennadi Liakhovetski --- .../platform/soc_camera/sh_mobile_ceu_camera.c | 33 ++-- 1 files changed, 23 insertions(+), 10 deletions(-)

[PATCH v9 13/20] soc-camera: don't attach the client to the host during probing

2013-04-12 Thread Guennadi Liakhovetski
During client probing we only have to turn on the host's clock, no need to actually attach the client to the host. Signed-off-by: Guennadi Liakhovetski --- drivers/media/platform/soc_camera/soc_camera.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/media/p

[PATCH v9 16/20] soc-camera: switch I2C subdevice drivers to use v4l2-clk

2013-04-12 Thread Guennadi Liakhovetski
Instead of centrally enabling and disabling subdevice master clocks in soc-camera core, let subdevice drivers do that themselves, using the V4L2 clock API and soc-camera convenience wrappers. Signed-off-by: Guennadi Liakhovetski --- drivers/media/i2c/soc_camera/imx074.c | 18 ++-

[PATCH v9 17/20] soc-camera: add V4L2-async support

2013-04-12 Thread Guennadi Liakhovetski
Add support for asynchronous subdevice probing, using the v4l2-async API. The legacy synchronous mode is still supported too, which allows to gradually update drivers and platforms. The selected approach adds a notifier for each struct soc_camera_device instance, i.e. for each video device node, ev

[PATCH v9 12/20] soc-camera: make .clock_{start,stop} compulsory, .add / .remove optional

2013-04-12 Thread Guennadi Liakhovetski
All existing soc-camera host drivers use .clock_start() and .clock_stop() callbacks to activate and deactivate their camera interfaces, whereas .add() and .remove() callbacks are usually dummy. Make the former two compulsory and the latter two optional. Signed-off-by: Guennadi Liakhovetski --- d

[PATCH v9 01/20] V4L2: add temporary clock helpers

2013-04-12 Thread Guennadi Liakhovetski
Typical video devices like camera sensors require an external clock source. Many such devices cannot even access their hardware registers without a running clock. These clock sources should be controlled by their consumers. This should be performed, using the generic clock framework. Unfortunately

[PATCH v9 00/20] V4L2 clock and async patches and soc-camera example

2013-04-12 Thread Guennadi Liakhovetski
Here comes a v9. The most visible change to v8 is the number of patches:-) The reason is, that I lied in v7. The "small" change to patch #1 "Removed the struct v4l2-clock subdevice member" actually required a lot of changes to soc-camera to split turning on and off the master clock by camera-host d

[PATCH v9 07/20] atmel-isi: move interface activation and deactivation to clock callbacks

2013-04-12 Thread Guennadi Liakhovetski
When adding and removing a client, the atmel-isi camera host driver only activates and deactivates its camera interface respectively, which doesn't include any client-specific actions. Move this functionality into .clock_start() and .clock_stop() callbacks. Signed-off-by: Guennadi Liakhovetski --

[PATCH v9 19/20] imx074: support asynchronous probing

2013-04-12 Thread Guennadi Liakhovetski
Both synchronous and asynchronous imx074 subdevice probing is supported by this patch. Signed-off-by: Guennadi Liakhovetski --- drivers/media/i2c/soc_camera/imx074.c | 22 +++--- 1 files changed, 19 insertions(+), 3 deletions(-) diff --git a/drivers/media/i2c/soc_camera/imx074

[PATCH v9 11/20] sh-mobile-ceu-camera: move interface activation and deactivation to clock callbacks

2013-04-12 Thread Guennadi Liakhovetski
When adding and removing a client, the sh-mobile-ceu-camera driver activates and, respectively, deactivates its camera interface and, if necessary, the CSI2 controller. Only handling of the CSI2 interface is client-specific and is only needed, when a data-exchange with the client is taking place. M

[PATCH v9 06/20] omap1-camera: move interface activation and deactivation to clock callbacks

2013-04-12 Thread Guennadi Liakhovetski
When adding and removing a client, the omap1-camera driver only activates and deactivates its camera interface respectively, which doesn't include any client-specific actions. Move this functionality into .clock_start() and .clock_stop() callbacks. Signed-off-by: Guennadi Liakhovetski --- driver

[PATCH v9 05/20] pxa-camera: move interface activation and deactivation to clock callbacks

2013-04-12 Thread Guennadi Liakhovetski
When adding and removing a client, the pxa-camera driver only activates and deactivates its camera interface respectively, which doesn't include any client-specific actions. Move this functionality into .clock_start() and .clock_stop() callbacks. Signed-off-by: Guennadi Liakhovetski --- drivers/

[PATCH v9 20/20] ARM: shmobile: convert ap4evb to asynchronously register camera subdevices

2013-04-12 Thread Guennadi Liakhovetski
Register the imx074 camera I2C and the CSI-2 platform devices directly in board platform data instead of letting the sh_mobile_ceu_camera driver and the soc-camera framework register them at their run-time. This uses the V4L2 asynchronous subdevice probing capability. Signed-off-by: Guennadi Liakh

[PATCH v9 10/20] mx1-camera: move interface activation and deactivation to clock callbacks

2013-04-12 Thread Guennadi Liakhovetski
When adding and removing a client, the mx1-camera driver only activates and deactivates its camera interface respectively, which doesn't include any client-specific actions. Move this functionality into .clock_start() and .clock_stop() callbacks. Signed-off-by: Guennadi Liakhovetski --- drivers/

[PATCH v9 08/20] mx3-camera: move interface activation and deactivation to clock callbacks

2013-04-12 Thread Guennadi Liakhovetski
When adding and removing a client, the mx3-camera driver only activates and deactivates its camera interface respectively, which doesn't include any client-specific actions. Move this functionality into .clock_start() and .clock_stop() callbacks. Signed-off-by: Guennadi Liakhovetski --- drivers/

[RFC] Motion Detection API

2013-04-12 Thread Hans Verkuil
This RFC looks at adding support for motion detection to V4L2. This is the main missing piece that prevents the go7007 and solo6x10 drivers from being moved into mainline from the staging directory. Step one is to look at existing drivers/hardware: 1) The go7007 driver: - divides the fra

Re: Delock 61959

2013-04-12 Thread Antti Palosaari
On 04/12/2013 05:17 PM, Jakob Haufe wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 9 Apr 2013 14:48:05 +0200 Jakob Haufe wrote: Will do so tonight and report back. Took a little longer but it worked as expected. Patch follows in a separate mail. dmesg output: [19.474818] em2

Re: [PATCH] Add support for Delock 61959

2013-04-12 Thread Antti Palosaari
On 04/12/2013 05:18 PM, Jakob Haufe wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Delock 61959 seems to be a relabeled version of Maxmedia UB425-TC with a different USB ID. PCB is marked as "UB425-TC Ver: A" and this change makes it work without any obvious problems. Signed-off-by: Jakob

Re: [PATCH v8 2/7] media: V4L2: support asynchronous subdevice registration

2013-04-12 Thread Guennadi Liakhovetski
Hi Laurent Thanks for the review. On Fri, 12 Apr 2013, Laurent Pinchart wrote: [snip] > > + switch (hw->bus_type) { > > + case V4L2_ASYNC_BUS_CUSTOM: > > + match = hw->match.special.match; > > + if (!match) > > +

[PATCH] Add support for Delock 61959

2013-04-12 Thread Jakob Haufe
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Delock 61959 seems to be a relabeled version of Maxmedia UB425-TC with a different USB ID. PCB is marked as "UB425-TC Ver: A" and this change makes it work without any obvious problems. Signed-off-by: Jakob Haufe - --- drivers/media/usb/em28xx/em28x

Re: Delock 61959

2013-04-12 Thread Jakob Haufe
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 9 Apr 2013 14:48:05 +0200 Jakob Haufe wrote: > Will do so tonight and report back. Took a little longer but it worked as expected. Patch follows in a separate mail. dmesg output: [19.474818] em28xx: New device USB 2875 Device @ 480 Mbps (

[REVIEW PATCH] bttv: Add Adlink MPG24 entry to the bttv cardlist

2013-04-12 Thread Hans Verkuil
Add a proper card entry for this device, rather than abusing entries that are not-quite-right. Regards, Hans Signed-off-by: Hans Verkuil --- Documentation/video4linux/CARDLIST.bttv |1 + drivers/media/pci/bt8xx/bttv-cards.c| 22 +- drivers/media/pci/bt8xx/

Re: [PATCH v8 0/7] V4L2 clock and async patches and soc-camera example

2013-04-12 Thread Sylwester Nawrocki
Hi Guennadi, On 04/12/2013 08:13 AM, Guennadi Liakhovetski wrote: > On Thu, 11 Apr 2013, Sylwester Nawrocki wrote: >> On 04/11/2013 11:59 AM, Guennadi Liakhovetski wrote: >>> On Mon, 8 Apr 2013, Guennadi Liakhovetski wrote: >>> > Mostly just a re-spin of v7 with minor modifications. > >>>

[GIT PULL FOR v3.10] V4L2 patches

2013-04-12 Thread Hans Verkuil
Hi Mauro, Here is my set of pending V4L2 patches for 3.10. Patchwork has been updated accordingly. Regards, Hans The following changes since commit 81e096c8ac6a064854c2157e0bf802dc4906678c: [media] budget: Add support for Philips Semi Sylt PCI ref. design (2013-04-08 07:28:01 -0300

Re: [PATCH] drivers: media: platform: convert to devm_ioremap_resource()

2013-04-12 Thread Guennadi Liakhovetski
Hi On Wed, 10 Apr 2013, Silviu-Mihai Popescu wrote: > Convert all uses of devm_request_and_ioremap() to the newly introduced > devm_ioremap_resource() which provides more consistent error handling. > > Signed-off-by: Silviu-Mihai Popescu Thanks for the patch, but an equivalent one is already u

Re: [PATCH v8 2/7] media: V4L2: support asynchronous subdevice registration

2013-04-12 Thread Laurent Pinchart
Hi Guennadi, Thanks for the patch. On Monday 08 April 2013 17:05:33 Guennadi Liakhovetski wrote: > Currently bridge device drivers register devices for all subdevices > synchronously, tupically, during their probing. E.g. if an I2C CMOS sensor > is attached to a video bridge device, the bridge dr

Re: [GIT PULL FOR v3.10] DaVinci media cleanups + Updates

2013-04-12 Thread Prabhakar Lad
Hi Hans/Mauro, Ahh here is the final pull request hopefully I wont add anymore :) sorry for inconvenience, had to add on more patch at the final moment. Following is the fresh pull request. Let me know if replying on top if it is OK or if if you want a fresh mail. Note: All the ARM platform chang

Re: [PATCH v2 2/2] adv7180: add more subdev video ops

2013-04-12 Thread Sergei Shtylyov
Hello. On 12-04-2013 12:05, Hans Verkuil wrote: Thanks for the patch! I've got some comments about this, though. See below: On Fri April 12 2013 00:08:09 Sergei Shtylyov wrote: From: Vladimir Barinov Add subdev video ops for ADV7180 video decoder. This makes decoder usable on the

Re: [PATCH 1/2] [media] blackfin: add display support in ppi driver

2013-04-12 Thread Hans Verkuil
On Sat April 13 2013 01:52:57 Scott Jiang wrote: > Signed-off-by: Scott Jiang Is it OK if I postpone these two patches for 3.11? They don't make sense AFAICT without the new display driver, and that will definitely not make it for 3.10. Regards, Hans > --- > drivers/media/platform/bla

Re: [PATCH] ARM: daVinci: dm644x/dm355/dm365: replace V4L2_STD_525_60/625_50 with V4L2_STD_NTSC/PAL

2013-04-12 Thread Prabhakar Lad
Sekhar, On Fri, Apr 12, 2013 at 4:50 PM, Sekhar Nori wrote: > > > On 4/12/2013 4:35 PM, Prabhakar lad wrote: >> From: Lad, Prabhakar >> >> This patch replaces V4L2_STD_525_60/625_50 with V4L2_STD_NTSC/PAL >> respectively as this are the proper video standards. >> >> Signed-off-by: Lad, Prabhakar

[PATCH RFC] [media] blackfin: add video display driver

2013-04-12 Thread Scott Jiang
This is a bridge driver for blackfin diplay device. It can work with ppi or eppi interface. DV timings are supported. Signed-off-by: Scott Jiang --- drivers/media/platform/blackfin/Kconfig| 15 +- drivers/media/platform/blackfin/Makefile |1 + drivers/media/platform/blackfin/

[PATCH 1/2] [media] blackfin: add display support in ppi driver

2013-04-12 Thread Scott Jiang
Signed-off-by: Scott Jiang --- drivers/media/platform/blackfin/ppi.c | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/drivers/media/platform/blackfin/ppi.c b/drivers/media/platform/blackfin/ppi.c index 01b5b50..15e9c2b 100644 --- a/drivers/media/platform/black

[PATCH 2/2] [media] bfin_capture: add query_dv_timings/enum_dv_timings support

2013-04-12 Thread Scott Jiang
More dv_timings ioctl ops are introduced in video core. Add query_dv_timings/enum_dv_timings accordingly. Signed-off-by: Scott Jiang --- drivers/media/platform/blackfin/bfin_capture.c | 28 ++-- 1 files changed, 21 insertions(+), 7 deletions(-) diff --git a/drivers/media/p

Re: Pixel Formats

2013-04-12 Thread Laurent Pinchart
(A bit late, sorry) On Thursday 07 March 2013 22:37:26 Guennadi Liakhovetski wrote: > On Wed, 6 Mar 2013, Christian Rhodin wrote: > > Hi, > > > > I'm looking for some guidance on the correct way to handle a new pixel > > format. What I'm dealing with is a CMOS image sensor that supports > > dyna

Re: RFC: behavior of QUERYSTD when no signal is present

2013-04-12 Thread Hans Verkuil
Hi all, Some recent discussions regarding the correct behavior of QUERYSTD brought up a feeling of déjà vu. Some digging in my mail history resulted in this three year old RFC which I promised to implement but obviously I never did. Things have changed a bit. Today v4l_querystd in v4l2-ioctl.c in

Re: v4l2-ctl-streaming: ideas for improvements

2013-04-12 Thread Hans Verkuil
On Fri April 12 2013 11:31:36 Laurent Pinchart wrote: > On Wednesday 10 April 2013 09:27:07 Hans Verkuil wrote: > > Hi all, > > > > Just in case someone has time to work on this: I thought I'd write down some > > of the ideas I have to improve the streaming code in v4l2-ctl: > > > > 1) Add an opt

Re: v4l2-ctl-streaming: ideas for improvements

2013-04-12 Thread Laurent Pinchart
On Wednesday 10 April 2013 09:27:07 Hans Verkuil wrote: > Hi all, > > Just in case someone has time to work on this: I thought I'd write down some > of the ideas I have to improve the streaming code in v4l2-ctl: > > 1) Add an option to select between limited and full range colors. > > 2) Add mor

[GIT PULL FOR v3.10] OMAP3 ISP patches

2013-04-12 Thread Laurent Pinchart
Hi Mauro, The following changes since commit 81e096c8ac6a064854c2157e0bf802dc4906678c: [media] budget: Add support for Philips Semi Sylt PCI ref. design (2013-04-08 07:28:01 -0300) are available in the git repository at: git://linuxtv.org/pinchartl/media.git omap3isp/next for you to fetch

[GIT PULL FOR v3.10] Camera sensors patches

2013-04-12 Thread Laurent Pinchart
Hi Mauro, The following changes since commit 81e096c8ac6a064854c2157e0bf802dc4906678c: [media] budget: Add support for Philips Semi Sylt PCI ref. design (2013-04-08 07:28:01 -0300) are available in the git repository at: git://linuxtv.org/pinchartl/media.git sensors/next for you to fetch

Re: [GIT PULL FOR v3.10] DaVinci media cleanups + Updates

2013-04-12 Thread Prabhakar Lad
Hi Hans/Mauro, I have included two more patches in the pull, following is the fresh pull request. Regards, --Prabhakar The following changes since commit 81e096c8ac6a064854c2157e0bf802dc4906678c: [media] budget: Add support for Philips Semi Sylt PCI ref. design (2013-04-08 07:28:01 -0300) ar

[GIT PULL FOR v3.10] DaVinci media cleanups + Updates

2013-04-12 Thread Prabhakar Lad
Hi Hans/Mauro, Please pull the following patches for Davinci media. Few patches contain platform changes for ARM which have been Acked by its maintainer. Regards, --Prabhakar Lad The following changes since commit 81e096c8ac6a064854c2157e0bf802dc4906678c: [media] budget: Add support for Phili

Re: [PATCH v8 1/7] media: V4L2: add temporary clock helpers

2013-04-12 Thread Laurent Pinchart
Hi Mike, On Thursday 11 April 2013 16:19:23 Mike Turquette wrote: > Quoting Laurent Pinchart (2013-04-11 15:35:38) > > On Thursday 11 April 2013 11:52:58 Mike Turquette wrote: [snip] > > > I came into this thread late and don't have the actual patches in my > > > inbox for review. That said, I

Re: [PATCH v2 2/2] adv7180: add more subdev video ops

2013-04-12 Thread Hans Verkuil
Hi Sergei, Thanks for the patch! I've got some comments about this, though. See below: On Fri April 12 2013 00:08:09 Sergei Shtylyov wrote: > From: Vladimir Barinov > > Add subdev video ops for ADV7180 video decoder. This makes decoder usable on > the soc-camera drivers. > > Signed-off-by: