[GIT PULL FOR v3.11] cx88 regression fix

2013-08-28 Thread Hans Verkuil
Mauro, Here is a fix for a cx88 regression introduced in 3.11. Repost of an earlier pull request where I erroneously said that it was a 3.10 regression, which isn't true. The CC to stable is removed in this updated pull request. Regards, Hans The following changes since commit

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] videobuf2: Fix vb2_write prototype

2013-08-28 Thread Ricardo Ribalda Delgado
struct v4_file_operations defines the data param as const char __user *data but on vb2 is defined as char __user *data. This patch fixes the warnings produced by this. ie: drivers/qtec/qtec_xform.c:817:2: warning: initialization from incompatible pointer type [enabled by default]

Re: em28xx + ov2640 and v4l2-clk

2013-08-28 Thread Sylwester Nawrocki
On 08/27/2013 06:00 PM, Mauro Carvalho Chehab wrote: The thing is that you're wanting to use the clock register as a way to detect that the device got initialized. I'm not sure to follow you there, I don't think that's how I want to use the clock. Could you please elaborate ? As

Re: em28xx + ov2640 and v4l2-clk

2013-08-28 Thread Mauro Carvalho Chehab
Em Wed, 28 Aug 2013 11:00:42 +0200 Sylwester Nawrocki s.nawro...@samsung.com escreveu: On 08/27/2013 06:00 PM, Mauro Carvalho Chehab wrote: The thing is that you're wanting to use the clock register as a way to detect that the device got initialized. I'm not sure to follow you

Re: em28xx + ov2640 and v4l2-clk

2013-08-28 Thread Laurent Pinchart
Hi Mauro, On Wednesday 28 August 2013 06:27:52 Mauro Carvalho Chehab wrote: Sylwester Nawrocki s.nawro...@samsung.com escreveu: On 08/27/2013 06:00 PM, Mauro Carvalho Chehab wrote: The thing is that you're wanting to use the clock register as a way to detect that the device got

Re: [PATCH v11 0/8] PHY framework

2013-08-28 Thread Kishon Vijay Abraham I
Hi, On Wednesday 28 August 2013 12:50 AM, Felipe Balbi wrote: Hi, On Mon, Aug 26, 2013 at 01:44:49PM +0530, Kishon Vijay Abraham I wrote: On Wednesday 21 August 2013 11:16 AM, Kishon Vijay Abraham I wrote: Added a generic PHY framework that provides a set of APIs for the PHY drivers to

Re: [PATCH v4 1/3] v4l: Document timestamp behaviour to correspond to reality

2013-08-28 Thread Hans Verkuil
On Mon 26 August 2013 01:02:01 Sakari Ailus wrote: Document that monotonic timestamps are taken after the corresponding frame has been received, not when the reception has begun. This corresponds to the reality of current drivers: the timestamp is naturally taken when the hardware triggers an

Re: [PATCH v4 3/3] v4l: Add V4L2_BUF_FLAG_TIMESTAMP_SOF and use it

2013-08-28 Thread Hans Verkuil
On Mon 26 August 2013 01:02:03 Sakari Ailus wrote: Some devices such as the uvc produce timestamps at the beginning of the frame rather than at the end of it. Add a buffer flag (V4L2_BUF_FLAG_TIMESTAMP_SOF) to tell about this. Also document timestamp_type in struct vb2_queue.

Re: [PATCH] videobuf2: Fix vb2_write prototype

2013-08-28 Thread Marek Szyprowski
Hello, On 8/28/2013 10:39 AM, Ricardo Ribalda Delgado wrote: struct v4_file_operations defines the data param as const char __user *data but on vb2 is defined as char __user *data. This patch fixes the warnings produced by this. ie: drivers/qtec/qtec_xform.c:817:2: warning: initialization

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

2013-08-28 Thread Guennadi Liakhovetski
To obtain a clock reference consumers supply their device object to the V4L2 clock framework. The latter then uses the consumer device name to find a matching clock. For that to work V4L2 clock providers have to provide the same device name, when registering clocks. This patch adds a helper macro

[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 1/3] V4L2: add v4l2-clock helpers to register and unregister a fixed-rate clock

2013-08-28 Thread Laurent Pinchart
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 to register and unregister such a clock.

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

2013-08-28 Thread Laurent Pinchart
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 name to find a matching clock. For that to work V4L2

[PATCH v2 4/5] clk: samsung: Add clock driver for s5pc110/s5pv210

2013-08-28 Thread Mateusz Krawczuk
This patch adds new, Common Clock Framework-based clock driver for Samsung S5PV210 SoCs. The driver is just added, without enabling it yet. Signed-off-by: Mateusz Krawczuk m.krawc...@partner.samsung.com --- .../bindings/clock/samsung,s5pv210-clock.txt | 72 ++ drivers/clk/samsung/Makefile

[PATCH v2 5/5] ARM: s5pv210: Migrate clock handling to Common Clock Framework

2013-08-28 Thread Mateusz Krawczuk
This patch migrates the s5pv210 platform to use new clock driver using Common Clock Framework. Signed-off-by: Mateusz Krawczuk m.krawc...@partner.samsung.com --- arch/arm/mach-s5pv210/Kconfig | 9 + arch/arm/mach-s5pv210/Makefile| 4 ++-- arch/arm/mach-s5pv210/common.c

[PATCH] media: dvb-frontends: ts2020: Added in a option for frequency divider value for s600 devices

2013-08-28 Thread John Horan
When the tuner part of the ds3000 driver was split to share code with the m88rs2000 driver, the ts2020 driver used the frequency divider value from the m88rs2000 driver. However the ds3000 driver requires a different value, and this resulted in some frequecies being invisible to the tuner.

[PATCH v2 3/5] media: s5p-tv: Fix mixer driver to work with CCF

2013-08-28 Thread Mateusz Krawczuk
Replace clk_enable by clock_enable_prepare and clk_disable with clk_disable_unprepare. Clock prepare is required by Clock Common Framework, and old clock driver didn`t support it. Without it Common Clock Framework prints a warning. Signed-off-by: Mateusz Krawczuk m.krawc...@partner.samsung.com

[PATCH v2 2/5] media: s5p-tv: Fix sdo driver to work with CCF

2013-08-28 Thread Mateusz Krawczuk
Replace clk_enable by clock_enable_prepare and clk_disable with clk_disable_unprepare. Clock prepare is required by Clock Common Framework, and old clock driver didn`t support it. Without it Common Clock Framework prints a warning. Signed-off-by: Mateusz Krawczuk m.krawc...@partner.samsung.com

[PATCH v2 1/5] media: s5p-tv: Restore vpll clock rate

2013-08-28 Thread Mateusz Krawczuk
Restore vpll clock rate if start stream fail or stream is off. Signed-off-by: Mateusz Krawczuk m.krawc...@partner.samsung.com --- drivers/media/platform/s5p-tv/sdo_drv.c | 24 ++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git

[PATCH v2 0/5] ARM: S5PV210: move to common clk framework

2013-08-28 Thread Mateusz Krawczuk
This patch series is the new s5pv210 clock implementation (using common clk framework). This implementation is compatible with device tree definition and board files. This patch series is based on linux-next and has been tested on goni and aquila boards using board file. This patch series

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

верный рецепт спасти глаза

2013-08-28 Thread n.a.belova
восстановите зрение без трудностей http://adfx.tk/724637 -- 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-info.html

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 to

Re: [PATCH v4 1/3] v4l: Document timestamp behaviour to correspond to reality

2013-08-28 Thread Sakari Ailus
Hi Hans, Thanks for the comments. On Wed, Aug 28, 2013 at 02:13:31PM +0200, Hans Verkuil wrote: On Mon 26 August 2013 01:02:01 Sakari Ailus wrote: Document that monotonic timestamps are taken after the corresponding frame has been received, not when the reception has begun. This corresponds

[PATCH v4.1 1/3] v4l: Document timestamp behaviour to correspond to reality

2013-08-28 Thread Sakari Ailus
Document that monotonic timestamps are taken after the corresponding frame has been received, not when the reception has begun. This corresponds to the reality of current drivers: the timestamp is naturally taken when the hardware triggers an interrupt to tell the driver to handle the received

[PATCH v4.1 3/3] v4l: Add V4L2_BUF_FLAG_TIMESTAMP_SOF and use it

2013-08-28 Thread Sakari Ailus
Some devices such as the uvc produce timestamps at the beginning of the frame rather than at the end of it. Add a buffer flag (V4L2_BUF_FLAG_TIMESTAMP_SOF) to tell about this. Also document timestamp_type in struct vb2_queue, and make the uvc set the buffer flag. Signed-off-by: Sakari Ailus

Re: [PATCH v4.1 1/3] v4l: Document timestamp behaviour to correspond to reality

2013-08-28 Thread Hans Verkuil
On 08/28/2013 05:23 PM, Sakari Ailus wrote: Document that monotonic timestamps are taken after the corresponding frame has been received, not when the reception has begun. This corresponds to the reality of current drivers: the timestamp is naturally taken when the hardware triggers an

Re: [PATCH v4.1 3/3] v4l: Add V4L2_BUF_FLAG_TIMESTAMP_SOF and use it

2013-08-28 Thread Hans Verkuil
On 08/28/2013 05:24 PM, Sakari Ailus wrote: Some devices such as the uvc produce timestamps at the beginning of the frame rather than at the end of it. Add a buffer flag (V4L2_BUF_FLAG_TIMESTAMP_SOF) to tell about this. Also document timestamp_type in struct vb2_queue, and make the uvc set

[PATCH v2] media: st-rc: Add ST remote control driver

2013-08-28 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch adds support to ST RC driver, which is basically a IR/UHF receiver and transmitter. This IP (IRB) is common across all the ST parts for settop box platforms. IRB is embedded in ST COMMS IP block. It supports both Rx Tx

[PATCH v2 0/7] Add device tree support for Exynos4412 Trats2 cameras

2013-08-28 Thread Sylwester Nawrocki
This series is intended to add device tree support for both cameras on the Exynos4412 SoC Trats 2 board. It converts related drivers to use the v4l2-async API and expose the sensor's master clock supplied by the camera host interface through the common clock API. This changeset is an updated

[PATCH v2 1/7] V4L: s5c73m3: Add device tree support

2013-08-28 Thread Sylwester Nawrocki
From: Andrzej Hajda a.ha...@samsung.com This patch adds the V4L2 asychronous subdev registration and device tree support. Common clock API is used to control the sensor master clock from within the subdev driver. Signed-off-by: Andrzej Hajda a.ha...@samsung.com Signed-off-by: Sylwester Nawrocki

[PATCH v2 3/7] V4L: Add driver for s5k6a3 image sensor

2013-08-28 Thread Sylwester Nawrocki
This patch adds subdev driver for Samsung S5K6A3 raw image sensor. As it is intended at the moment to be used only with the Exynos FIMC-IS (camera ISP) subsystem it is a pretty minimal subdev driver. It doesn't do any I2C communication since the sensor is controlled by the ISP and its own

[PATCH v2 2/7] V4L: s5k6a3: Add DT binding documentation

2013-08-28 Thread Sylwester Nawrocki
This patch adds binding documentation for the Samsung S5K6A3(YX) raw image sensor. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- The binding of this sensors shows some issue in the generic video-interfaces binding. Namely The

[PATCH v2 5/7] exynos4-is: Add clock provider for the external clocks

2013-08-28 Thread Sylwester Nawrocki
This patch adds clock provider to expose the sclk_cam0/1 clocks for image sensor subdevs. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- .../devicetree/bindings/media/samsung-fimc.txt | 17 ++-

[PATCH v2 6/7] exynos4-is: Use external s5k6a3 sensor driver

2013-08-28 Thread Sylwester Nawrocki
This patch removes the common fimc-is-sensor driver for image sensors that are normally controlled by the FIMC-IS firmware. The FIMC-IS driver now contains only a table of properties specific to each sensor. The sensor properties required for the ISP's firmware are parsed from device tree and

[PATCH v2 7/7] exynos4-is: Add support for asynchronous sensor subddevs registration

2013-08-28 Thread Sylwester Nawrocki
Add support for registering external sensor subdevs using the v4l2-async API. The async API is used only for sensor subdevs and only for platforms instantiated from Device Tree. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com ---

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

2013-08-28 Thread Sylwester Nawrocki
This patch converts the driver to use v4l2 asynchronous subdev registration API an the clock API to control the external master clock directly. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/i2c/s5k6a3.c | 36

Re: [PATCH v4.1 3/3] v4l: Add V4L2_BUF_FLAG_TIMESTAMP_SOF and use it

2013-08-28 Thread Laurent Pinchart
Hi Sakari, Thank you for the patches. On Wednesday 28 August 2013 18:24:55 Sakari Ailus wrote: Some devices such as the uvc produce timestamps at the beginning of the frame rather than at the end of it. Add a buffer flag (V4L2_BUF_FLAG_TIMESTAMP_SOF) to tell about this. Also document

Re: [PATCH v4.1 3/3] v4l: Add V4L2_BUF_FLAG_TIMESTAMP_SOF and use it

2013-08-28 Thread Sakari Ailus
Hi Hans, Thanks for your prompt comments. On Wed, Aug 28, 2013 at 05:30:01PM +0200, Hans Verkuil wrote: On 08/28/2013 05:24 PM, Sakari Ailus wrote: Some devices such as the uvc produce timestamps at the beginning of the frame rather than at the end of it. Add a buffer flag

Re: [PATCH v4.1 3/3] v4l: Add V4L2_BUF_FLAG_TIMESTAMP_SOF and use it

2013-08-28 Thread Sakari Ailus
Hi Laurent, Thanks for the comments! On Wed, Aug 28, 2013 at 06:03:20PM +0200, Laurent Pinchart wrote: Hi Sakari, Thank you for the patches. On Wednesday 28 August 2013 18:24:55 Sakari Ailus wrote: Some devices such as the uvc produce timestamps at the beginning of the frame rather

Re: [PATCH v4.1 3/3] v4l: Add V4L2_BUF_FLAG_TIMESTAMP_SOF and use it

2013-08-28 Thread Laurent Pinchart
On Wednesday 28 August 2013 19:09:23 Sakari Ailus wrote: Hi Laurent, Thanks for the comments! On Wed, Aug 28, 2013 at 06:03:20PM +0200, Laurent Pinchart wrote: Hi Sakari, Thank you for the patches. On Wednesday 28 August 2013 18:24:55 Sakari Ailus wrote: Some devices such as

[PATCH v3 2/6] media: s5p-tv: Restore vpll clock rate

2013-08-28 Thread Mateusz Krawczuk
Restore vpll clock rate if start stream fail or stream is off. Signed-off-by: Mateusz Krawczuk m.krawc...@partner.samsung.com --- drivers/media/platform/s5p-tv/sdo_drv.c | 24 ++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git

[PATCH v3 0/6] ARM: S5PV210: move to common clk framework

2013-08-28 Thread Mateusz Krawczuk
This patch series is the new s5pv210 clock implementation (using common clk framework). This implementation is compatible with device tree definition and board files. This patch series is based on linux-next and has been tested on goni and aquila boards using board file. This patch series

[PATCH v3 3/6] media: s5p-tv: Fix sdo driver to work with CCF

2013-08-28 Thread Mateusz Krawczuk
Replace clk_enable by clock_enable_prepare and clk_disable with clk_disable_unprepare. Clock prepare is required by Clock Common Framework, and old clock driver didn`t support it. Without it Common Clock Framework prints a warning. Signed-off-by: Mateusz Krawczuk m.krawc...@partner.samsung.com

[PATCH v3 6/6] ARM: s5pv210: Migrate clock handling to Common Clock Framework

2013-08-28 Thread Mateusz Krawczuk
This patch migrates the s5pv210 platform to use new clock driver using Common Clock Framework. Signed-off-by: Mateusz Krawczuk m.krawc...@partner.samsung.com --- arch/arm/mach-s5pv210/Kconfig | 9 + arch/arm/mach-s5pv210/Makefile| 4 ++-- arch/arm/mach-s5pv210/common.c

[PATCH v3 5/6] clk: samsung: Add clock driver for s5pc110/s5pv210

2013-08-28 Thread Mateusz Krawczuk
This patch adds new, Common Clock Framework-based clock driver for Samsung S5PV210 SoCs. The driver is just added, without enabling it yet. Signed-off-by: Mateusz Krawczuk m.krawc...@partner.samsung.com --- .../bindings/clock/samsung,s5pv210-clock.txt | 72 ++ drivers/clk/samsung/Makefile

[PATCH v3 4/6] media: s5p-tv: Fix mixer driver to work with CCF

2013-08-28 Thread Mateusz Krawczuk
Replace clk_enable by clock_enable_prepare and clk_disable with clk_disable_unprepare. Clock prepare is required by Clock Common Framework, and old clock driver didn`t support it. Without it Common Clock Framework prints a warning. Signed-off-by: Mateusz Krawczuk m.krawc...@partner.samsung.com

[PATCH v3 1/6] media: s5p-tv: Replace mxr_ macro by default dev_

2013-08-28 Thread Mateusz Krawczuk
Replace mxr_dbg, mxr_info and mxr_warn by generic solution. Signed-off-by: Mateusz Krawczuk m.krawc...@partner.samsung.com --- drivers/media/platform/s5p-tv/mixer.h | 12 --- drivers/media/platform/s5p-tv/mixer_drv.c | 47 ++-

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

2013-08-28 Thread Guennadi Liakhovetski
Hi Sylwester, Just one doubt below On Wed, 28 Aug 2013, Sylwester Nawrocki wrote: This patch converts the driver to use v4l2 asynchronous subdev registration API an the clock API to control the external master clock directly. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com

Re: [PATCH v4.1 3/3] v4l: Add V4L2_BUF_FLAG_TIMESTAMP_SOF and use it

2013-08-28 Thread Sakari Ailus
Hi Laurent, On Wed, Aug 28, 2013 at 06:14:44PM +0200, Laurent Pinchart wrote: ... diff --git a/drivers/media/usb/uvc/uvc_queue.c b/drivers/media/usb/uvc/uvc_queue.c index cd962be..0d80512 100644 --- a/drivers/media/usb/uvc/uvc_queue.c +++ b/drivers/media/usb/uvc/uvc_queue.c @@

submitting a distro-specific hint [Debian 7]

2013-08-28 Thread Francisco Fernández Herrera
In Debian, packages needed: apt-get install git patch patchutils libproc-processtable-perl Regards, -- 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-info.html

Re: [PATCH V3] i2c: move of helpers into the core

2013-08-28 Thread Grant Likely
On Thu, 22 Aug 2013 18:00:14 +0200, Wolfram Sang w...@the-dreams.de wrote: I2C of helpers used to live in of_i2c.c but experience (from SPI) shows that it is much cleaner to have this in the core. This also removes a circular dependency between the helpers and the core, and so we can finally

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

2013-08-28 Thread Sylwester Nawrocki
Hi Guennadi, On 08/28/2013 03:28 PM, Guennadi Liakhovetski wrote: 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

Re: [PATCH v4.1 3/3] v4l: Add V4L2_BUF_FLAG_TIMESTAMP_SOF and use it

2013-08-28 Thread Laurent Pinchart
Hi Sakari, On Wednesday 28 August 2013 19:39:19 Sakari Ailus wrote: On Wed, Aug 28, 2013 at 06:14:44PM +0200, Laurent Pinchart wrote: ... diff --git a/drivers/media/usb/uvc/uvc_queue.c b/drivers/media/usb/uvc/uvc_queue.c index cd962be..0d80512 100644 ---

cron job: media_tree daily build: WARNINGS

2013-08-28 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: Thu Aug 29 04:00:27 CEST 2013 git branch: test git hash: 26a20eb09d44dc064c4f5d1f024bd501c09edb4b gcc