[PATCH v2] media: adv7343: accept configuration through platform data

2013-01-21 Thread Prabhakar Lad
From: Lad, Prabhakar The current code was implemented with some default configurations, this default configuration works on board and doesn't work on other. This patch accepts the configuration through platform data and configures the encoder depending on the data passed. Signed-off-by: Lad, Pr

[PATCH 1/1] [media] s5p-mfc: Use WARN_ON(condition) directly

2013-01-21 Thread Sachin Kamat
Use WARN_ON(condition) directly instead of wrapping around an if condition. Signed-off-by: Sachin Kamat --- drivers/media/platform/s5p-mfc/s5p_mfc.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc.c b/drivers/media/platform/s5p-m

Re: [PATCH 09/15] media: coda: don't build on multiplatform

2013-01-21 Thread Shawn Guo
On Mon, Jan 21, 2013 at 05:16:02PM +, Arnd Bergmann wrote: > The coda video codec driver depends on a mach-imx or mach-mxs specific > header file "mach/iram.h". This is not available when building for > multiplatform, so let us disable this driver for v3.8 when building > multiplatform, and hop

Re: [PATCH 0/2] OMAP3 ISP: Simplify clock usage

2013-01-21 Thread Paul Walmsley
On Mon, 21 Jan 2013, Laurent Pinchart wrote: > OK. The omap3isp patch can go through Paul's tree as well, it won't conflict > with other changes to the driver in this merge window. > > Paul, can you take both patches together ? If so I'll send you a pull request. Yes I'll take them, as long as

Re: [PATCH 01/24] use IS_ENABLED() macro

2013-01-21 Thread Jonathan Nieder
Hans de Goede wrote: > Thanks for the patches I'll pick up 5 - 21 and add them to > my tree for Mauro. Ack on patch 1, BTW. Thanks, Jonathan -- 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 htt

cron job: media_tree daily build: ERRORS

2013-01-21 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:Mon Jan 21 19:00:16 CET 2013 git hash:3151d14aa6e983aa36d51a80d0477859f9ba12af gcc version: i686-linux-gcc (GCC

Re: V4L2 spec / core questions

2013-01-21 Thread Hans Verkuil
On Mon January 21 2013 22:25:37 Frank Schäfer wrote: > Hi Hans, > > Am 21.01.2013 09:59, schrieb Hans Verkuil: > > On Sun January 20 2013 22:15:51 Frank Schäfer wrote: > >> Hi Hans, > >> > >> I noticed that there's code in the v4l2 core that enables/disables > >> ioctls and checks some of the para

Re: Patchwork / Bugzilla update

2013-01-21 Thread Frank Schäfer
Am 21.01.2013 14:51, schrieb Mauro Carvalho Chehab: ,,, >> The following kernel bugs can be closed as "resolved - fixed": >> - bug 26572 "rmmod em28xx or unplugging em28xx tv adapter problem" >> => resolved with commit 05fe2175cf87da8a5475aed422bd636475ab0412 >> "em28xx: refactor the code in em28

Re: V4L2 spec / core questions

2013-01-21 Thread Frank Schäfer
Hi Hans, Am 21.01.2013 09:59, schrieb Hans Verkuil: > On Sun January 20 2013 22:15:51 Frank Schäfer wrote: >> Hi Hans, >> >> I noticed that there's code in the v4l2 core that enables/disables >> ioctls and checks some of the parameters depending on the device type. >> While reading the code an com

Re: dvb-usb-it913x dissapeared kernel 3.7.2

2013-01-21 Thread Mauro Carvalho Chehab
Em Mon, 21 Jan 2013 15:47:49 + Mike Martin escreveu: > After updating the kernel on Fedora 18 module dvb-usb-it913x seems to > have dissapeared. > > This has meant my dvb stick ( ID 1b80:e409 Afatech IT9137FN Dual DVB-T > [KWorld UB499-2T]) no longer works > > Is this a Redhat only thing or

Re: [PATCH 0/2] OMAP3 ISP: Simplify clock usage

2013-01-21 Thread Mike Turquette
Quoting Laurent Pinchart (2013-01-21 10:54:38) > Hi Tony, > > On Monday 21 January 2013 09:18:12 Tony Lindgren wrote: > > * Laurent Pinchart [130121 05:37]: > > > On Monday 14 January 2013 17:10:15 Mike Turquette wrote: > > > > Quoting Laurent Pinchart (2013-01-08 05:43:52) > > > > > > > > > Hel

Re: [PATCH 0/2] OMAP3 ISP: Simplify clock usage

2013-01-21 Thread Laurent Pinchart
Hi Tony, On Monday 21 January 2013 09:18:12 Tony Lindgren wrote: > * Laurent Pinchart [130121 05:37]: > > On Monday 14 January 2013 17:10:15 Mike Turquette wrote: > > > Quoting Laurent Pinchart (2013-01-08 05:43:52) > > > > > > > Hello, > > > > > > > > Now that the OMAP3 supports the common clo

Re: [PATCH 1/4] tda8290: Allow disabling I2C gate

2013-01-21 Thread Ondrej Zary
On Monday 21 January 2013 10:06:01 Antti Palosaari wrote: > On 01/21/2013 10:18 AM, Ondrej Zary wrote: > > On Monday 21 January 2013, Antti Palosaari wrote: > >> On 01/20/2013 11:22 PM, Ondrej Zary wrote: > >>> Allow disabling I2C gate handling by external configuration. > >>> This is required by c

[PATCH 09/15] media: coda: don't build on multiplatform

2013-01-21 Thread Arnd Bergmann
The coda video codec driver depends on a mach-imx or mach-mxs specific header file "mach/iram.h". This is not available when building for multiplatform, so let us disable this driver for v3.8 when building multiplatform, and hopefully find a proper fix for v3.9. drivers/media/platform/coda.c:27:23

Re: [PATCH 0/2] OMAP3 ISP: Simplify clock usage

2013-01-21 Thread Tony Lindgren
* Laurent Pinchart [130121 05:37]: > Hi Mike, > > On Monday 14 January 2013 17:10:15 Mike Turquette wrote: > > Quoting Laurent Pinchart (2013-01-08 05:43:52) > > > > > Hello, > > > > > > Now that the OMAP3 supports the common clock framework, clock rate > > > back-propagation is available for t

[PATCH 00/15] ARM build regressions in v3.8

2013-01-21 Thread Arnd Bergmann
I know this comes late, but we have a number of broken configurations in ARM in v3.8 that were still building in v3.7, and I'd like to get them all fixed in the final 3.8 release. It would be nice if the respective maintainers could have a look at these patches and apply them directly when they ar

dvb-usb-it913x dissapeared kernel 3.7.2

2013-01-21 Thread Mike Martin
After updating the kernel on Fedora 18 module dvb-usb-it913x seems to have dissapeared. This has meant my dvb stick ( ID 1b80:e409 Afatech IT9137FN Dual DVB-T [KWorld UB499-2T]) no longer works Is this a Redhat only thing or is it upstream -- To unsubscribe from this list: send the line "unsubscr

RE: [PATCH 3/3] v4l: Set proper timestamp type in selected drivers which use videobuf2

2013-01-21 Thread Kamil Debski
Hi, > From: Sakari Ailus [mailto:sakari.ai...@iki.fi] > Sent: Saturday, January 19, 2013 6:43 PM > Hi Kamil, > > Thanks for the patch. > > On Mon, Jan 14, 2013 at 10:36:04AM +0100, Kamil Debski wrote: > > Set proper timestamp type in drivers that I am sure that use either > > MONOTONIC or COPY t

Re: Patchwork / Bugzilla update

2013-01-21 Thread Mauro Carvalho Chehab
Em Sun, 20 Jan 2013 14:07:07 +0100 Frank Schäfer escreveu: > Hi Mauro, > > the patches 16225, 16231, 16232 at patchwork are superseeded: > > pwclient update -s 'superseded' 16225 > pwclient update -s 'superseded' 16231 > pwclient update -s 'superseded' 16232 Updated. > The following kernel bu

Re: [PATCH 0/2] OMAP3 ISP: Simplify clock usage

2013-01-21 Thread Laurent Pinchart
Hi Mike, On Monday 14 January 2013 17:10:15 Mike Turquette wrote: > Quoting Laurent Pinchart (2013-01-08 05:43:52) > > > Hello, > > > > Now that the OMAP3 supports the common clock framework, clock rate > > back-propagation is available for the ISP clocks. Instead of setting the > > cam_mclk par

Re: [PATCH 01/24] use IS_ENABLED() macro

2013-01-21 Thread Peter Senna Tschudin
On Mon, Jan 21, 2013 at 10:47 AM, Hans de Goede wrote: > Hi, > > Thanks for the patches I'll pick up 5 - 21 and add them to > my tree for Mauro. I have sent V2 of this patches with another subject and with fixed commit message for two patches. > > Regards, > > Hans > > > > On 01/19/2013 05:33 PM,

Re: [PATCH 01/24] use IS_ENABLED() macro

2013-01-21 Thread Hans de Goede
Hi, Thanks for the patches I'll pick up 5 - 21 and add them to my tree for Mauro. Regards, Hans On 01/19/2013 05:33 PM, Peter Senna Tschudin wrote: replace: #if defined(CONFIG_VIDEO_CX88_DVB) || \ defined(CONFIG_VIDEO_CX88_DVB_MODULE) with: #if IS_ENABLED(CONFIG_VIDEO_CX88_DVB) Th

Re: [PATCH RFC v3 02/15] [media] Add a V4L2 OF parser

2013-01-21 Thread Hans Verkuil
Hi Sylwester, Just two comments... On Thu January 3 2013 18:09:22 Sylwester Nawrocki wrote: > From: Guennadi Liakhovetski > > Add a V4L2 OF parser, implementing bindings documented in > Documentation/devicetree/bindings/media/video-interfaces.txt. > > Signed-off-by: Guennadi Liakhovetski > Si

[Q] Querying Y/Gb Average Level in a sensor.

2013-01-21 Thread javier Martin
Hi, ov7670 and ov7675 sensors have the possibility of querying the average value of the Y/Cb components of the image reading a register. This could be useful for applications such as calise [1]. This program grabs frames from a video camera, calculates the average brightness and then adjusts screen

Re: RFC: add parameters to V4L controls

2013-01-21 Thread Laurent Pinchart
Hi Andrzej, On Tuesday 15 January 2013 15:34:47 Andrzej Hajda wrote: > On 12.01.2013 23:05, Sakari Ailus wrote: > > Andrzej Hajda wrote: > >> Hi, > >> > >> I have included this proposition already in the post "[PATCH RFC 0/2] > >> V4L: Add auto focus area control and selection" but it left unansw

[GIT PULL FOR v3.9] uvcvideo fixes

2013-01-21 Thread Laurent Pinchart
Hi Mauro, The following changes since commit 3151d14aa6e983aa36d51a80d0477859f9ba12af: [media] media: remove __dev* annotations (2013-01-11 13:03:24 -0200) are available in the git repository at: git://linuxtv.org/pinchartl/uvcvideo.git uvcvideo-next Ezequiel Garcia (1): uvcvideo: Rep

[PATCH v16 RESEND 7/7] drm_modes: add of_videomode helpers

2013-01-21 Thread Steffen Trumtrar
Add helper to get drm_display_mode from devicetree. Signed-off-by: Steffen Trumtrar Reviewed-by: Thierry Reding Acked-by: Thierry Reding Tested-by: Thierry Reding Tested-by: Philipp Zabel Reviewed-by: Laurent Pinchart Acked-by: Laurent Pinchart Tested-by: Afzal Mohammed --- drivers/gpu/dr

[PATCH v16 RESEND 2/7] video: add display_timing and videomode

2013-01-21 Thread Steffen Trumtrar
Add display_timing structure and the according helper functions. This allows the description of a display via its supported timing parameters. Also, add helper functions to convert from display timings to a generic videomode structure. The struct display_timing specifies all needed parameters to

[PATCH v16 RESEND 1/7] viafb: rename display_timing to via_display_timing

2013-01-21 Thread Steffen Trumtrar
The struct display_timing is specific to the via subsystem. The naming leads to collisions with the new struct display_timing, which is supposed to be a shared struct between different subsystems. To clean this up, prepend the existing struct with the subsystem it is specific to. Signed-off-by: St

[PATCH v16 RESEND 0/7] of: add display helper

2013-01-21 Thread Steffen Trumtrar
Hi! There was still no maintainer, that commented, ack'd, nack'd, apply'd the series. So, this is just a resend. The patches were tested with: - v15 on Tegra by Thierry - sh-mobile-lcdcfb by Laurent - MX53QSB by Marek - Exynos: smdk5250 by Leela - AM335X EV

[PATCH v16 RESEND 3/7] video: add of helper for display timings/videomode

2013-01-21 Thread Steffen Trumtrar
This adds support for reading display timings from DT into a struct display_timings. The of_display_timing implementation supports multiple subnodes. All children are read into an array, that can be queried. If no native mode is specified, the first subnode will be used. For cases where the graph

[PATCH v16 RESEND 4/7] fbmon: add videomode helpers

2013-01-21 Thread Steffen Trumtrar
Add a function to convert from the generic videomode to a fb_videomode. Signed-off-by: Steffen Trumtrar Reviewed-by: Thierry Reding Acked-by: Thierry Reding Tested-by: Thierry Reding Tested-by: Philipp Zabel Reviewed-by: Laurent Pinchart Acked-by: Laurent Pinchart Tested-by: Afzal Mohammed

[PATCH v16 RESEND 5/7] fbmon: add of_videomode helpers

2013-01-21 Thread Steffen Trumtrar
Add helper to get fb_videomode from devicetree. Signed-off-by: Steffen Trumtrar Reviewed-by: Thierry Reding Acked-by: Thierry Reding Tested-by: Thierry Reding Tested-by: Philipp Zabel Reviewed-by: Laurent Pinchart Acked-by: Laurent Pinchart Tested-by: Afzal Mohammed --- drivers/video/fbmo

[PATCH v16 RESEND 6/7] drm_modes: add videomode helpers

2013-01-21 Thread Steffen Trumtrar
Add conversion from videomode to drm_display_mode Signed-off-by: Steffen Trumtrar Reviewed-by: Thierry Reding Acked-by: Thierry Reding Tested-by: Thierry Reding Tested-by: Philipp Zabel Reviewed-by: Laurent Pinchart Acked-by: Laurent Pinchart Tested-by: Afzal Mohammed --- drivers/gpu/drm/

[PATCH] uvcvideo: Implement videobuf2 .wait_prepare and .wait_finish operations

2013-01-21 Thread Laurent Pinchart
Those optional operations are used to release and reacquire the queue lock when videobuf2 needs to perform operations that sleep for a long time, such as waiting for a buffer to be complete. Implement them to avoid blocking qbuf or streamoff calls when a dqbuf is in progress. Signed-off-by: Lauren

Re: [PATCH RFC v3 01/15] [media] Add common video interfaces OF bindings documentation

2013-01-21 Thread Hans Verkuil
On Thu January 3 2013 18:03:49 Sylwester Nawrocki wrote: > From: Guennadi Liakhovetski > > This patch adds a document describing common OF bindings for video > capture, output and video processing devices. It is curently mainly > focused on video capture devices, with data busses defined by > sta

Re: [PATCH] media: adv7343: accept configuration through platform data

2013-01-21 Thread Prabhakar Lad
Hi Hans, Thanks for the review! On Mon, Jan 21, 2013 at 3:31 PM, Hans Verkuil wrote: > On Tue January 15 2013 09:00:53 Lad, Prabhakar wrote: >> The current code was implemented with some default configurations, >> this default configuration works on board and doesn't work on other. >> >> This pa

Re: [PATCH] omap3isp: Fix histogram regions

2013-01-21 Thread Laurent Pinchart
Hi Johannes, On Friday 11 January 2013 16:00:19 Johannes Schellen wrote: > From: Johannes Schellen > > This patch fixes a bug which causes all histogram regions to start in the > top left corner of the image. The histogram region coordinates are 16 bit > values which share a 32 bit register. The

[PATCH 14/33] media: Convert to devm_ioremap_resource()

2013-01-21 Thread Thierry Reding
Convert all uses of devm_request_and_ioremap() to the newly introduced devm_ioremap_resource() which provides more consistent error handling. devm_ioremap_resource() provides its own error messages so all explicit error messages can be removed from the failure code paths. Signed-off-by: Thierry R

Re: [PATCH] omap3isp: Add support for interlaced input data

2013-01-21 Thread Laurent Pinchart
Hi William, On Monday 14 January 2013 14:21:29 William Swanson wrote: > On 01/09/2013 02:35 PM, Laurent Pinchart wrote: > > On Tuesday 08 January 2013 14:49:41 William Swanson wrote: > >> I believe the data is combined in a single buffer, with alternate fields > >> interleaved. > > > > Could you

Re: [PATCH v2] uvc: Replace memcpy with struct assignment

2013-01-21 Thread Laurent Pinchart
Hi, On Monday 14 January 2013 15:22:55 Ezequiel Garcia wrote: > This kind of memcpy() is error-prone. Its replacement with a struct > assignment is prefered because it's type-safe and much easier to read. > > Cc: Laurent Pinchart > Signed-off-by: Peter Senna Tschudin > Signed-off-by: Ezequiel G

Re: [PATCH] media: adv7343: accept configuration through platform data

2013-01-21 Thread Hans Verkuil
On Tue January 15 2013 09:00:53 Lad, Prabhakar wrote: > The current code was implemented with some default configurations, > this default configuration works on board and doesn't work on other. > > This patch accepts the configuration through platform data and configures > the encoder depending on

Re: [PATCH] media: tvp514x: remove field description

2013-01-21 Thread Hans Verkuil
On Tue January 15 2013 08:55:40 Lad, Prabhakar wrote: > This patch removes the field description of fields that no > longer exists, along side aligns the field description of > fields. > > Signed-off-by: Lad, Prabhakar Acked-by: Hans Verkuil Regards, Hans > --- > include/media/tvp51

Re: [cx231xx] Support for Arm / Omap working at all?

2013-01-21 Thread Hans Verkuil
On Thu January 17 2013 08:31:50 Jan Stumpf wrote: > Hi! > > I'm trying to get an Hauppauge Live Usb 2 video grabber to run on on Omap4 > (Gumstix Duovero). I'm using Sakomans omap-3.6 head kernel sources from > http://git.sakoman.com/git/gitweb.cgi?p=linux.git;a=summary . The hardware is > succ

Re: [PATCH] noon010p30: Remove unneeded v4l2 control compatibility ops

2013-01-21 Thread Hans Verkuil
On Sat January 19 2013 22:38:13 Sylwester Nawrocki wrote: > All host drivers using this subdev driver are already converted > to use the control framework so the compatibility ops can be dropped. > > Signed-off-by: Sylwester Nawrocki Acked-by: Hans Verkuil Regards, Hans > --- > driv

Re: [PATCH V2 24/24] v4l2-core/v4l2-common.c: use IS_ENABLED() macro

2013-01-21 Thread Hans Verkuil
On Sun January 20 2013 00:41:31 Peter Senna Tschudin wrote: > replace: > #if defined(CONFIG_MEDIA_TUNER_TEA5761) || \ > defined(CONFIG_MEDIA_TUNER_TEA5761_MODULE) > with: > #if IS_ENABLED(CONFIG_MEDIA_TUNER_TEA5761) > > This change was made for: CONFIG_MEDIA_TUNER_TEA5761 > > Also replaced

Re: [PATCH 3/3] V4L: Add driver for OV9650/52 image sensors

2013-01-21 Thread Hans Verkuil
On Sat January 19 2013 22:27:22 Sylwester Nawrocki wrote: > This patch adds V4L2 sub-device driver for OV9650/OV9652 image sensors. > > The driver exposes following V4L2 controls: > - auto/manual exposure, > - auto/manual white balance, > - auto/manual gain, > - brightness, saturation, sharpness,

Re: [PATCH 1/4] tda8290: Allow disabling I2C gate

2013-01-21 Thread Antti Palosaari
On 01/21/2013 10:18 AM, Ondrej Zary wrote: On Monday 21 January 2013, Antti Palosaari wrote: On 01/20/2013 11:22 PM, Ondrej Zary wrote: Allow disabling I2C gate handling by external configuration. This is required by cards that have all devices on a single I2C bus, like AverMedia A706. My per

Re: [PATCH 1/3] [media] Add header file defining standard image sizes

2013-01-21 Thread Hans Verkuil
On Sat January 19 2013 22:27:20 Sylwester Nawrocki wrote: > Add common header file defining standard image sizes, so we can > avoid redefining those in each driver. > > Signed-off-by: Sylwester Nawrocki > --- > include/media/image-sizes.h | 34 ++ Since this is

Re: V4L2 spec / core questions

2013-01-21 Thread Hans Verkuil
On Sun January 20 2013 22:15:51 Frank Schäfer wrote: > Hi Hans, > > I noticed that there's code in the v4l2 core that enables/disables > ioctls and checks some of the parameters depending on the device type. > While reading the code an comparing it to the V4L2 API document, some > more questions c

Re: [PATCH 2/3] v4l2-ctrl: Add helper function for control range update

2013-01-21 Thread Hans Verkuil
Hi Sylwester! On Sat January 19 2013 22:27:21 Sylwester Nawrocki wrote: > This patch adds a helper function that allows to modify range, > i.e. minimum, maximum, step and default value of a v4l2 control, > after the control has been created and initialized. This is helpful > in situations when ran

Re: [PATCH 1/4] tda8290: Allow disabling I2C gate

2013-01-21 Thread Ondrej Zary
On Monday 21 January 2013, Antti Palosaari wrote: > On 01/20/2013 11:22 PM, Ondrej Zary wrote: > > Allow disabling I2C gate handling by external configuration. > > This is required by cards that have all devices on a single I2C bus, > > like AverMedia A706. > > My personal opinion is that I2C gate

Re: [PATCH 1/4] tda8290: Allow disabling I2C gate

2013-01-21 Thread Antti Palosaari
On 01/20/2013 11:22 PM, Ondrej Zary wrote: Allow disabling I2C gate handling by external configuration. This is required by cards that have all devices on a single I2C bus, like AverMedia A706. My personal opinion is that I2C gate control should be disabled setting callback to NULL (same for t