af9035 vs. it913x

2014-02-24 Thread kapetr
Hello, old it913x had support reporting of signal strength on IT9135 v2. af9035 driver does not. Could that be corrected ? And I would like to know: How to get and build drivers from source with patches which are presented in this forum. E.g. - driver it913x is now obsolete and IT9135 is

Re: [PATCH 4/6] android: convert sync to fence api, v4

2014-02-24 Thread Maarten Lankhorst
op 19-02-14 14:56, Thomas Hellstrom schreef: +static void fence_check_cb_func(struct fence *f, struct fence_cb *cb) +{ + struct sync_fence_cb *check = container_of(cb, struct sync_fence_cb, cb); + struct sync_fence *fence = check-fence; + + // TODO: Add a fence-status member and check it

Re: [PATCH v5 2/7] v4l: Use full 32 bits for buffer flags

2014-02-24 Thread Sakari Ailus
Hans Verkuil wrote: On 02/15/2014 09:53 PM, Sakari Ailus wrote: The buffer flags field is 32 bits but the defined only used 16. This is fine, but as more than 16 bits will be used in the very near future, define them as 32-bit numbers for consistency. Signed-off-by: Sakari Ailus

[PATCH] media: soc_camera: rcar_vin: Add support for 10-bit YUV cameras

2014-02-24 Thread Phil Edworthy
Signed-off-by: Phil Edworthy phil.edwor...@renesas.com --- drivers/media/platform/soc_camera/rcar_vin.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/media/platform/soc_camera/rcar_vin.c b/drivers/media/platform/soc_camera/rcar_vin.c index 3b1c05a..9929375 100644 ---

Re: [PATCH v5 2/7] v4l: Use full 32 bits for buffer flags

2014-02-24 Thread Hans Verkuil
On 02/24/2014 04:34 PM, Sakari Ailus wrote: Hans Verkuil wrote: On 02/15/2014 09:53 PM, Sakari Ailus wrote: The buffer flags field is 32 bits but the defined only used 16. This is fine, but as more than 16 bits will be used in the very near future, define them as 32-bit numbers for

RE: [PATCH v5 2/7] v4l: Use full 32 bits for buffer flags

2014-02-24 Thread Kamil Debski
Hi, From: Sakari Ailus [mailto:sakari.ai...@iki.fi] Sent: Monday, February 24, 2014 4:35 PM Hans Verkuil wrote: On 02/15/2014 09:53 PM, Sakari Ailus wrote: The buffer flags field is 32 bits but the defined only used 16. This is fine, but as more than 16 bits will be used in the very

[PATCH 0/6] dma-buf synchronization patches (updated)

2014-02-24 Thread Maarten Lankhorst
The following series implements fence and converts dma-buf and android sync to use it. Patch 5 and 6 add support for polling to dma-buf, blocking until all fences are signaled. Patches that received some minor updates: - seqno fence (wait condition member added) - android (whitespace changes and

[PATCH 2/6] seqno-fence: Hardware dma-buf implementation of fencing (v5)

2014-02-24 Thread Maarten Lankhorst
This type of fence can be used with hardware synchronization for simple hardware that can block execution until the condition (dma_buf[offset] - value) = 0 has been met when WAIT_GEQUAL is used, or (dma_buf[offset] != 0) has been met when WAIT_NONZERO is set. A software fallback still has to be

[PATCH 6/6] dma-buf: add poll support, v3

2014-02-24 Thread Maarten Lankhorst
Thanks to Fengguang Wu for spotting a missing static cast. v2: - Kill unused variable need_shared. v3: - Clarify the BUG() in dma_buf_release some more. (Rob Clark) Signed-off-by: Maarten Lankhorst maarten.lankho...@canonical.com --- drivers/base/dma-buf.c | 108

[PATCH 5/6] reservation: add support for fences to enable cross-device synchronisation

2014-02-24 Thread Maarten Lankhorst
Signed-off-by: Maarten Lankhorst maarten.lankho...@canonical.com Reviewed-by: Rob Clark robdcl...@gmail.com --- include/linux/reservation.h | 20 +++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/include/linux/reservation.h b/include/linux/reservation.h index

[PATCH 1/6] fence: dma-buf cross-device synchronization (v17)

2014-02-24 Thread Maarten Lankhorst
A fence can be attached to a buffer which is being filled or consumed by hw, to allow userspace to pass the buffer without waiting to another device. For example, userspace can call page_flip ioctl to display the next frame of graphics after kicking the GPU but while the GPU is still rendering.

[PATCH 4/6] android: convert sync to fence api, v5

2014-02-24 Thread Maarten Lankhorst
Just to show it's easy. Android syncpoints can be mapped to a timeline. This removes the need to maintain a separate api for synchronization. I've left the android trace events in place, but the core fence events should already be sufficient for debugging. v2: - Call fence_remove_callback in

[PATCH 3/6] dma-buf: use reservation objects

2014-02-24 Thread Maarten Lankhorst
This allows reservation objects to be used in dma-buf. it's required for implementing polling support on the fences that belong to a dma-buf. Signed-off-by: Maarten Lankhorst maarten.lankho...@canonical.com Acked-by: Mauro Carvalho Chehab m.che...@samsung.com #drivers/media/v4l2-core/ Acked-by:

[PATCH v5 00/10] Add device tree support for Exynos4 camera interface

2014-02-24 Thread Sylwester Nawrocki
This series adds devicetree support for the front and rear camera of the Exynos4412 SoC Trats2 board. It converts related drivers to use the v4l2-async API. The SoC output clocks are provided to external image image sensors through the common clock API. This iteration includes mostly further

[PATCH v5 04/10] V4L: Add driver for s5k6a3 image sensor

2014-02-24 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 pretty minimal subdev driver. It doesn't do any I2C communication since the sensor is controlled by the ISP and its own firmware.

Re: [RFC PATCH] [media]: of: move graph helpers from drivers/media/v4l2-core to drivers/of

2014-02-24 Thread Philipp Zabel
Am Dienstag, den 18.02.2014, 16:26 + schrieb Grant Likely: On Tue, 18 Feb 2014 08:06:24 +0100, Sascha Hauer s.ha...@pengutronix.de wrote: Hi Grant, On Mon, Feb 17, 2014 at 06:14:51PM +, Grant Likely wrote: On Tue, 11 Feb 2014 07:56:33 -0600, Rob Herring robherri...@gmail.com

[PATCH v5 06/10] exynos4-is: Use external s5k6a3 sensor driver

2014-02-24 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 v5 02/10] Documentation: dt: Add binding documentation for S5C73M3 camera

2014-02-24 Thread Sylwester Nawrocki
This adds DT binding documentation for Samsung S5C73M3 camera sensor with an embedded ISP. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Acked-by: Mark Rutland mark.rutl...@arm.com --- Changes since v4: - added missing unit-address at

[PATCH v5 01/10] Documentation: dt: Add binding documentation for S5K6A3 image sensor

2014-02-24 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 Acked-by: Kyungmin Park kyungmin.p...@samsung.com Acked-by: Mark Rutland mark.rutl...@arm.com --- Changes since v4: - none. Changes since v2: - rephrased

[PATCH v5 10/10] ARM: dts: exynos4: Update camera clk provider and s5k6a3 sensor node

2014-02-24 Thread Sylwester Nawrocki
Remove unused /camera/clock-controller node and required clock properties to the camera node. This is required for a clock provider that will be referenced by image sensor devices. Also add required clock related changes to s5k6a3 device node and afvdd regulator supply. Signed-off-by: Sylwester

[PATCH v5 08/10] exynos4-is: Add support for asynchronous subdevices registration

2014-02-24 Thread Sylwester Nawrocki
Add support for registering external sensor subdevs using v4l2-async API. The async API is used only for sensor subdevs and only for booting from DT. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com --- Changes since v4: - call

[PATCH v5 09/10] ARM: dts: Add rear camera nodes for Exynos4412 TRATS2 board

2014-02-24 Thread Sylwester Nawrocki
This patch enables the rear facing camera (s5c73m3) on TRATS2 board by adding the I2C0 bus controller, s5c73m3 sensor, MIPI CSI-2 receiver and the sensor's voltage regulator supply nodes. Signed-off-by: Andrzej Hajda a.ha...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com

[PATCH v5 03/10] Documentation: devicetree: Update Samsung FIMC DT binding

2014-02-24 Thread Sylwester Nawrocki
This patch documents following updates of the Exynos4 SoC camera subsystem devicetree binding: - addition of #clock-cells property to 'camera' node - the #clock-cells property is needed when the sensor sub-devices use clock provided by the camera host interface, - addition of an optional

Re: Support for Empia 2980 video/audio capture chip set

2014-02-24 Thread Frank Schäfer
Am 06.02.2014 13:57, schrieb Keith Lawson: On Mon, Jan 20, 2014 at 09:08:25PM +0100, Frank Schäfer wrote: On 17.01.2014 01:11, Keith Lawson wrote: On Wed, Jan 15, 2014 at 10:37:44PM +0100, Frank Schäfer wrote: Am 14.01.2014 01:48, schrieb Keith Lawson: On 2014-01-12 11:56, Frank Schäfer

[PATCH v5 07/10] exynos4-is: Add clock provider for the SCLK_CAM clock outputs

2014-02-24 Thread Sylwester Nawrocki
This patch adds clock provider so the the SCLK_CAM0/1 output clocks can be accessed by image sensor devices through the clk API. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com --- Changes since v4: - retrieve clk parent name through

Re: [PATCH v5 2/7] v4l: Use full 32 bits for buffer flags

2014-02-24 Thread Laurent Pinchart
Hi Hans, On Monday 24 February 2014 17:02:20 Hans Verkuil wrote: On 02/24/2014 04:34 PM, Sakari Ailus wrote: Hans Verkuil wrote: On 02/15/2014 09:53 PM, Sakari Ailus wrote: The buffer flags field is 32 bits but the defined only used 16. This is fine, but as more than 16 bits will be used

Re: [patch] [media] em28xx-cards: don't print a misleading message

2014-02-24 Thread Frank Schäfer
Am 17.02.2014 21:04, schrieb Dan Carpenter: There were some missing curly braces so it always says that the transfer mode changed even if it didn't. It's not a transfer mode change, it's the initial selection (which never changes). The intention of this section is to print which interface

Re: [patch] [media] em28xx-cards: don't print a misleading message

2014-02-24 Thread Dan Carpenter
Thank you so much for the review. I should have noticed that myself... I will send a patch to correct the indenting instead. regards, dan carpenter -- 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

Re: [PATCH] media: soc_camera: rcar_vin: Add support for 10-bit YUV cameras

2014-02-24 Thread Laurent Pinchart
Hi Phil, Thank you for the patch. On Monday 24 February 2014 15:49:05 Phil Edworthy wrote: Signed-off-by: Phil Edworthy phil.edwor...@renesas.com --- drivers/media/platform/soc_camera/rcar_vin.c |7 +++ 1 file changed, 7 insertions(+) diff --git

Re: [PATCH v5 04/10] V4L: Add driver for s5k6a3 image sensor

2014-02-24 Thread Baruch Siach
Hi Sylwester, On Mon, Feb 24, 2014 at 06:35:16PM +0100, Sylwester Nawrocki wrote: 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 pretty minimal subdev driver. It doesn't do

Re: [PATCH v2] media: soc-camera: OF cameras

2014-02-24 Thread Bryan Wu
On Tue, Feb 18, 2014 at 10:40 AM, Bryan Wu coolo...@gmail.com wrote: On Wed, Feb 12, 2014 at 12:05 PM, Bryan Wu coolo...@gmail.com wrote: From: Guennadi Liakhovetski g.liakhovet...@gmx.de With OF we aren't getting platform data any more. To minimise changes we create all the missing data

cron job: media_tree daily build: WARNINGS

2014-02-24 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: Tue Feb 25 04:00:21 CET 2014 git branch: test git hash: efab6b6a6ea9364ececb955f69a9d3ffc6b782a1 gcc

Re: [GIT PULL FOR v3.15] Davinci VPFE Patches

2014-02-24 Thread Prabhakar Lad
Hi Mauro On Thu, Feb 20, 2014 at 12:21 PM, Prabhakar Lad prabhakar.cse...@gmail.com wrote: Hi Mauro, Please pull the following patch for davinci vpfe driver. I have included one more patch from Michael, with a fresh pull request. Thanks, --Prabhakar Lad The following changes since commit

Re: [PATCH][RESEND] [media] davinci: vpfe: remove deprecated IRQF_DISABLED

2014-02-24 Thread Prabhakar Lad
Hi Michael, On Mon, Feb 24, 2014 at 11:01 AM, Prabhakar Lad prabhakar.cse...@gmail.com wrote: Hi Michael, On Thu, Feb 20, 2014 at 6:47 PM, Michael Opdenacker michael.opdenac...@free-electrons.com wrote: Hi Laurent, On 02/20/2014 12:36 PM, Laurent Pinchart wrote: Hi Michael, What's the

Re: [PATCH v2] media: soc-camera: OF cameras

2014-02-24 Thread Guennadi Liakhovetski
Hi Bryan, On Mon, 24 Feb 2014, Bryan Wu wrote: On Tue, Feb 18, 2014 at 10:40 AM, Bryan Wu coolo...@gmail.com wrote: On Wed, Feb 12, 2014 at 12:05 PM, Bryan Wu coolo...@gmail.com wrote: From: Guennadi Liakhovetski g.liakhovet...@gmx.de With OF we aren't getting platform data any more. To

Re: [PATCH][RESEND] [media] davinci: vpfe: remove deprecated IRQF_DISABLED

2014-02-24 Thread Michael Opdenacker
Hi Prabhakar On 02/25/2014 07:02 AM, Prabhakar Lad wrote: Hi Michael, On Mon, Feb 24, 2014 at 11:01 AM, Prabhakar Lad prabhakar.cse...@gmail.com wrote: Hi Michael, On Thu, Feb 20, 2014 at 6:47 PM, Michael Opdenacker michael.opdenac...@free-electrons.com wrote: Hi Laurent, On 02/20/2014