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

2012-10-31 Thread Sylwester Nawrocki
On 11/01/2012 12:09 AM, Sylwester Nawrocki wrote: Hi Guennadi, On 10/29/2012 08:52 AM, Guennadi Liakhovetski wrote: +/* + * Typically this function will be called during bridge driver probing. It + * installs bus notifiers to handle asynchronously probing subdevice drivers. + * Once the bridge

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

2012-10-31 Thread Sylwester Nawrocki
Hi Guennadi, On 10/29/2012 08:52 AM, Guennadi Liakhovetski wrote: +/* + * Typically this function will be called during bridge driver probing. It + * installs bus notifiers to handle asynchronously probing subdevice drivers. + * Once the bridge driver probing completes, s

Re: [PATCH 00/23] em28xx: add support fur USB bulk transfers

2012-10-31 Thread Benny Amorsen
Ezequiel Garcia writes: > Very interesting. Let me see if I understand this: you say it's not a > problem with USB bandwidth, but with isochronous transfers, in the > sense it could achieve enough speed for streaming if bulk transfers > were used? It is more of a hope than a statement... I have

cron job: media_tree daily build: WARNINGS

2012-10-31 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 Oct 31 19:00:23 CET 2012 git hash:8f7e91a31fb95c50880c76505b416630c0326d93 gcc version: i686-linux-gcc (GCC

Re: [PATCH 00/23] em28xx: add support fur USB bulk transfers

2012-10-31 Thread Ezequiel Garcia
Benny, On Wed, Oct 31, 2012 at 4:58 PM, Benny Amorsen wrote: >> >> Is this a regression caused by patches or a general issue with the >> Raspberry board ? > > It is a general issue with the Raspberry USB host controller or driver. > Bulk transfers work, isochronous transfers have problems. I was

Re: [PATCH 00/23] em28xx: add support fur USB bulk transfers

2012-10-31 Thread Benny Amorsen
Frank Schäfer writes: > For DVB, the em28xx always selects the alternate setting with the > largest wMaxPacketSize. > There is a module parameter 'alt' to select it manually for experiments, > but the current code unfortunately applies it for analog capturing only. :( What is the meaning of "alt

Re: [PATCH 00/23] em28xx: add support fur USB bulk transfers

2012-10-31 Thread Benny Amorsen
Ezequiel Garcia writes: > Isn't this completely OT? It may be off topic, but those issues were the reason I was testing the patches... > Anyway, RPI has known issues regarding USB bandwidth. Indeed. Thank you for the links, I had not followed the latest development and did not know about Gordo

Re: [PATCH 00/23] em28xx: add support fur USB bulk transfers

2012-10-31 Thread Benny Amorsen
Frank Schäfer writes: > It seems like your device has no bulk endpoint for DVB. > What does lsusb say ? lsusb mentions 4 different end points, all isochronous. So out of luck there. I did not know I could use lsusb to find this out. > The module parameter is called prefer_bulk, but what it act

Re: [PATCH v4 1/2] ARM: clk-imx27: Add missing clock for mx2-camera

2012-10-31 Thread Mauro Carvalho Chehab
Em Wed, 31 Oct 2012 20:02:49 +0100 Sascha Hauer escreveu: > On Wed, Oct 31, 2012 at 04:53:03PM -0200, Mauro Carvalho Chehab wrote: > > Em Wed, 31 Oct 2012 14:53:47 +0100 (CET) > > Guennadi Liakhovetski escreveu: > > > > > On Wed, 31 Oct 2012, Fabio Estevam wrote: > > I agree with Fabio and Gue

Re: [PATCH v4 1/2] ARM: clk-imx27: Add missing clock for mx2-camera

2012-10-31 Thread Sascha Hauer
On Wed, Oct 31, 2012 at 04:53:03PM -0200, Mauro Carvalho Chehab wrote: > Em Wed, 31 Oct 2012 14:53:47 +0100 (CET) > Guennadi Liakhovetski escreveu: > > > On Wed, 31 Oct 2012, Fabio Estevam wrote: > > > > > Hi Sascha, > > > > > > On Wed, Oct 31, 2012 at 11:16 AM, Sascha Hauer > > > wrote: > >

Re: [PATCH v4 1/2] ARM: clk-imx27: Add missing clock for mx2-camera

2012-10-31 Thread Mauro Carvalho Chehab
Em Wed, 31 Oct 2012 14:53:47 +0100 (CET) Guennadi Liakhovetski escreveu: > On Wed, 31 Oct 2012, Fabio Estevam wrote: > > > Hi Sascha, > > > > On Wed, Oct 31, 2012 at 11:16 AM, Sascha Hauer > > wrote: > > > > > Quoting yourself: > > > > > >> Forgot to comment: as patch 2 relies on this change

Re: Diversity support?

2012-10-31 Thread Luca Olivetti
Al 17/10/12 19:12, En/na Luca Olivetti ha escrit: > Hello, > > if I look at the vl4-dvb wiki, it says that diversity isn't currently > supported > > http://www.linuxtv.org/wiki/index.php?title=Special%3ASearch&search=diversity&go=Go > > however grepping the git tree there are various mentions o

Re: [PATCH v7 4/8] video: add videomode helpers

2012-10-31 Thread Laurent Pinchart
Hi Steffen, Thanks for the patch. On Wednesday 31 October 2012 10:28:04 Steffen Trumtrar wrote: > Add helper functions to convert from display timings to a generic videomode > structure. This videomode can then be converted to the corresponding > subsystem mode representation (e.g. fb_videomode).

Re: [PATCH v7 1/8] video: add display_timing struct and helpers

2012-10-31 Thread Laurent Pinchart
Hi Steffen, One more comment. On Wednesday 31 October 2012 10:28:01 Steffen Trumtrar wrote: > Add display_timing structure and the according helper functions. This allows > the description of a display via its supported timing parameters. > > Every timing parameter can be specified as a single v

Re: [PATCH v7 1/8] video: add display_timing struct and helpers

2012-10-31 Thread Laurent Pinchart
Hi Steffen, Thanks for the patch. As we'll need a v8 anyway due to the comment on patch 5/8, here are a couple of other small comments. On Wednesday 31 October 2012 10:28:01 Steffen Trumtrar wrote: > Add display_timing structure and the according helper functions. This allows > the description

Re: [PATCH v7 5/8] fbmon: add videomode helpers

2012-10-31 Thread Steffen Trumtrar
Hi Prakash! On Wed, Oct 31, 2012 at 03:30:03PM +, Manjunathappa, Prakash wrote: > Hi Steffen, > > On Wed, Oct 31, 2012 at 14:58:05, Steffen Trumtrar wrote: > > Add a function to convert from the generic videomode to a fb_videomode. > > > > Signed-off-by: Steffen Trumtrar > > --- > > driver

[PATCH] staging: media: Fix minor typo in staging/media

2012-10-31 Thread Masanari Iida
Correct spelling typo in comment witin staging/media. Signed-off-by: Masanari Iida --- drivers/staging/media/as102/as10x_cmd_cfg.c | 2 +- drivers/staging/media/dt3155v4l/dt3155v4l.c | 2 +- drivers/staging/media/lirc/lirc_sasem.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) dif

RE: [PATCH v7 5/8] fbmon: add videomode helpers

2012-10-31 Thread Manjunathappa, Prakash
Hi Steffen, On Wed, Oct 31, 2012 at 14:58:05, Steffen Trumtrar wrote: > Add a function to convert from the generic videomode to a fb_videomode. > > Signed-off-by: Steffen Trumtrar > --- > drivers/video/fbmon.c | 36 > include/linux/fb.h|2 ++ > 2 f

Re: [RFC 0/5] Generic panel framework

2012-10-31 Thread Tomi Valkeinen
On 2012-10-31 15:13, Laurent Pinchart wrote: >> OMAP SoC >> >> >> So here's first the SoC specific display nodes. OMAP has a DSS (display >> subsystem) block, which contains the following elements: >> >> - DISPC (display controller) reads the pixels from memory and outputs >> them using s

Re: [PATCH v4 1/2] ARM: clk-imx27: Add missing clock for mx2-camera

2012-10-31 Thread Guennadi Liakhovetski
On Wed, 31 Oct 2012, Fabio Estevam wrote: > Hi Sascha, > > On Wed, Oct 31, 2012 at 11:16 AM, Sascha Hauer wrote: > > > Quoting yourself: > > > >> Forgot to comment: as patch 2 relies on this change, the better, IMHO, is > >> to send both via the same tree. If you decide to do so, please get arm

Re: [RFC 0/5] Generic panel framework

2012-10-31 Thread Laurent Pinchart
Hi Inki, On Saturday 20 October 2012 22:10:17 Inki Dae wrote: > Hi Laurent. sorry for being late. No worries. > 2012/8/17 Laurent Pinchart : > > Hi everybody, > > > > While working on DT bindings for the Renesas Mobile SoC display controller > > (a.k.a. LCDC) I quickly realized that display pan

Re: [PATCH v4 1/2] ARM: clk-imx27: Add missing clock for mx2-camera

2012-10-31 Thread Fabio Estevam
Hi Sascha, On Wed, Oct 31, 2012 at 11:16 AM, Sascha Hauer wrote: > Quoting yourself: > >> Forgot to comment: as patch 2 relies on this change, the better, IMHO, is >> to send both via the same tree. If you decide to do so, please get arm >> maintainer's ack, instead, and we can merge both via my

Way to request a time discontinuity in a V4L2 encoder device

2012-10-31 Thread Alain VOLMAT
Hi all, We have developed a V4L2 mem2mem driver for an H264 encoder running on an IP of one of our SoC and would like to have one more v4l2_buffer flag value for that. In the context of this driver, we discovered that the current V4L2 encode API is missing the feature to mention to the IP that

Re: [PATCH v4 1/2] ARM: clk-imx27: Add missing clock for mx2-camera

2012-10-31 Thread Sascha Hauer
Hi Mauro, On Wed, Oct 31, 2012 at 09:56:32AM -0200, Mauro Carvalho Chehab wrote: > Em Tue, 30 Oct 2012 10:03:25 -0200 > Fabio Estevam escreveu: > > > During the clock conversion for mx27 the "per4_gate" clock was missed to get > > registered as a dependency of mx2-camera driver. > > > > In the

Re: [RFC 0/5] Generic panel framework

2012-10-31 Thread Laurent Pinchart
Hi Tomi, On Wednesday 19 September 2012 14:45:29 Tomi Valkeinen wrote: > On Fri, 2012-08-17 at 02:49 +0200, Laurent Pinchart wrote: > > Hi everybody, > > > > While working on DT bindings for the Renesas Mobile SoC display controller > > (a.k.a. LCDC) I quickly realized that display panel implemen

Re: [media-workshop] Tentative Agenda for the November workshop

2012-10-31 Thread Guennadi Liakhovetski
Hi all On Mon, 22 Oct 2012, Guennadi Liakhovetski wrote: > On Mon, 22 Oct 2012, Hans Verkuil wrote: > > > Hi all, > > > > This is the tentative agenda for the media workshop on November 8, 2012. > > If you have additional things that you want to discuss, or something is > > wrong > > or incomp

Re: [PATCH 00/23] em28xx: add support fur USB bulk transfers

2012-10-31 Thread Frank Schäfer
Am 31.10.2012 12:57, schrieb Ezequiel Garcia: > On Tue, Oct 30, 2012 at 10:39 PM, Benny Amorsen > wrote: >> Frank Schäfer writes: >> >>> This patch series adds support for USB bulk transfers to the em28xx driver. >> I tried these patches on my Raspberry Pi, 3.6.1 kernel, Nanostick 290e >> >> opt

Re: [PATCH v2] media: V4L2: add temporary clock helpers

2012-10-31 Thread Guennadi Liakhovetski
Hi Laurent Thanks for the review On Wed, 31 Oct 2012, Laurent Pinchart wrote: > Hi Guennadi, > > Thanks for the patch. > > On Tuesday 30 October 2012 15:18:38 Guennadi Liakhovetski wrote: > > Typical video devices like camera sensors require an external clock source. > > Many such devices cann

Re: [PATCH 00/23] em28xx: add support fur USB bulk transfers

2012-10-31 Thread Frank Schäfer
Hi Benny, Am 31.10.2012 03:39, schrieb Benny Amorsen: > Frank Schäfer writes: > >> This patch series adds support for USB bulk transfers to the em28xx driver. > I tried these patches on my Raspberry Pi, 3.6.1 kernel, Nanostick 290e Thank you for testing ! > options em28xx prefer_bulk=1 core_deb

[GIT PULL] soc-camera + VEU for 3.8

2012-10-31 Thread Guennadi Liakhovetski
Hi Mauro Please pull driver updates for 3.8. Apart from usual soc-camera development this pull request also includes a new VEU MEM2MEM driver. The following changes since commit 016e804df1632fa99b1d96825df4c0db075ac196: media: sh_vou: fix const cropping related warnings (2012-10-31 11:35:51 +

Re: [PATCH v4 2/2] mx2_camera: Fix regression caused by clock conversion

2012-10-31 Thread Mauro Carvalho Chehab
Em Tue, 30 Oct 2012 10:03:26 -0200 Fabio Estevam escreveu: > Since mx27 transitioned to the commmon clock framework in 3.5, the correct way > to acquire the csi clock is to get csi_ahb and csi_per clocks separately. > > By not doing so the camera sensor does not probe correctly: > > soc-camera-

Re: [PATCH v4 1/2] ARM: clk-imx27: Add missing clock for mx2-camera

2012-10-31 Thread Mauro Carvalho Chehab
Em Tue, 30 Oct 2012 10:03:25 -0200 Fabio Estevam escreveu: > During the clock conversion for mx27 the "per4_gate" clock was missed to get > registered as a dependency of mx2-camera driver. > > In the old mx27 clock driver we used to have: > > DEFINE_CLOCK1(csi_clk, 0, NULL, 0, parent, &csi_clk1

Re: [PATCH 00/23] em28xx: add support fur USB bulk transfers

2012-10-31 Thread Ezequiel Garcia
On Tue, Oct 30, 2012 at 10:39 PM, Benny Amorsen wrote: > Frank Schäfer writes: > >> This patch series adds support for USB bulk transfers to the em28xx driver. > > I tried these patches on my Raspberry Pi, 3.6.1 kernel, Nanostick 290e > > options em28xx prefer_bulk=1 core_debug=1 usb_debug=1 > op

[GIT PULL] soc-camera fixes for 3.7

2012-10-31 Thread Guennadi Liakhovetski
Hi Mauro The following changes since commit 08f05c49749ee655bef921d12160960a273aad47: Return the right error value when dup[23]() newfd argument is too large (2012-10-30 21:27:28 -0700) are available in the git repository at: git://linuxtv.org/gliakhovetski/v4l-dvb.git 3.7-rc3-fixes for y

[PATCH v7 3/8] of: add generic videomode description

2012-10-31 Thread Steffen Trumtrar
Get videomode from devicetree in a format appropriate for the backend. drm_display_mode and fb_videomode are supported atm. Uses the display signal timings from of_display_timings Signed-off-by: Philipp Zabel Signed-off-by: Steffen Trumtrar --- drivers/of/Kconfig |6 ++ driver

[PATCH v7 8/8] drm_modes: add of_videomode helpers

2012-10-31 Thread Steffen Trumtrar
Add helper to get drm_display_mode from devicetree. Signed-off-by: Steffen Trumtrar --- drivers/gpu/drm/drm_modes.c | 42 ++ include/drm/drmP.h |5 + 2 files changed, 47 insertions(+) diff --git a/drivers/gpu/drm/drm_modes.c b/drivers/g

[PATCH v7 7/8] drm_modes: add videomode helpers

2012-10-31 Thread Steffen Trumtrar
Add conversion from videomode to drm_display_mode Signed-off-by: Steffen Trumtrar --- drivers/gpu/drm/drm_modes.c | 36 include/drm/drmP.h |3 +++ 2 files changed, 39 insertions(+) diff --git a/drivers/gpu/drm/drm_modes.c b/drivers/gpu/drm/drm

[PATCH v7 6/8] fbmon: add of_videomode helpers

2012-10-31 Thread Steffen Trumtrar
Add helper to get fb_videomode from devicetree. Signed-off-by: Steffen Trumtrar --- drivers/video/fbmon.c | 40 include/linux/fb.h|3 +++ 2 files changed, 43 insertions(+) diff --git a/drivers/video/fbmon.c b/drivers/video/fbmon.c index b9e6ab3

[PATCH v7 5/8] fbmon: add videomode helpers

2012-10-31 Thread Steffen Trumtrar
Add a function to convert from the generic videomode to a fb_videomode. Signed-off-by: Steffen Trumtrar --- drivers/video/fbmon.c | 36 include/linux/fb.h|2 ++ 2 files changed, 38 insertions(+) diff --git a/drivers/video/fbmon.c b/drivers/video/fb

[PATCH v7 4/8] video: add videomode helpers

2012-10-31 Thread Steffen Trumtrar
Add helper functions to convert from display timings to a generic videomode structure. This videomode can then be converted to the corresponding subsystem mode representation (e.g. fb_videomode). Signed-off-by: Steffen Trumtrar --- drivers/video/Kconfig |6 ++ drivers/video/Makefile

[PATCH v7 2/8] of: add helper to parse display timings

2012-10-31 Thread Steffen Trumtrar
Signed-off-by: Steffen Trumtrar --- .../devicetree/bindings/video/display-timings.txt | 139 +++ drivers/of/Kconfig |6 + drivers/of/Makefile|1 + drivers/of/of_display_timings.c| 185 ++

[PATCH v7 1/8] video: add display_timing struct and helpers

2012-10-31 Thread Steffen Trumtrar
Add display_timing structure and the according helper functions. This allows the description of a display via its supported timing parameters. Every timing parameter can be specified as a single value or a range . Signed-off-by: Steffen Trumtrar --- drivers/video/Kconfig |5 +++ dr

[PATCH v7 0/8] of: add display helper

2012-10-31 Thread Steffen Trumtrar
Hi! Finally, v7 of the series. Changes since v6: - get rid of some empty lines etc. - move functions to their subsystems - split of_ from non-of_ functions - add at least some kerneldoc to some functions Regards, Steffen Steffen Trumtrar (8): video: add displa

Re: [PATCH v2] media: V4L2: add temporary clock helpers

2012-10-31 Thread Laurent Pinchart
Hi Guennadi, Thanks for the patch. On Tuesday 30 October 2012 15:18:38 Guennadi Liakhovetski wrote: > 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 b