Re: [PATCH 10/10] staging: solo6x10: Avoid extern declaration by reworking module parameter

2012-07-18 Thread Ismael Luceno
On Thu, Jun 21, 2012 at 4:52 PM, Ezequiel Garcia wrote: > This patch moves video_nr module parameter to core.c > and then passes that parameter as an argument to functions > that need it. > This way we avoid the extern declaration and parameter > dependencies are better exposed. <...> NACK. The

Re: libv4l2: error dequeuing buf: Resource temporarily unavailable

2012-07-18 Thread llar...@gmx.net
In Ubuntu it works. THANK YOU! Are you sure, that they have a problem with their ffmpeg or could it be a problem with their v4l as well? I would like to investigate further. Next I gonna test with an self-compiled ffmpeg. Again: thank you very much! I am trying to get some hints since weeks in ffm

Re: [RFC/PATCH 05/13] media: s5p-fimc: Add device tree support for FIMC devices

2012-07-18 Thread Sylwester Nawrocki
On 07/18/2012 10:17 AM, Guennadi Liakhovetski wrote: > On Tue, 17 Jul 2012, Sylwester Nawrocki wrote: >> On 07/16/2012 11:13 AM, Guennadi Liakhovetski wrote: >>> On Fri, 25 May 2012, Sylwester Nawrocki wrote: >>> Signed-off-by: Sylwester Nawrocki Signed-off-by: Karol Lewandowski Sign

cron job: media_tree daily build: ERRORS

2012-07-18 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 Jul 18 19:00:17 CEST 2012 git hash:931efdf58bd83af8d0578a6cc53421675daf6d41 gcc version: i686-linux-gcc (GC

Re: [RFC/PATCH 06/13] media: s5p-fimc: Add device tree support for FIMC-LITE

2012-07-18 Thread Sylwester Nawrocki
Hi Guennadi, On 07/18/2012 09:57 AM, Guennadi Liakhovetski wrote: > On Tue, 17 Jul 2012, Sylwester Nawrocki wrote: >> On 07/16/2012 11:15 AM, Guennadi Liakhovetski wrote: --- a/Documentation/devicetree/bindings/camera/soc/samsung-fimc.txt +++ b/Documentation/devicetree/bindings/camera/so

[PATCH] cx25821: Remove bad strcpy to read-only char*

2012-07-18 Thread Ezequiel Garcia
The strcpy was being used to set the name of the board. This was both wrong and redundant, since the destination char* was read-only and the name is set statically at compile time. The type of the name field is changed to const char* to prevent future errors. Reported-by: Radek Masin Signed-off-

Re: [RFC/PATCH 12/13] media: s5p-fimc: Add device tree based sensors registration

2012-07-18 Thread Sylwester Nawrocki
On 07/16/2012 11:51 AM, Guennadi Liakhovetski wrote: [...] diff --git a/Documentation/devicetree/bindings/camera/soc/samsung-fimc.txt b/Documentation/devicetree/bindings/camera/soc/samsung-fimc.txt index b459da2..ffe09ac 100644 --- a/Documentation/devicetree/bindings/camera/soc/samsung-fimc.txt

Re: CX25821 driver in kernel 3.4.4 problem

2012-07-18 Thread Ezequiel Garcia
On Wed, Jul 18, 2012 at 11:38 AM, Radek Mašín wrote: > Hello, > with your patch driver is working properly. I see devices in /dev directory > and in dmesg > is attached output: > Great! That's good news. I'll send the patch to the list later. If you encounter any other problems, please let us kn

Re: [RFC] media DT bindings

2012-07-18 Thread Sylwester Nawrocki
Hi Guennadi, On 07/16/2012 01:41 PM, Guennadi Liakhovetski wrote: [...] >> On 07/11/2012 04:27 PM, Guennadi Liakhovetski wrote: >>> Hi all >>> >>> Background >>> == >>> >>> With ARM adoption of flat Device Trees a need arises to move platform >>> device descriptions and their data from pla

Re: [RFC/PATCH 04/13] devicetree: Add common video devices bindings documentation

2012-07-18 Thread Sylwester Nawrocki
Hi Guennadi, On 07/16/2012 11:09 AM, Guennadi Liakhovetski wrote: > On Fri, 25 May 2012, Sylwester Nawrocki wrote: > >> Signed-off-by: Sylwester Nawrocki >> Signed-off-by: Kyungmin Park >> --- >> Documentation/devicetree/bindings/video/video.txt | 10 ++ >> 1 file changed, 10 inserti

[PATCH for 3.6] v4l: DocBook: VIDIOC_CREATE_BUFS: add hyperlink

2012-07-18 Thread Nicolas THERY
Signed-off-by: Nicolas Thery --- diff --git a/Documentation/DocBook/media/v4l/vidioc-create-bufs.xml b/Documentation/DocBook/media/v4l/vidioc-create-bufs.xml index 5e73b1c..a8cda1a 100644 --- a/Documentation/DocBook/media/v4l/vidioc-create-bufs.xml +++ b/Documentation/DocBook/media/v4l/vidioc-cre

Re: [Workshop-2011] Media summit at the Kernel Summit - was: Fwd: Re: [Ksummit-2012-discuss] Organising Mini Summits within the Kernel Summit

2012-07-18 Thread Devin Heitmueller
On Wed, Jul 18, 2012 at 10:00 AM, Laurent Pinchart wrote: > Another ambiguity for your list: what should a driver return in TRY_FMT/S_FMT > if the requested format is not supported (possible behaviours include > returning the currently selected format or a default format). Whatever gets decided i

Re: [PATCH] pms.c: remove duplicated include

2012-07-18 Thread Hans Verkuil
On Wed 18 July 2012 16:41:47 Duan Jiong wrote: > > Signed-off-by: Duan Jiong Acked-by: Hans Verkuil Thanks, Hans > --- > drivers/media/video/pms.c |1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/media/video/pms.c b/drivers/media/video/pms.c > index b4c679b..77f9c

RE: [Workshop-2011] Media summit at the Kernel Summit - was: Fwd: Re: [Ksummit-2012-discuss] Organising Mini Summits within the Kernel Summit

2012-07-18 Thread Palash Bandyopadhyay
Android -palash -Original Message- From: Laurent Pinchart [mailto:laurent.pinch...@ideasonboard.com] Sent: Wednesday, July 18, 2012 4:37 AM To: Palash Bandyopadhyay Cc: workshop-2...@linuxtv.org; Linux Media Mailing List Subject: Re: [Workshop-2011] Media summit at the Kernel Summit - wa

Re: [PATCH v4] media: coda: Add driver for Coda video codec.

2012-07-18 Thread Hans Verkuil
On Wed 18 July 2012 15:10:41 Hans Verkuil wrote: > On Wed 18 July 2012 14:42:00 javier Martin wrote: > > Hi Hans, > > thank you for your review. > > > > On 18 July 2012 13:00, Hans Verkuil wrote: > > > > > > > > > Colorspace. > > > > But I don't know how to handle colorspace in this driver. V

[PATCH] pms.c: remove duplicated include

2012-07-18 Thread Duan Jiong
Signed-off-by: Duan Jiong --- drivers/media/video/pms.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/media/video/pms.c b/drivers/media/video/pms.c index b4c679b..77f9c92 100644 --- a/drivers/media/video/pms.c +++ b/drivers/media/video/pms.c @@ -30,7 +30,6 @@ #include #include

Re: CX25821 driver in kernel 3.4.4 problem

2012-07-18 Thread Radek Mašín
Hello, with your patch driver is working properly. I see devices in /dev directory and in dmesg is attached output: [5.124858] cx25821: driver version 0.0.106 loaded [5.124890] cx25821: Athena pci enable ! [5.124891] cx25821: [5.124892] *** [5.1

[PATCH] smiapp-core.c: remove duplicated include

2012-07-18 Thread Duan Jiong
Signed-off-by: Duan Jiong --- drivers/media/video/smiapp/smiapp-core.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/media/video/smiapp/smiapp-core.c b/drivers/media/video/smiapp/smiapp-core.c index 9cf5bda..297acaf 100644 --- a/drivers/media/video/smiapp/smiapp-core.c +++ b/dri

Re: [Workshop-2011] Media summit at the Kernel Summit - was: Fwd: Re: [Ksummit-2012-discuss] Organising Mini Summits within the Kernel Summit

2012-07-18 Thread Laurent Pinchart
On Tuesday 17 July 2012 21:41:18 Laurent Pinchart wrote: > Hi Hans, > > On Tuesday 17 July 2012 21:32:22 Hans Verkuil wrote: > > On Tue July 17 2012 19:30:53 Mauro Carvalho Chehab wrote: > > > As we did in 2012, we're planning to do a media summit again at KS/2012. > > > > > > The KS/2012 will ha

[PATCH v2 2/9] ov772x: Select the default format at probe time

2012-07-18 Thread Laurent Pinchart
The format and window size are only initialized during the first g_fmt call. This leaves the device in an inconsistent state after initialization, which will cause problems when implementing pad operations. Move the format and window size initialization to probe time. Signed-off-by: Laurent Pincha

[PATCH v2 4/9] ov772x: try_fmt must not default to the current format

2012-07-18 Thread Laurent Pinchart
If the requested format isn't supported, return a fixed default format instead of the current format. Signed-off-by: Laurent Pinchart --- drivers/media/video/ov772x.c | 36 +++- 1 files changed, 7 insertions(+), 29 deletions(-) diff --git a/drivers/media/video/

[PATCH v2 5/9] ov772x: Make to_ov772x convert from v4l2_subdev to ov772x_priv

2012-07-18 Thread Laurent Pinchart
Conversion from i2c_client to ov772x_priv is only needed in a single location, while conversion from v4l2_subdev to ov772x_priv is needed in several locations. Perform the former manually, and use to_ov772x for the later. Signed-off-by: Laurent Pinchart --- drivers/media/video/ov772x.c | 21 ++

[PATCH v2 8/9] ov772x: Compute window size registers at runtime

2012-07-18 Thread Laurent Pinchart
Instead of hardcoding register arrays, compute the values at runtime. Signed-off-by: Laurent Pinchart --- drivers/media/video/ov772x.c | 162 +- 1 files changed, 65 insertions(+), 97 deletions(-) diff --git a/drivers/media/video/ov772x.c b/drivers/media/

[PATCH v2 9/9] ov772x: Stop sensor readout right after reset

2012-07-18 Thread Laurent Pinchart
The sensor starts streaming video as soon as it gets powered or is reset. Disable the output in the reset function. Signed-off-by: Laurent Pinchart --- drivers/media/video/ov772x.c | 10 -- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/media/video/ov772x.c b/dr

[PATCH v2 3/9] ov772x: Don't fail in s_fmt if the requested format isn't supported

2012-07-18 Thread Laurent Pinchart
Select a default format instead. Signed-off-by: Laurent Pinchart --- drivers/media/video/ov772x.c | 83 ++ 1 files changed, 43 insertions(+), 40 deletions(-) diff --git a/drivers/media/video/ov772x.c b/drivers/media/video/ov772x.c index 3f6e4bf..c2bd087

[PATCH v2 6/9] ov772x: Add ov772x_read() and ov772x_write() functions

2012-07-18 Thread Laurent Pinchart
And use them instead of calling SMBus access functions directly. Signed-off-by: Laurent Pinchart --- drivers/media/video/ov772x.c | 38 ++ 1 files changed, 22 insertions(+), 16 deletions(-) diff --git a/drivers/media/video/ov772x.c b/drivers/media/video/ov7

[PATCH v2 7/9] ov772x: Add support for SBGGR10 format

2012-07-18 Thread Laurent Pinchart
Signed-off-by: Laurent Pinchart --- drivers/media/video/ov772x.c | 43 +++-- 1 files changed, 36 insertions(+), 7 deletions(-) diff --git a/drivers/media/video/ov772x.c b/drivers/media/video/ov772x.c index 13f4688..3874dbc 100644 --- a/drivers/media/video/ov

[PATCH v2 1/9] ov772x: Fix memory leak in probe error path

2012-07-18 Thread Laurent Pinchart
The control handler isn't freed if its initialization fails. Fix it. Signed-off-by: Laurent Pinchart --- drivers/media/video/ov772x.c |9 - 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/media/video/ov772x.c b/drivers/media/video/ov772x.c index 641f6f4..0fede5

[PATCH v2 0/9] Miscellaneous ov772x cleanups and fixes

2012-07-18 Thread Laurent Pinchart
Hi, Here's the second version of the ov772x cleanup and fixes patches. They apply on top of my previous "Miscellaneous soc-camera patches" (v3) series. Changes compared to v1: - Dropped the "Reorganize the code in sections" patch. - Use UINT_MAX instead of reinventing it (2/9) - Add OV772X_DEFAU

[PATCH v3 2/9] soc-camera: Pass the physical device to the power operation

2012-07-18 Thread Laurent Pinchart
There will be no soc_camera_device instance with a soc-camera device is used with a non soc-camera host, so we won't be able to pass the soc_camera_device fake platform device to board code. Pass the physical device instead. The argument is currently not used by any board file so this is safe. Si

[PATCH v3 8/9] soc-camera: Add and use soc_camera_power_[on|off]() helper functions

2012-07-18 Thread Laurent Pinchart
Instead of forcing all soc-camera drivers to go through the mid-layer to handle power management, create soc_camera_power_[on|off]() functions that can be called from the subdev .s_power() operation to manage regulators and platform-specific power handling. This allows non soc-camera hosts to use s

[PATCH v3 9/9] soc-camera: Push probe-time power management to drivers

2012-07-18 Thread Laurent Pinchart
Several client drivers access the hardware at probe time, for instance to read the probe chip ID. Such chips need to be powered up when being probed. soc-camera handles this by powering chips up in the soc-camera probe implementation. However, this will break with non soc-camera hosts that don't p

[PATCH v3 7/9] soc-camera: Continue the power off sequence if one of the steps fails

2012-07-18 Thread Laurent Pinchart
Powering off a device is a "best effort" task: failure to execute one of the steps should not prevent the next steps to be executed. For instance, an I2C communication error when putting the chip in stand-by mode should not prevent the more agressive next step of turning the chip's power supply off

[PATCH v3 6/9] soc_camera: Don't call .s_power() during probe

2012-07-18 Thread Laurent Pinchart
The .s_power() call only covers the .g_mbus_fmt() operation call. Several clients required to be powered on to retrieve the current mbus format but have now been fixed. The .s_power() call is thus not needed anymore and can be removed. Signed-off-by: Laurent Pinchart --- drivers/media/video/soc_

[PATCH v3 5/9] tw9910: Don't access the device in the g_mbus_fmt operation

2012-07-18 Thread Laurent Pinchart
The g_mbus_fmt operation only needs to return the current mbus frame format and doesn't need to configure the hardware to do so. Fix it to avoid requiring the chip to be powered on when calling the operation. Signed-off-by: Laurent Pinchart --- drivers/media/video/tw9910.c |8 +++- 1 fil

[PATCH v3 4/9] ov772x: Don't access the device in the g_mbus_fmt operation

2012-07-18 Thread Laurent Pinchart
The g_mbus_fmt operation only needs to return the current mbus frame format and doesn't need to configure the hardware to do so. Fix it to avoid requiring the chip to be powered on when calling the operation. Signed-off-by: Laurent Pinchart --- drivers/media/video/ov772x.c |8 ++-- 1 fil

[PATCH v3 3/9] ov2640: Don't access the device in the g_mbus_fmt operation

2012-07-18 Thread Laurent Pinchart
The g_mbus_fmt operation only needs to return the current mbus frame format and doesn't need to configure the hardware to do so. Fix it to avoid requiring the chip to be powered on when calling the operation. Signed-off-by: Laurent Pinchart --- drivers/media/video/ov2640.c |6 ++ 1 files

[PATCH v3 0/9] Miscellaneous soc-camera patches

2012-07-18 Thread Laurent Pinchart
Here's the third version of the miscellaneous soc-camera patches that try to improve the interoperability between soc-camera clients and non soc-camera hosts. As with the previous version, all patches have been compile-tested but not runtime-tested as I lack the necessary hardware. Changes compar

[PATCH v3 1/9] soc-camera: Don't fail at module init time if no device is present

2012-07-18 Thread Laurent Pinchart
The soc-camera module exports functions that are needed by soc-camera client drivers even when not running in soc-camera mode. Replace the platform_driver_probe() with a platform_driver_register() call to avoid module load failures if no soc-camera device is present. Signed-off-by: Laurent Pinchar

Re: CX25821 driver in kernel 3.4.4 problem

2012-07-18 Thread Ezequiel Garcia
On Wed, Jul 18, 2012 at 10:45 AM, Radek Mašín wrote: > Hello, > I can test it without problems. Please send me a patch. > I already did :-) Please checkout my previous mail. Thanks, Ezequiel. -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to ma

Re: CX25821 driver in kernel 3.4.4 problem

2012-07-18 Thread Radek Mašín
Hello, I can test it without problems. Please send me a patch. Regards Radek Masin ra...@masin.eu Dne St, 07/18/2012 03:14 odp., Ezequiel Garcia napsal(a): > Hi Radek, > > On Wed, Jul 18, 2012 at 9:52 AM, Radek Mašín wrote: > >Hello, > > I have upgraded my testing system with cx25821 base

[PATCH] Fix VIDIOC_TRY_EXT_CTRLS regression

2012-07-18 Thread Hans Verkuil
Hi all, This patch fixes an omission in the new v4l2_ioctls table: VIDIOC_TRY_EXT_CTRLS must get the INFO_FL_CTRL flag, just like all the other control related ioctls. Otherwise the ioctl core won't know it also has to check whether v4l2_fh->ctrl_handler is non-zero before it can decide that thi

Re: CX25821 driver in kernel 3.4.4 problem

2012-07-18 Thread Ezequiel Garcia
Radek, On Wed, Jul 18, 2012 at 10:14 AM, Ezequiel Garcia wrote: > Hi Radek, > I think the attached patch will solve this issue. Please test and tell me if it did, Ezequiel. 0001-cx25821-Remove-bad-strcpy-to-read-only-char.patch Description: Binary data

Re: CX25821 driver in kernel 3.4.4 problem

2012-07-18 Thread Ezequiel Garcia
Hi Radek, On Wed, Jul 18, 2012 at 9:52 AM, Radek Mašín wrote: >Hello, > I have upgraded my testing system with cx25821 based video capture card to > system (OpenSuSE 12.1) > with kernel 3.4.4 and driver for cx25821 doesn't work. Previous system was > with kernel 2.6.37 (OpenSuSE 11.4) > wit

Re: [PATCH v4] media: coda: Add driver for Coda video codec.

2012-07-18 Thread Hans Verkuil
On Wed 18 July 2012 14:42:00 javier Martin wrote: > Hi Hans, > thank you for your review. > > On 18 July 2012 13:00, Hans Verkuil wrote: > > > > Colorspace. > > But I don't know how to handle colorspace in this driver. Video > encoder from samsung > (http://lxr.linux.no/#linux+v3.4.5/drivers/

CX25821 driver in kernel 3.4.4 problem

2012-07-18 Thread Radek Mašín
Hello, I have upgraded my testing system with cx25821 based video capture card to system (OpenSuSE 12.1) with kernel 3.4.4 and driver for cx25821 doesn't work. Previous system was with kernel 2.6.37 (OpenSuSE 11.4) with this patch http://patchwork.linuxtv.org/patch/10056/ and manualy compiled

Re: [PATCH v4] media: coda: Add driver for Coda video codec.

2012-07-18 Thread javier Martin
Hi Hans, thank you for your review. On 18 July 2012 13:00, Hans Verkuil wrote: > Hi Javier! > > On Wed 18 July 2012 12:21:35 Javier Martin wrote: >> Coda is a range of video codecs from Chips&Media that >> support H.264, H.263, MPEG4 and other video standards. >> >> Currently only support for the

Re: [PATCH v3] media: coda: Add driver for Coda video codec.

2012-07-18 Thread javier Martin
On 18 July 2012 14:12, Philipp Zabel wrote: > Am Mittwoch, den 18.07.2012, 11:26 +0200 schrieb javier Martin: >> On 18 July 2012 11:22, Philipp Zabel wrote: >> > Hi Javier, >> > >> > Am Mittwoch, den 18.07.2012, 11:01 +0200 schrieb javier Martin: >> >> On 18 July 2012 10:35, Philipp Zabel wrote:

Re: [PATCH v3] media: coda: Add driver for Coda video codec.

2012-07-18 Thread Philipp Zabel
Am Mittwoch, den 18.07.2012, 11:26 +0200 schrieb javier Martin: > On 18 July 2012 11:22, Philipp Zabel wrote: > > Hi Javier, > > > > Am Mittwoch, den 18.07.2012, 11:01 +0200 schrieb javier Martin: > >> On 18 July 2012 10:35, Philipp Zabel wrote: > >> > Hi Javier, > >> > > >> > Am Mittwoch, den 18

Re: [Workshop-2011] Media summit at the Kernel Summit - was: Fwd: Re: [Ksummit-2012-discuss] Organising Mini Summits within the Kernel Summit

2012-07-18 Thread Laurent Pinchart
Hi Guennadi, On Wednesday 18 July 2012 10:30:28 Guennadi Liakhovetski wrote: > On Wed, 18 Jul 2012, Laurent Pinchart wrote: > > On Tuesday 17 July 2012 21:51:02 Guennadi Liakhovetski wrote: > > > On Tue, 17 Jul 2012, Mauro Carvalho Chehab wrote: > > > > As we did in 2012, we're planning to do a me

Re: [Workshop-2011] Media summit at the Kernel Summit - was: Fwd: Re: [Ksummit-2012-discuss] Organising Mini Summits within the Kernel Summit

2012-07-18 Thread Laurent Pinchart
Hi Palash, On Tuesday 17 July 2012 15:57:18 Palash Bandyopadhyay wrote: > Count me in when we have this discussion as this is something we too are > working on. Which one, the media controller library, or Android ? > On Tuesday, July 17, 2012 3:47 PM Laurent Pinchart wrote: > > On Tuesday 17 Jul

Re: [PATCH v4 1/2] media: add new mediabus format enums for dm365

2012-07-18 Thread Laurent Pinchart
Hi Manjunath, On Tuesday 17 July 2012 12:22:42 Hadli, Manjunath wrote: > On Tue, Jul 17, 2012 at 17:25:42, Laurent Pinchart wrote: > > On Tuesday 17 July 2012 11:41:11 Hadli, Manjunath wrote: > > > On Tue, Jul 17, 2012 at 16:26:24, Laurent Pinchart wrote: > > > > On Friday 30 March 2012 10:09:13 H

Problems with Asus My Cinema-U3000Hybrid tuner

2012-07-18 Thread H. Cristiano Alves Machado
Hello. I have an Asus My Cinema-U3000Hybrid tuner connected in Bus 002 Device 003: ID 0b05:1736 ASUSTek Computer, Inc. The modules associated with this device in the current linux kernel are: Module Used by rc_dib0700_rc5 12508 0 tuner_xc2028 31235 1 dvb_usb_dib0700 149125 0 dib0090 39179 1 dvb

Re: [PATCH v3] media: coda: Add driver for Coda video codec.

2012-07-18 Thread javier Martin
On 18 July 2012 11:22, Philipp Zabel wrote: > Hi Javier, > > Am Mittwoch, den 18.07.2012, 11:01 +0200 schrieb javier Martin: >> On 18 July 2012 10:35, Philipp Zabel wrote: >> > Hi Javier, >> > >> > Am Mittwoch, den 18.07.2012, 09:12 +0200 schrieb javier Martin: >> > [...] >> >> > I see there is a

Re: [PATCH v3] media: coda: Add driver for Coda video codec.

2012-07-18 Thread Philipp Zabel
Hi Javier, Am Mittwoch, den 18.07.2012, 11:01 +0200 schrieb javier Martin: > On 18 July 2012 10:35, Philipp Zabel wrote: > > Hi Javier, > > > > Am Mittwoch, den 18.07.2012, 09:12 +0200 schrieb javier Martin: > > [...] > >> > I see there is a comment about the expected register setting not working

Re: [RFC/PATCH 09/13] media: s5k6aa: Add support for device tree based instantiation

2012-07-18 Thread Sylwester Nawrocki
Hi Guennadi, On 07/16/2012 11:42 AM, Guennadi Liakhovetski wrote: > On Fri, 25 May 2012, Sylwester Nawrocki wrote: > >> The driver initializes all board related properties except the s_power() >> callback to board code. The platforms that require this callback are not >> supported by this driver

[RFCv2 PATCH 5/7] v4l2-common: add CVT and GTF detection functions.

2012-07-18 Thread Hans Verkuil
These two helper functions detect whether the analog video timings detected by the video receiver match the VESA CVT or GTF standards. They basically do the inverse of the CVT and GTF modeline calculations. This patch also adds a helper function that will determine the aspect ratio based on the p

[RFCv2 PATCH 7/7] ad9389b: driver for the Analog Devices AD9389B video encoder.

2012-07-18 Thread Hans Verkuil
Initial version of this driver. The full datasheets are available from the Analog Devices website: http://ez.analog.com/docs/DOC-1741 Not all features of the receiver are supported by this driver for various reasons. Most notably: - No CEC support (the CEC API needs a lot more discussion) - N

[RFCv2 PATCH 4/7] v4l2-ctrls.c: add support for the new DV controls.

2012-07-18 Thread Hans Verkuil
Signed-off-by: Hans Verkuil --- drivers/media/video/v4l2-ctrls.c | 39 ++ 1 file changed, 39 insertions(+) diff --git a/drivers/media/video/v4l2-ctrls.c b/drivers/media/video/v4l2-ctrls.c index 9abd9ab..a664795 100644 --- a/drivers/media/video/v4l2-ctrls.c +

[RFCv2 PATCH 2/7] V4L2 spec: document the new DV controls and ioctls.

2012-07-18 Thread Hans Verkuil
Signed-off-by: Hans Verkuil --- Documentation/DocBook/media/v4l/controls.xml | 149 +++ Documentation/DocBook/media/v4l/v4l2.xml |1 + .../DocBook/media/v4l/vidioc-subdev-g-edid.xml | 152 3 files changed, 302 insertions(+) create mo

[RFCv2 PATCH 0/7] Add adv7604/ad9389b drivers

2012-07-18 Thread Hans Verkuil
Hi all, This is the second version of this patch series. The only changes since the first version are in the adv7604 and ad9389b drivers themselves: - adv7604: fixed some incorrect error codes (-1 instead of -EIO) - ad9389b+adv7604: fixed incorrect v4l2_ctrl_new_std_menu arguments. - ad9389b+adv

[RFCv2 PATCH 1/7] v4l2 core: add the missing pieces to support DVI/HDMI/DisplayPort.

2012-07-18 Thread Hans Verkuil
These new controls and two new ioctls make it possible to properly support VGA, DVI-A/D/I, HDMI and DisplayPort connectors. All these controls and the ioctls are all at the sub-device level. They are meant for V4L2 bridge/platform drivers or to be accessed on embedded systems through /dev/v4l-subde

[RFCv2 PATCH 3/7] v4l2-subdev: add support for the new edid ioctls.

2012-07-18 Thread Hans Verkuil
Signed-off-by: Hans Verkuil --- drivers/media/video/v4l2-ioctl.c | 13 + drivers/media/video/v4l2-subdev.c |6 ++ include/media/v4l2-subdev.h |2 ++ 3 files changed, 21 insertions(+) diff --git a/drivers/media/video/v4l2-ioctl.c b/drivers/media/video/v4l2-ioctl.c

Re: [PATCH v3] media: coda: Add driver for Coda video codec.

2012-07-18 Thread javier Martin
On 18 July 2012 10:35, Philipp Zabel wrote: > Hi Javier, > > Am Mittwoch, den 18.07.2012, 09:12 +0200 schrieb javier Martin: > [...] >> > I see there is a comment about the expected register setting not working >> > for CODA_REG_BIT_STREAM_CTRL in start_streaming(). Could this be >> > related? >>

Re: [PATCH v3] media: coda: Add driver for Coda video codec.

2012-07-18 Thread Philipp Zabel
Hi Javier, Am Mittwoch, den 18.07.2012, 09:12 +0200 schrieb javier Martin: [...] > > I see there is a comment about the expected register setting not working > > for CODA_REG_BIT_STREAM_CTRL in start_streaming(). Could this be > > related? > > I don't think so. This means that the following line:

Re: [Workshop-2011] Media summit at the Kernel Summit - was: Fwd: Re: [Ksummit-2012-discuss] Organising Mini Summits within the Kernel Summit

2012-07-18 Thread Guennadi Liakhovetski
Hi Laurent On Wed, 18 Jul 2012, Laurent Pinchart wrote: > Hi Guennadi, > > On Tuesday 17 July 2012 21:51:02 Guennadi Liakhovetski wrote: > > On Tue, 17 Jul 2012, Mauro Carvalho Chehab wrote: > > > As we did in 2012, we're planning to do a media summit again at KS/2012. > > > > > > The KS/2012 w

[PATCH for 3.5] v4l2-dev: forgot to add VIDIOC_DV_TIMINGS_CAP.

2012-07-18 Thread Hans Verkuil
Hi Linus, I'm sending the attached one-liner patch directly to you for inclusion in 3.5 as without it the new VIDIOC_DV_TIMINGS_CAP ioctl doesn't work. The cause was that for 3.5 two patch series were merged, one changing V4L2 core ioctl handling and one adding new functionality, and some of the n

Re: [RFC/PATCH 05/13] media: s5p-fimc: Add device tree support for FIMC devices

2012-07-18 Thread Guennadi Liakhovetski
On Tue, 17 Jul 2012, Sylwester Nawrocki wrote: > On 07/16/2012 11:13 AM, Guennadi Liakhovetski wrote: > > On Fri, 25 May 2012, Sylwester Nawrocki wrote: > > > >> Signed-off-by: Sylwester Nawrocki > >> Signed-off-by: Karol Lewandowski > >> Signed-off-by: Kyungmin Park > > > > From the documentat

Re: [RFC/PATCH 06/13] media: s5p-fimc: Add device tree support for FIMC-LITE

2012-07-18 Thread Guennadi Liakhovetski
Hi Sylwester On Tue, 17 Jul 2012, Sylwester Nawrocki wrote: > On 07/16/2012 11:15 AM, Guennadi Liakhovetski wrote: > > > --- a/Documentation/devicetree/bindings/camera/soc/samsung-fimc.txt > > > +++ b/Documentation/devicetree/bindings/camera/soc/samsung-fimc.txt > > > @@ -39,6 +39,21 @@ Required

Re: [PATCH v3] media: coda: Add driver for Coda video codec.

2012-07-18 Thread javier Martin
Hi Pilipp, On 16 July 2012 19:21, Philipp Zabel wrote: > Hi Javier, > > I'm trying to use this driver (on i.MX53) with GStreamer, with two > buffers on the encoded bitstream side. I'm getting negative bytesused > values calculated in coda_isr(). > > The CODA_REG_BIT_WR_PTR address, which is initi