[PATCH RESEND] V4L2: remove myself as a maintainer of two drivers

2013-11-24 Thread Guennadi Liakhovetski
Since I'm currently unable to dedicate sufficient time to the maintainership of these two drivers update their status to orphan until new maintainers appear. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- Sorry, didn't send to the media list originally. MAINTAINERS |6

Re: [GIT PULL] V4L2, soc-camera, em28xx: 3.13 fixes and improvements

2013-10-30 Thread Guennadi Liakhovetski
Guennadi On Mon, 28 Oct 2013, Guennadi Liakhovetski wrote: Hi Mauro As agreed a couple of days ago, here go several general V4L2 patches, posted at vatious times with no objections, and patches, aiming at fixing the current em28xx+ov2640 breakage. After you pull them I'll have to remember

[GIT PULL v2] V4L2, soc-camera, em28xx: 3.13 fixes and improvements

2013-10-30 Thread Guennadi Liakhovetski
On Wed, 30 Oct 2013, Mauro Carvalho Chehab wrote: Em Wed, 30 Oct 2013 10:14:13 +0100 (CET) Guennadi Liakhovetski g.liakhovet...@gmx.de escreveu: Hi Mauro I'd like to add 2 more patches from other authors to my pull request for 3.13. Shall I add them to this branch before you have

[GIT PULL] V4L2, soc-camera, em28xx: 3.13 fixes and improvements

2013-10-28 Thread Guennadi Liakhovetski
changes since commit 9e11bce4d7065aa826a953936149e182e018a3df: Add linux-next specific files for 20131025 (2013-10-25 17:07:05 +0200) are available in the git repository at: git://linuxtv.org/gliakhovetski/v4l-dvb.git for-3.13-1 Guennadi Liakhovetski (9): V4L2: (cosmetic) remove redundant

Re: [PATCH/RFC 1/2] V4L2: soc-camera: work around unbalanced calls to .s_power()

2013-10-23 Thread Guennadi Liakhovetski
pick up my me28xx patch and send Mauro a pull request ? I'd first like to get a confirmation from Mauro (at least), that this approach is acceptable for him. Thanks Guennadi Regards, Frank Am 21.10.2013 11:28, schrieb Guennadi Liakhovetski: Some non soc-camera drivers, e.g. em28xx, use

[BUILD WARNING] VIDEO_TUNER unmet dependency warning

2013-10-21 Thread Guennadi Liakhovetski
unmet direct dependencies (MEDIA_SUPPORT MEDIA_TUNER) Thanks Guennadi --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open-technology.de/ -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord

[PATCH/RFC 2/2] V4L2: em28xx: tell the ov2640 driver to balance clock enabling internally

2013-10-21 Thread Guennadi Liakhovetski
to a broad supported hardware base. Instead this patch makes use of the unbalanced_power soc-camera subdevice flag to tell the ov2640 driver to balance calls to v4l2_clk_enable() and v4l2_clk_disable() internally. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/usb/em28xx

[PATCH/RFC 1/2] V4L2: soc-camera: work around unbalanced calls to .s_power()

2013-10-21 Thread Guennadi Liakhovetski
will only enable the clock, if it is disabled, and disable it only once on the first call to .s_power(0). Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- As promised yesterday, this is an alternative approach to fixing the em28xx problem, compile tested only. drivers/media

Re: [PATCH] em28xx: make sure that all subdevices are powered on when needed

2013-10-20 Thread Guennadi Liakhovetski
Hi Frank, On Sun, 20 Oct 2013, Frank Schäfer wrote: Hi Guennadi, Am 19.10.2013 18:32, schrieb Guennadi Liakhovetski: Hi Frank On Sat, 19 Oct 2013, Frank SchÀfer wrote: Am 18.10.2013 22:30, schrieb Guennadi Liakhovetski: Hi Frank Thanks for the patch On Wed, 16 Oct 2013

Re: [PATCH] em28xx: make sure that all subdevices are powered on when needed

2013-10-19 Thread Guennadi Liakhovetski
Hi Frank On Sat, 19 Oct 2013, Frank SchÀfer wrote: Am 18.10.2013 22:30, schrieb Guennadi Liakhovetski: Hi Frank Thanks for the patch On Wed, 16 Oct 2013, Frank SchÀfer wrote: Commit 622b828ab7 (v4l2_subdev: rename tuner s_standby operation to core s_power) replaced the tuner

Re: [PATCH] em28xx: make sure that all subdevices are powered on when needed

2013-10-18 Thread Guennadi Liakhovetski
() perfectly? Thanks Guennadi --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open-technology.de/ -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

Re: [PATCH 06/24] V4L2: add a common V4L2 subdevice platform data type

2013-10-17 Thread Guennadi Liakhovetski
Hi Hans Sorry for reviving this old thread. I was going to resubmit a part of those patches for mainlining and then I found this your comment, which I didn't reply to back then. On Fri, 19 Apr 2013, Hans Verkuil wrote: On Fri April 19 2013 09:48:27 Guennadi Liakhovetski wrote: Hi Hans

Re: em28xx + ov2640 and v4l2-clk

2013-10-15 Thread Guennadi Liakhovetski
Hi Mauro, On Sat, 12 Oct 2013, Mauro Carvalho Chehab wrote: Em Thu, 10 Oct 2013 15:50:15 +0200 (CEST) Guennadi Liakhovetski g.liakhovet...@gmx.de escreveu: Hi Frank, On Thu, 10 Oct 2013, Frank SchÀfer wrote: Am 08.10.2013 18:38, schrieb Guennadi Liakhovetski: Hi Frank

Re: [RFD] use-counting V4L2 clocks

2013-10-15 Thread Guennadi Liakhovetski
Hi Laurent Thanks for your opinion. On Thu, 10 Oct 2013, Laurent Pinchart wrote: Hi Guennadi and Mauro, On Tuesday 08 October 2013 23:57:55 Guennadi Liakhovetski wrote: Hi Mauro, Thanks for your long detailed mail. For the sake of brevity however I'll drop most of it in this my

Re: em28xx + ov2640 and v4l2-clk

2013-10-15 Thread Guennadi Liakhovetski
On Tue, 15 Oct 2013, Guennadi Liakhovetski wrote: Well, yes, the idea is not bad, FWIW I could live with it. Doing this wouldn't be very simple though, I guess. E.g. em28xx would have to do both - call balanced .s_power() for camera sensors etc. and call .suspend() for tuners or whatever

Re: [RFD] use-counting V4L2 clocks

2013-10-15 Thread Guennadi Liakhovetski
Hi Laurent On Tue, 15 Oct 2013, Laurent Pinchart wrote: Hi Guennadi, On Tuesday 15 October 2013 10:05:45 Guennadi Liakhovetski wrote: On Thu, 10 Oct 2013, Laurent Pinchart wrote: On Tuesday 08 October 2013 23:57:55 Guennadi Liakhovetski wrote: Hi Mauro, Thanks for your long

Re: [PATCH] [media] sh_mobile_ceu_camera: remove deprecated IRQF_DISABLED

2013-10-14 Thread Guennadi Liakhovetski
-dev), pcdev); if (err) { dev_err(pdev-dev, Unable to register CEU interrupt.\n); goto exit_release_mem; -- 1.8.1.2 --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open-technology.de/ -- To unsubscribe from this list

Re: em28xx + ov2640 and v4l2-clk

2013-10-10 Thread Guennadi Liakhovetski
Hi Frank, On Thu, 10 Oct 2013, Frank Schäfer wrote: Am 08.10.2013 18:38, schrieb Guennadi Liakhovetski: Hi Frank, On Tue, 8 Oct 2013, Frank SchÀfer wrote: Am 18.08.2013 17:20, schrieb Mauro Carvalho Chehab: Em Sun, 18 Aug 2013 13:40:25 +0200 Frank SchÀfer fschaefer

Re: em28xx + ov2640 and v4l2-clk

2013-10-10 Thread Guennadi Liakhovetski
On Thu, 10 Oct 2013, Frank Schäfer wrote: Am 10.10.2013 15:50, schrieb Guennadi Liakhovetski: Hi Frank, On Thu, 10 Oct 2013, Frank Schäfer wrote: Am 08.10.2013 18:38, schrieb Guennadi Liakhovetski: Hi Frank, On Tue, 8 Oct 2013, Frank SchÀfer wrote: Am 18.08.2013 17:20

Re: em28xx + ov2640 and v4l2-clk

2013-10-08 Thread Guennadi Liakhovetski
Hi Frank, On Tue, 8 Oct 2013, Frank SchÀfer wrote: Am 18.08.2013 17:20, schrieb Mauro Carvalho Chehab: Em Sun, 18 Aug 2013 13:40:25 +0200 Frank SchÀfer fschaefer@googlemail.com escreveu: Am 17.08.2013 12:51, schrieb Guennadi Liakhovetski: Hi Frank, As I mentioned on the list

Re: [RFD] use-counting V4L2 clocks

2013-10-08 Thread Guennadi Liakhovetski
Hi Sylwester, On Thu, 12 Sep 2013, Sylwester Nawrocki wrote: Hi Guennadi, On 09/12/2013 09:13 PM, Guennadi Liakhovetski wrote: So, I think, our V4L2 clock enable / disable calls should be balanced, and to enforce that a warning is helpful. Other opinions? I'd assume we should enforce

Re: [RFD] use-counting V4L2 clocks

2013-10-08 Thread Guennadi Liakhovetski
at their .s_power() methods and report my analysis, whether calling .s_power(1) for those respective drivers could cause problems. Would this suffice? Thanks Guennadi Otherwise, we should stick with the present behavior, as otherwise we will cause regressions. Regards, Mauro --- Guennadi

Re: [PATCH 1/3] media: i2c: Add ADV761X support

2013-09-25 Thread Guennadi Liakhovetski
Hi Valentine, On Wed, 25 Sep 2013, Valentine wrote: On 09/24/2013 07:54 PM, Guennadi Liakhovetski wrote: Hi Valentine, Hi Guennadi, On Tue, 24 Sep 2013, Valentine Barshak wrote: This adds ADV7611/ADV7612 Dual Port Xpressview 225 MHz HDMI Receiver support. The code

Re: [PATCH 1/3] media: i2c: Add ADV761X support

2013-09-25 Thread Guennadi Liakhovetski
On Wed, 25 Sep 2013, Valentine wrote: On 09/25/2013 06:08 PM, Guennadi Liakhovetski wrote: [snip] Using module parameters has a disadvantage, that all instances of this driver will get the same values, and it is quite possible to have several HDMI receivers in a system, I

Re: [PATCH 1/3] media: i2c: Add ADV761X support

2013-09-25 Thread Guennadi Liakhovetski
Hi Valentine, On Wed, 25 Sep 2013, Valentine wrote: On 09/25/2013 08:31 PM, Guennadi Liakhovetski wrote: On Wed, 25 Sep 2013, Valentine wrote: On 09/25/2013 06:08 PM, Guennadi Liakhovetski wrote: [snip] Using module parameters has a disadvantage, that all instances

Re: [PATCH 1/3] media: i2c: Add ADV761X support

2013-09-24 Thread Guennadi Liakhovetski
Is this header needed at all and - if so - does it have to be exported under include/ or would it be enough to put it under drivers/media/? + +#endif /* _ADV761X_H_ */ -- 1.8.3.1 Thanks Guennadi --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open

Re: [PATCH 3/3] media: rcar_vin: Add RGB888_1X24 input format support

2013-09-24 Thread Guennadi Liakhovetski
: if (cam-extra_fmt) break; -- 1.8.3.1 --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open-technology.de/ -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org

Re: [PATCH 0/3] media: Add SH-Mobile RCAR-H2 Lager board support

2013-09-24 Thread Guennadi Liakhovetski
100644 drivers/media/i2c/adv761x.c create mode 100644 include/media/adv761x.h -- 1.8.3.1 --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open-technology.de/ -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message

Re: [PATCH 1/3] media: i2c: Add ADV761X support

2013-09-24 Thread Guennadi Liakhovetski
implement an ISR itself, when it decides to implement support for those interrupts. Thanks Guennadi --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open-technology.de/ -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message

[GIT PULL] 2 3.12 fixes: mx3-camera and VOU

2013-09-17 Thread Guennadi Liakhovetski
/sh_vou.c|2 +- drivers/media/platform/soc_camera/mx3_camera.c |5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) Thanks Guennadi --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open-technology.de/ -- To unsubscribe from this list: send

Re: Kernel Summit Media Mini-summit attendees on Oct 23 in Edinburgh

2013-09-17 Thread Guennadi Liakhovetski
got from the discussions, we have, so far: Benjamin Gaignard benjamin.gaign...@linaro.org Guennadi Liakhovetski g.liakhovet...@gmx.de Hans Verkuil hverk...@xs4all.nl Hugues FRUCHET hugues.fruc...@st.com Laurent Pinchart laurent.pinch...@ideasonboard.com Mauro

[RFD] use-counting V4L2 clocks

2013-09-12 Thread Guennadi Liakhovetski
/gmane.linux.drivers.video-input-infrastructure/68510 [3] http://thread.gmane.org/gmane.linux.drivers.video-input-infrastructure/68864 --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open-technology.de/ -- To unsubscribe from this list: send the line unsubscribe linux-media

Re: [PATCH 0/3] V4L2: fix em28xx ov2640 support

2013-09-08 Thread Guennadi Liakhovetski
Hi Frank, On Tue, 3 Sep 2013, Guennadi Liakhovetski wrote: Hi Frank Thanks for testing! Let's have a look then: On Mon, 2 Sep 2013, Frank Schäfer wrote: Am 28.08.2013 15:28, schrieb Guennadi Liakhovetski: This patch series adds a V4L2 clock support to em28xx with an ov2640

[PATCH] em28xx: balance subdevice power-off calls

2013-09-08 Thread Guennadi Liakhovetski
.s_power() calls to turn subdevices on. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- Please, test - only compile tested due to lack of hardware drivers/media/usb/em28xx/em28xx-cards.c |1 + drivers/media/usb/em28xx/em28xx-video.c | 17 ++--- 2 files changed, 11

Re: [PATCH 0/3] V4L2: fix em28xx ov2640 support

2013-09-08 Thread Guennadi Liakhovetski
Guennadi Liakhovetski: Hi Frank Thanks for testing! Let's have a look then: On Mon, 2 Sep 2013, Frank Schäfer wrote: Am 28.08.2013 15:28, schrieb Guennadi Liakhovetski: This patch series adds a V4L2 clock support to em28xx with an ov2640 sensor. Only compile tested, might need

Re: [PATCH 0/3] V4L2: fix em28xx ov2640 support

2013-09-03 Thread Guennadi Liakhovetski
Hi Frank Thanks for testing! Let's have a look then: On Mon, 2 Sep 2013, Frank Schäfer wrote: Am 28.08.2013 15:28, schrieb Guennadi Liakhovetski: This patch series adds a V4L2 clock support to em28xx with an ov2640 sensor. Only compile tested, might need fixing, please, test. Guennadi

Re: [media-workshop] Agenda for the Edinburgh mini-summit

2013-08-31 Thread Guennadi Liakhovetski
want to change the specs to B? Instead of either changing the (wrong) drivers to A (yes, some applications expect that wrong behaviour) or at least extending the spec to allow both A and B? Thanks Guennadi --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open

Re: [media-workshop] Agenda for the Edinburgh mini-summit

2013-08-31 Thread Guennadi Liakhovetski
On Sat, 31 Aug 2013, Laurent Pinchart wrote: Hi Guennadi, On Saturday 31 August 2013 20:38:54 Guennadi Liakhovetski wrote: On Sat, 31 Aug 2013, Hans Verkuil wrote: On 08/30/2013 03:01 PM, Hans Verkuil wrote: OK, I know, we don't even know yet when the mini-summit will be held

Re: em28xx + ov2640 and v4l2-clk

2013-08-30 Thread Guennadi Liakhovetski
, On Sunday 18 August 2013 12:20:08 Mauro Carvalho Chehab wrote: Em Sun, 18 Aug 2013 13:40:25 +0200 Frank Schäfer escreveu: Am 17.08.2013 12:51, schrieb Guennadi Liakhovetski: Hi Frank, As I mentioned on the list, I'm currently on a holiday, so, replying briefly. Sorry, I missed that (can't

Re: Linux Media mini-summit in Edinburgh

2013-08-30 Thread Guennadi Liakhovetski
. I'll be there for the ELCE / KS time-frame, i.e. 24, 25.10. IIUC, the mini-summit should be on one of those days, but if it falls e.g. on 23rd, I could try to adjust my itinerary. Thanks Guennadi Thank you! -- Cheers, Mauro --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source

Re: [patch] [media] mx3-camera: locking typo in mx3_videobuf_queue()

2013-08-28 Thread Guennadi Liakhovetski
On Sat, 24 Aug 2013, Dan Carpenter wrote: On Fri, Aug 23, 2013 at 11:16:51PM +0200, Guennadi Liakhovetski wrote: Hi Dan, On Fri, 23 Aug 2013, Dan Carpenter wrote: There is a return in the middle where we haven't restored the IRQs to their original state. Signed-off-by: Dan

[PATCH 2/3] V4L2: add a v4l2-clk helper macro to produce an I2C device ID

2013-08-28 Thread Guennadi Liakhovetski
to generate a suitable device name for I2C devices. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de V4L2 clocks use device ID matching, which in case of I2C devices involves comparing a specially constructed from an I2C adapter number and a device address --- include/media/v4l2-clk.h

[PATCH 1/3] V4L2: add v4l2-clock helpers to register and unregister a fixed-rate clock

2013-08-28 Thread Guennadi Liakhovetski
Many bridges and video host controllers supply fixed rate always on clocks to their I2C devices. This patch adds two simple helpers to register and unregister such a clock. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/v4l2-core/v4l2-clk.c | 39

[PATCH 0/3] V4L2: fix em28xx ov2640 support

2013-08-28 Thread Guennadi Liakhovetski
This patch series adds a V4L2 clock support to em28xx with an ov2640 sensor. Only compile tested, might need fixing, please, test. Guennadi Liakhovetski (3): V4L2: add v4l2-clock helpers to register and unregister a fixed-rate clock V4L2: add a v4l2-clk helper macro to produce an I2C

[PATCH 3/3] V4L2: em28xx: register a V4L2 clock source

2013-08-28 Thread Guennadi Liakhovetski
Camera sensors usually require a master clock for data sampling. This patch registers such a clock source for em28xx cameras. This fixes the currently broken em28xx ov2640 camera support and can also be used by other camera sensors. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de

Re: [PATCH 2/3] V4L2: add a v4l2-clk helper macro to produce an I2C device ID

2013-08-28 Thread Guennadi Liakhovetski
On Wed, 28 Aug 2013, Laurent Pinchart wrote: Hi Guennadi, Thank you for the patch. On Wednesday 28 August 2013 15:28:27 Guennadi Liakhovetski wrote: To obtain a clock reference consumers supply their device object to the V4L2 clock framework. The latter then uses the consumer device

Re: [PATCH 1/3] V4L2: add v4l2-clock helpers to register and unregister a fixed-rate clock

2013-08-28 Thread Guennadi Liakhovetski
On Wed, 28 Aug 2013, Laurent Pinchart wrote: Hi Guennadi, Thank you for the patch. On Wednesday 28 August 2013 15:28:26 Guennadi Liakhovetski wrote: Many bridges and video host controllers supply fixed rate always on clocks to their I2C devices. This patch adds two simple helpers

Re: [PATCH v2 4/7] V4L: s5k6a3: Add support for asynchronous subdev registration

2013-08-28 Thread Guennadi Liakhovetski
(client); pm_runtime_disable(client-dev); + v4l2_async_unregister_subdev(sd); media_entity_cleanup(sd-entity); return 0; } -- 1.7.9.5 --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open-technology.de/ -- To unsubscribe from

Re: em28xx + ov2640 and v4l2-clk

2013-08-26 Thread Guennadi Liakhovetski
:34, schrieb Frank Schäfer: Am 20.08.2013 15:38, schrieb Laurent Pinchart: Hi Mauro, On Sunday 18 August 2013 12:20:08 Mauro Carvalho Chehab wrote: Em Sun, 18 Aug 2013 13:40:25 +0200 Frank Schäfer escreveu: Am 17.08.2013 12:51, schrieb Guennadi Liakhovetski: Hi Frank, As I

Re: [patch] [media] mx3-camera: locking typo in mx3_videobuf_queue()

2013-08-23 Thread Guennadi Liakhovetski
@@ static void mx3_videobuf_queue(struct vb2_buffer *vb) if (cookie = 0) return; - spin_lock_irq(mx3_cam-lock); + spin_lock_irqsave(mx3_cam-lock, flags); /* Submit error */ list_del_init(buf-queue); --- Guennadi Liakhovetski, Ph.D. Freelance Open

Re: em28xx + ov2640 and v4l2-clk

2013-08-17 Thread Guennadi Liakhovetski
Message- From: Frank Schäfer fschaefer@googlemail.com To: Guennadi Liakhovetski g.liakhovet...@gmx.de, Linux Media Mailing List linux-media@vger.kernel.org Sent: Fr., 16 Aug 2013 21:03 Subject: em28xx + ov2640 and v4l2-clk Hi Guennadi, since commit 9aea470b399d797e88be08985c489855759c6c60 soc

holiday absence

2013-08-09 Thread Guennadi Liakhovetski
Guennadi --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open-technology.de/ -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo

[GIT PULL] soc-camera for 3.12 #1

2013-08-09 Thread Guennadi Liakhovetski
/soc_camera/rcar_vin.c create mode 100644 include/linux/platform_data/camera-rcar.h Thanks Guennadi --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open-technology.de/ -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message

[PATCH 6/6] V4L2: mt9m111: switch to asynchronous subdevice probing

2013-08-08 Thread Guennadi Liakhovetski
Convert the mt9m111 driver to asynchronous subdevice probing. Synchronous probing is also still possible. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/i2c/soc_camera/mt9m111.c | 38 +-- 1 files changed, 26 insertions(+), 12 deletions

[PATCH 2/6] V4L2: mx3_camera: convert to managed resource allocation

2013-08-08 Thread Guennadi Liakhovetski
Use devm_* resource allocators to simplify the driver's probe and clean up paths. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/platform/soc_camera/mx3_camera.c | 47 +--- 1 files changed, 10 insertions(+), 37 deletions(-) diff --git

[PATCH 4/6] V4L2: mx3_camera: add support for asynchronous subdevice registration

2013-08-08 Thread Guennadi Liakhovetski
The soc-camera core does all the work on supporting asynchronous subdevice probing, host drivers only have to pass a subdevice list to soc-camera. Typically this list is provided by the platform. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/platform/soc_camera

[PATCH 5/6] V4L2: mt9t031: don't Oops if asynchronous probing is attempted

2013-08-08 Thread Guennadi Liakhovetski
The mt9t031 driver hasn't yet been updated to support asynchronous subdevice probing. If such a probing is attempted, the driver is allowed to fail, but it shouldn't Oops. This patch fixes such a potential NULL pointer dereference. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de

[PATCH 3/6] V4L2: mx3_camera: print V4L2_MBUS_FMT_* codes in hexadecimal format

2013-08-08 Thread Guennadi Liakhovetski
V4L2_MBUS_FMT_* codes are defined in v4l2-mediabus.h as hexadecimal constants. Print them in the same form for easier recognition. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/platform/soc_camera/mx3_camera.c |6 +++--- 1 files changed, 3 insertions(+), 3

[PATCH 0/6] V4L2: soc-camera: more asynchronous conversions

2013-08-08 Thread Guennadi Liakhovetski
This patch set converts the mx3-camera host and the mt9m111 sensor drivers to asynchronous probing. Also an Oops in the mt9t031 driver is fixed for the case, where an asynchronous probing is attempted. Guennadi Liakhovetski (6): V4L2: soc-camera: fix requesting regulators in synchronous case

[PATCH 1/6] V4L2: soc-camera: fix requesting regulators in synchronous case

2013-08-08 Thread Guennadi Liakhovetski
as in the former, which leads to a failure. This patch fixes it by preventing the second regulator request from being executed. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- Since currently only one sensor driver, used with soc-camera supports asynchronous probing and no platforms

Re: Can I put a V4L2 soc camera driver under other subsystem directory?

2013-08-08 Thread Guennadi Liakhovetski
.html It hasn't been finalised yet though. Thanks Guennadi --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open-technology.de/ -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More

Re: How to express planar formats with mediabus format code?

2013-08-06 Thread Guennadi Liakhovetski
Hi Su Jiaquan, On Tue, 6 Aug 2013, Su Jiaquan wrote: Hi Guennadi, Thanks for the reply! Please see my description inline. On Mon, Aug 5, 2013 at 5:02 AM, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: Hi Su Jiaquan On Sun, 4 Aug 2013, Su Jiaquan wrote: Hi, I know

Re: How to express planar formats with mediabus format code?

2013-08-04 Thread Guennadi Liakhovetski
/majordomo-info.html --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open-technology.de/ -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

Re: [PATCH v8] V4L2: soc_camera: Renesas R-Car VIN driver

2013-07-30 Thread Guennadi Liakhovetski
Hi Matsubara-san, On Tue, 30 Jul 2013, Katsuya MATSUBARA wrote: Hi Guennadi, From: Guennadi Liakhovetski g.liakhovet...@gmx.de Date: Fri, 26 Jul 2013 13:11:52 +0200 (CEST) Hello Matsubara-san On Thu, 25 Jul 2013, Katsuya MATSUBARA wrote: Hi Vladimir, [snip] I tested

[PATCH 0/6] V4L2: soc-camera: more asynchronous probing work

2013-07-30 Thread Guennadi Liakhovetski
in soc-camera to support both probing types. Guennadi Liakhovetski (6): V4L2: soc-camera: fix requesting regulators in synchronous case V4L2: mx3_camera: convert to managed resource allocation V4L2: mx3_camera: print V4L2_MBUS_FMT_* codes in hexadecimal format V4L2: mx3_camera: add support

[PATCH 5/6] V4L2: mt9m111: switch to asynchronous subdevice probing

2013-07-30 Thread Guennadi Liakhovetski
Convert the mt9m111 driver to asynchronous subdevice probing. Synchronous probing is also still possible. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/i2c/soc_camera/mt9m111.c | 38 +-- 1 files changed, 26 insertions(+), 12 deletions

[PATCH 3/6] V4L2: mx3_camera: add support for asynchronous subdevice registration

2013-07-30 Thread Guennadi Liakhovetski
The soc-camera core does all the work on supporting asynchronous subdevice probing, host drivers only have to pass a subdevice list to soc-camera. Typically this list is provided by the platform. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/platform/soc_camera

[PATCH 1/6] V4L2: mx3_camera: convert to managed resource allocation

2013-07-30 Thread Guennadi Liakhovetski
Use devm_* resource allocators to simplify the driver's probe and clean up paths. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/platform/soc_camera/mx3_camera.c | 47 +--- 1 files changed, 10 insertions(+), 37 deletions(-) diff --git

[PATCH 6/6] V4L2: soc-camera: fix requesting regulators in synchronous case

2013-07-30 Thread Guennadi Liakhovetski
as in the former, which leads to a failure. This patch fixes it by preventing the second regulator request from being executed. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/platform/soc_camera/soc_camera.c | 33 +++ 1 files changed, 27 insertions(+), 6

[PATCH 4/6] V4L2: mt9t031: don't Oops if asynchronous probing is attempted

2013-07-30 Thread Guennadi Liakhovetski
The mt9t031 driver hasn't yet been updated to support asynchronous subdevice probing. If such a probing is attempted, the driver is allowed to fail, but it shouldn't Oops. This patch fixes such a potential NULL pointer dereference. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de

[PATCH 2/6] V4L2: mx3_camera: print V4L2_MBUS_FMT_* codes in hexadecimal format

2013-07-30 Thread Guennadi Liakhovetski
V4L2_MBUS_FMT_* codes are defined in v4l2-mediabus.h as hexadecimal constants. Print them in the same form for easier recognition. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/platform/soc_camera/mx3_camera.c |6 +++--- 1 files changed, 3 insertions(+), 3

Re: [PATCH v3] ov10635: Add OmniVision ov10635 SoC camera driver

2013-07-29 Thread Guennadi Liakhovetski
be easier to get a basic version in the kernel now with no scaling support and add it later as an incremental patch. Thanks Guennadi --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open-technology.de/ -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH v8] V4L2: soc_camera: Renesas R-Car VIN driver

2013-07-26 Thread Guennadi Liakhovetski
-by to v9 of this driver? Thank you for fixing it. --- Katsuya Matsubara / IGEL Co., Ltd ma...@igel.co.jp Thanks Guennadi --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open-technology.de/ -- To unsubscribe from this list: send the line unsubscribe linux

Re: [PATCH] soc_camera: fix compiler warning

2013-07-26 Thread Guennadi Liakhovetski
;) So, if you prefer, feel free to take it via your tree with my Acked-by: Guennadi Liakhovetski g.liakhovet...@gmx.de Thanks Guennadi --- drivers/media/platform/soc_camera/soc_camera.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/media/platform/soc_camera

Re: [PATCH] soc_camera: fix compiler warning

2013-07-26 Thread Guennadi Liakhovetski
On Fri, 26 Jul 2013, Hans Verkuil wrote: Hi Guennadi, On 07/26/2013 01:26 PM, Guennadi Liakhovetski wrote: Hi Hans Thanks for the patch. On Thu, 25 Jul 2013, Hans Verkuil wrote: media_build/v4l/soc_camera.c: In function 'soc_camera_host_register': media_build/v4l

Re: [PATCH RFC 3/5] V4L2: Add V4L2_ASYNC_MATCH_OF subdev matching type

2013-07-24 Thread Guennadi Liakhovetski
{ -- 1.7.9.5 --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open-technology.de/ -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo

Re: [PATCH RFC 4/5] V4L2: Rename subdev field of struct v4l2_async_notifier

2013-07-24 Thread Guennadi Liakhovetski
{ unsigned int num_subdevs; - struct v4l2_async_subdev **subdev; + struct v4l2_async_subdev **subdevs; struct v4l2_device *v4l2_dev; struct list_head waiting; struct list_head done; -- 1.7.9.5 --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software

Re: [PATCH RFC 0/5] v4l2-async DT support improvement and cleanups

2013-07-24 Thread Guennadi Liakhovetski
include/media/v4l2-subdev.h| 13 ++- 4 files changed, 74 insertions(+), 85 deletions(-) -- 1.7.9.5 --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open-technology.de/ -- To unsubscribe from this list: send the line unsubscribe linux

Re: [PATCH v8] V4L2: soc_camera: Renesas R-Car VIN driver

2013-07-24 Thread Guennadi Liakhovetski
*/ + dev_dbg(dev, Camera %d fmt %ux%u, requested %ux%u\n, + ret, mf.width, mf.height, pix-width, pix-height); + + if (ret == -ENOIOCTLCMD) + dev_dbg(dev, Sensor doesn't support cropping\n); You mean scaling Thanks Guennadi --- Guennadi Liakhovetski, Ph.D

Re: [PATCH v8] V4L2: soc_camera: Renesas R-Car VIN driver

2013-07-24 Thread Guennadi Liakhovetski
On Wed, 24 Jul 2013, Sergei Shtylyov wrote: Hello. On 07/24/2013 08:14 PM, Guennadi Liakhovetski wrote: From: Vladimir Barinov vladimir.bari...@cogentembedded.com Add Renesas R-Car VIN (Video In) V4L2 driver. Based on the patch by Phil Edworthy phil.edwor...@renesas.com

Re: [PATCH v8] V4L2: soc_camera: Renesas R-Car VIN driver

2013-07-24 Thread Guennadi Liakhovetski
Hi Vladimir On Wed, 24 Jul 2013, Vladimir Barinov wrote: Hi Guennadi, Thank you for the v8 review. On 07/24/2013 08:14 PM, Guennadi Liakhovetski wrote: [snip] + /* output format */ + switch (icd-current_fmt-host_fmt-fourcc) { + case V4L2_PIX_FMT_NV16: + iowrite32

Re: Few Doubts on adding DT nodes for bridge driver

2013-07-21 Thread Guennadi Liakhovetski
, + }, + }, +}; For building the asd subdev list in the bridge driver I can get the address easily, how do I get the adapter_id ? should this be a property subdev ? And also same with bustype. Regards, --Prabhakar --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open

Re: Few Doubts on adding DT nodes for bridge driver

2013-07-21 Thread Guennadi Liakhovetski
endpoint ie, endpoint@1 From here is it possible to get the tvp514x_1 endpoint node and the parent of it? Isn't v4l2_of_get_remote_port_parent() what you need ? Right, forgot we've got a helper for that already. Thanks Guennadi --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source

Re: [PATCH v3] ov10635: Add OmniVision ov10635 SoC camera driver

2013-07-18 Thread Guennadi Liakhovetski
as possible. This has been discussed multiple times, ideas were expressed to create a recommended or even a compulsory ioctl() order, but I'm not sure how far this has come. I'm sure other developers on the list will have more info to this topic. Thanks Guennadi --- Guennadi Liakhovetski, Ph.D

Re: [PATCH v3] ov10635: Add OmniVision ov10635 SoC camera driver

2013-07-15 Thread Guennadi Liakhovetski
. And currently you do exactly that - return priv-width and priv-height in both. Thanks Guennadi --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open-technology.de/ -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord

Re: [PATCH v3] ov10635: Add OmniVision ov10635 SoC camera driver

2013-07-15 Thread Guennadi Liakhovetski
. Thanks Guennadi --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open-technology.de/ -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

Re: [PATCH v3] ov10635: Add OmniVision ov10635 SoC camera driver

2013-07-14 Thread Guennadi Liakhovetski
); +MODULE_LICENSE(GPL v2); -- 1.7.9.5 Thanks Guennadi --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open-technology.de/ -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More

Re: cron job: media_tree daily build: WARNINGS

2013-07-05 Thread Guennadi Liakhovetski
-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open-technology.de/ -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH v7] V4L2: soc_camera: Renesas R-Car VIN driver

2013-06-29 Thread Guennadi Liakhovetski
on top of next to make sure it still works. And let's try to get your driver ready for 3.12. Thanks Guennadi --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open-technology.de/ -- To unsubscribe from this list: send the line unsubscribe linux-media in the body

Re: [PATCH] usbtv: fix dependency

2013-06-28 Thread Guennadi Liakhovetski
for subdevs. Note BTW that even x86 kernels come with CONFIG_OF enabled these days. This patch http://git.linuxtv.org/gliakhovetski/v4l-dvb.git/commitdiff/a92d0222c693db29a5d00eaedcdebf748789c38e has been pushed 3 days ago: https://patchwork.linuxtv.org/patch/19090/ Thanks Guennadi --- Guennadi

Re: Question: interaction between selection API, ENUM_FRAMESIZES and S_FMT?

2013-06-27 Thread Guennadi Liakhovetski
instead of the other way around, but I can't tell if setting the format size will also adjust the compose rectangle if that is now out-of-bounds of the new format size. Comments? Questions? Regards, Hans --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http

[GIT PULL] #3 for 3.11 - clk / async API documentation, fixes

2013-06-26 Thread Guennadi Liakhovetski
://linuxtv.org/gliakhovetski/v4l-dvb.git for-3.11-3 Guennadi Liakhovetski (7): V4L2: sh_vou: add I2C build dependency V4L2: fix compilation if CONFIG_I2C is undefined V4L2: soc-camera: fix uninitialised use compiler warning V4L2: add documentation for V4L2 clock helpers

Re: [PATCH v7] V4L2: soc_camera: Renesas R-Car VIN driver

2013-06-26 Thread Guennadi Liakhovetski
branch of my http://git.linuxtv.org/gliakhovetski/v4l-dvb.git git-tree, or next after it's been pulled by Mauro and pushed upstream. With that branch you shouldn't need any additional patches andy more. Thanks Guennadi --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http

[PATCH] V4L2: soc-camera: remove several CEU references in the generic scaler

2013-06-25 Thread Guennadi Liakhovetski
The scaling / cropping library, that has been extracted from the CEU driver still contained a couple of references to the original hardware. Clean them up. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- A cosmetic fix, goes on top of https://patchwork.linuxtv.org/patch/18209

Re: [PATCH v2] V4L2: add documentation for V4L2 clock helpers and asynchronous probing

2013-06-25 Thread Guennadi Liakhovetski
Hi Sylwester On Mon, 24 Jun 2013, Sylwester Nawrocki wrote: Hi Guennadi, On 06/24/2013 01:20 PM, Guennadi Liakhovetski wrote: Add documentation for the V4L2 clock and V4L2 asynchronous probing APIs to v4l2-framework.txt. Signed-off-by: Guennadi Liakhovetskig.liakhovet...@gmx.de

[PATCH v2] V4L2: add documentation for V4L2 clock helpers and asynchronous probing

2013-06-24 Thread Guennadi Liakhovetski
Add documentation for the V4L2 clock and V4L2 asynchronous probing APIs to v4l2-framework.txt. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- v2: addressed comments by Hans and Laurent (thanks), including (a) language clean up (b) extended the V4L2 clock API section

Re: [PATCH] media: i2c: adv7343: add support for asynchronous probing

2013-06-23 Thread Guennadi Liakhovetski
On Sat, 22 Jun 2013, Prabhakar Lad wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com Both synchronous and asynchronous adv7343 subdevice probing is supported by this patch. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com Cc: Guennadi Liakhovetski g.liakhovet...@gmx.de Cc

Re: [PATCH] media: i2c: adv7343: add support for asynchronous probing

2013-06-23 Thread Guennadi Liakhovetski
On Sun, 23 Jun 2013, Guennadi Liakhovetski wrote: On Sat, 22 Jun 2013, Prabhakar Lad wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com Both synchronous and asynchronous adv7343 subdevice probing is supported by this patch. Signed-off-by: Lad, Prabhakar prabhakar.cse

Re: [PATCH] media: i2c: tvp514x: add support for asynchronous probing

2013-06-23 Thread Guennadi Liakhovetski
On Sat, 22 Jun 2013, Prabhakar Lad wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com Both synchronous and asynchronous tvp514x subdevice probing is supported by this patch. Signed-off-by: Prabhakar Lad prabhakar.cse...@gmail.com Cc: Guennadi Liakhovetski g.liakhovet...@gmx.de Cc

Re: [GIT PULL] V4L2: clock and async probing APIs, soc-camera example implementation

2013-06-21 Thread Guennadi Liakhovetski
On Fri, 21 Jun 2013, Guennadi Liakhovetski wrote: Hi Mauro Sorry, I did forget a couple more acks: for patch V4L2: add a device pointer to struct v4l2_subdev Acked-by: Lad, Prabhakar prabhakar.cse...@gmail.com and for patch V4L2: support asynchronous subdevice registration Acked-by: Lad

<    1   2   3   4   5   6   7   8   9   10   >