[REVIEW PATCH 2/7] exynos4-is: Simplify bitmask usage

2013-05-31 Thread Sylwester Nawrocki
From: Phil Carmody phil.carm...@partner.samsung.com Merge the two sets of flags into one array to simplify accessing arbitrary bits from them. Signed-off-by: Phil Carmody phil.carm...@partner.samsung.com --- drivers/media/platform/exynos4-is/fimc-is-param.c | 80 ++---

[REVIEW PATCH 3/7] exynos4-is: Remove unused code

2013-05-31 Thread Sylwester Nawrocki
Remove unused macros and fields of struct fimc_is_video. Signed-off-by: Sylwester Nawrocki sylvester.nawro...@gmail.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/platform/exynos4-is/fimc-isp.h | 13 + drivers/media/platform/exynos4-is/media-dev.h

[REVIEW PATCH 7/7] exynos4-is: Add the FIMC-IS ISP capture DMA driver

2013-05-31 Thread Sylwester Nawrocki
Add a video capture node for the FIMC-IS ISP IP block. The Exynos4x12 FIMC-IS ISP IP block has 2 DMA interfaces that allow to capture raw Bayer and YUV data to memory. Currently only the DMA2 output is and raw Bayer data capture is supported. Signed-off-by: Sylwester Nawrocki s.nawro

[REVIEW PATCH 0/7] exynos4-is cleanup and ISP capture video driver addition

2013-05-31 Thread Sylwester Nawrocki
is started. The VIDIOC_CREATE_BUFS ioctl is not yet supported. Thanks, Sylwester Phil Carmody (1): exynos4-is: Simplify bitmask usage Sylwester Nawrocki (6): exynos4-is: Remove leftovers of non-dt FIMC-LITE support exynos4-is: Remove unused code exynos4-is: Refactor vidioc_s_fmt

[GIT PULL FOR v3.10] exynos4-is fixes

2013-05-31 Thread Sylwester Nawrocki
repository at: git://linuxtv.org/snawrocki/samsung.git v3.10-fixes-2 Sylwester Nawrocki (4): exynos4-is: Prevent NULL pointer dereference when firmware isn't loaded exynos4-is: Ensure fimc-is clocks are not enabled until properly configured exynos4-is: Fix reported colorspace

Re: [RFC] [media] mem2mem: add support for hardware buffered queue

2013-05-29 Thread Sylwester Nawrocki
(struct vb2_queue *vq); + void v4l2_m2m_ctx_release(struct v4l2_m2m_ctx *m2m_ctx); void v4l2_m2m_buf_queue(struct v4l2_m2m_ctx *m2m_ctx, struct vb2_buffer *vb); -- Sylwester Nawrocki Samsung RD Institute Poland Samsung Electronics -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH 09/13] media: Change media device link_notify behaviour

2013-05-28 Thread Sylwester Nawrocki
Hi All, (replying to myself, probably a bad sign... ;)) On 05/09/2013 05:36 PM, Sylwester Nawrocki wrote: Currently the media device link_notify callback is invoked before the actual change of state of a link when the link is being enabled, and after the actual change of state when the link

Re: [PATCH RFC] media: Rename media_entity_remote_source to media_entity_remote_pad

2013-05-26 Thread Sylwester Nawrocki
On 01/22/2013 09:24 AM, Andrzej Hajda wrote: Function media_entity_remote_source actually returns the remote pad to the given one, regardless if this is the source or the sink pad. Name media_entity_remote_pad is more adequate for this function. It seems this patch had slipped through the

[PATCH 0/5] arm/exynos compilation warning fixes

2013-05-25 Thread Sylwester Nawrocki
This patch set fixes couple issues that cause warnings seen in the media daily build. Any testing/ack are welcome, as these patches are completely untested yet. Sylwester Nawrocki (5): s5c73m3: Do not ignore errors from regulator_enable() s5p-tv: Don't ignore return value

[PATCH 1/5] s5c73m3: Do not ignore errors from regulator_enable()

2013-05-25 Thread Sylwester Nawrocki
...@samsung.com Signed-off-by: Sylwester Nawrocki sylvester.nawro...@gmail.com --- drivers/media/i2c/s5c73m3/s5c73m3-core.c |9 ++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/media/i2c/s5c73m3/s5c73m3-core.c b/drivers/media/i2c/s5c73m3/s5c73m3-core.c index d3e867a

[PATCH 2/5] s5p-tv: Don't ignore return value of regulator_enable() in sii9234_drv.c

2013-05-25 Thread Sylwester Nawrocki
’, declared with attribute warn_unused_result Cc: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Sylwester Nawrocki sylvester.nawro...@gmail.com --- drivers/media/platform/s5p-tv/sii9234_drv.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/media/platform

[PATCH 3/5] s5p-tv: Do not ignore regulator/clk API return values in sdo_drv.c

2013-05-25 Thread Sylwester Nawrocki
-tv/sdo_drv.c:269:18: warning: ignoring return value of ‘regulator_enable’, declared with attribute warn_unused_result Cc: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Sylwester Nawrocki sylvester.nawro...@gmail.com --- drivers/media/platform/s5p-tv/sdo_drv.c | 22

[PATCH 4/5] s5p-tv: Don't ignore return value of regulator_bulk_enable() in hdmi_drv.c

2013-05-25 Thread Sylwester Nawrocki
with attribute warn_unused_result Cc: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Sylwester Nawrocki sylvester.nawro...@gmail.com --- drivers/media/platform/s5p-tv/hdmi_drv.c | 16 1 files changed, 12 insertions(+), 4 deletions(-) diff --git a/drivers/media

[PATCH 5/5] s5p-mfc: Remove unused s5p_mfc_get_decoded_status_v6() function

2013-05-25 Thread Sylwester Nawrocki
to the get_dec_status callback. It seems the get_dec_status callback is not used anyway, as there is no corresponding s5p_mfc_hw_call(). Cc: Kamil Debski k.deb...@samsung.com Cc: Arun Kumar K arun...@samsung.com Signed-off-by: Sylwester Nawrocki sylvester.nawro...@gmail.com --- WARNING: This patch

Re: [PATCH RFC v2] media: OF: add sync-on-green endpoint property

2013-05-25 Thread Sylwester Nawrocki
Hi, On 05/25/2013 11:17 AM, Prabhakar Lad wrote: From looking at Figure 8 TVP7002 Application Example in the TVP7002's datasheet ([2], p. 52) and your initial TVP7002 patches it looks like what you want is to specify polarity of the SOGOUT signal, so the processor that receives this

Re: [PATCH RFC v2] media: OF: add sync-on-green endpoint property

2013-05-25 Thread Sylwester Nawrocki
On 05/25/2013 04:26 PM, Prabhakar Lad wrote: Thus it might make sense to have only following integer properties (added as needed): composite-sync-active sync-on-green-active sync-on-comp-active sync-on-luma-active This would allow to specify polarity of each signal and at the same

Re: [PATCH RFC v2] media: OF: add sync-on-green endpoint property

2013-05-24 Thread Sylwester Nawrocki
Prabhakar, On 05/16/2013 03:18 PM, Lad Prabhakar wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch adds sync-on-green property as part of endpoint properties and also support to parse them in the parser. --- a/Documentation/devicetree/bindings/media/video-interfaces.txt +++

Re: [RFC] Motion Detection API

2013-05-22 Thread Sylwester Nawrocki
Hi Sakari, On 05/21/2013 07:30 PM, Sakari Ailus wrote: Hi Sylwester, My apologies for the late answer. No problem at all, thank you for your follow up. Sylwester Nawrocki wrote: On 05/08/2013 06:26 PM, Sakari Ailus wrote: On Tue, May 07, 2013 at 04:04:10PM +0200, Sylwester Nawrocki wrote

Re: [PATCH RFC] media: OF: add field-active and sync-on-green endpoint properties

2013-05-16 Thread Sylwester Nawrocki
Hi, On 05/16/2013 06:53 AM, Prabhakar Lad wrote: diff --git a/Documentation/devicetree/bindings/media/video-interfaces.txt b/Documentation/devicetree/bindings/media/video-interfaces.txt index e022d2d..6bf87d0 100644 --- a/Documentation/devicetree/bindings/media/video-interfaces.txt +++

Re: [PATCH RFC] media: OF: add field-active and sync-on-green endpoint properties

2013-05-16 Thread Sylwester Nawrocki
On 05/15/2013 02:52 PM, Lad Prabhakar wrote: diff --git a/Documentation/devicetree/bindings/media/video-interfaces.txt b/Documentation/devicetree/bindings/media/video-interfaces.txt index e022d2d..6bf87d0 100644 --- a/Documentation/devicetree/bindings/media/video-interfaces.txt +++

Re: [RFCv2] Motion Detection API

2013-05-16 Thread Sylwester Nawrocki
On 05/16/2013 09:54 AM, Hans Verkuil wrote: #define V4L2_EVENT_MOTION_DET 5 /** * struct v4l2_event_motion_det - motion detection event * @flags: if set to V4L2_EVENT_MD_VALID_FRAME, then the * frame_sequence field is

Re: [RFCv2] Motion Detection API

2013-05-15 Thread Sylwester Nawrocki
Hi Hans, On 05/13/2013 11:32 AM, Hans Verkuil wrote: This RFC looks at adding support for motion detection to V4L2. This is the main missing piece that prevents the go7007 and solo6x10 drivers from being moved into mainline from the staging directory. This is the second version of this RFC.

Re: [RFC PATCH 1/3] [media] s5p-jpeg: Add support for Exynos4x12 and 5250

2013-05-15 Thread Sylwester Nawrocki
Hi George, Thanks for the patches. Sorry, I can't review the $subject patch in detail as is, there is way too many things done in this single patch. It looks more like a driver replacement. It is even hard to edit due to its size in my e-mail client. Hence, may I ask you to split it into

Re: [RFC PATCH 2/3] [media] s5p-jpeg: Add DT support to JPEG driver

2013-05-15 Thread Sylwester Nawrocki
On 05/14/2013 01:53 PM, George Joseph wrote: From: George Joseph Palathingalgeorge...@samsung.com Adding DT support to the driver. Driver supports Exynos 4210, 4412 and 5250. Signed-off-by: George Joseph Palathingalgeorge...@samsung.com Cc: devicetree-disc...@lists.ozlabs.org ---

[GIT PULL - BUG FIXES FOR 3.10] Samsung media driver fixes

2013-05-12 Thread Sylwester Nawrocki
: Fix incorrect variable type Sylwester Nawrocki (1): exynos4-is: Correct fimc-lite compatible property description .../devicetree/bindings/media/exynos-fimc-lite.txt |2 +- drivers/media/i2c/s5c73m3/s5c73m3-core.c |2 +- drivers/media/platform/exynos4-is/fimc-is-regs.c

Re: [kbuild] [linuxtv-samsung:next/exynos-is 3/17] drivers/media/media-entity.c:477:1-11: second lock on line 479

2013-05-10 Thread Sylwester Nawrocki
/media-entity.c cae9aa2c Sylwester Nawrocki 2013-05-08 471 cae9aa2c Sylwester Nawrocki 2013-05-08 472 void media_entity_remove_links(struct media_entity *entity) cae9aa2c Sylwester Nawrocki 2013-05-08 473 { cae9aa2c Sylwester Nawrocki 2013-05-08 474 if (WARN_ON_ONCE(entity-parent

[RFC PATCH v2 1/2] media: Add function removing all media entity links

2013-05-10 Thread Sylwester Nawrocki
. With an assumption that media links should be created only after they are registered to a media device and with the graph mutex held. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Reviewed-by: Andrzej Hajda a.ha...@samsung.com [locking error in the initial patch version] Reported-by: Dan Carpenter

[PATCH] exynos4-is: Remove sysreg clock handling

2013-05-10 Thread Sylwester Nawrocki
subsystems. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- This patch should be applied after: [PATCH] clk: samsung: Add CLK_IGNORE_UNUSED flag for the sysreg clocks http://www.mail-archive.com/linux-samsung-soc@vger.kernel.org

[RFC PATCH 0/2] Media entity links handling

2013-05-09 Thread Sylwester Nawrocki
an entity is registered to its media device, and with the graph mutex held. I'm open to opinions whether it's good or not and possibly suggestions on how those issues could be handled differently. Thanks, Sylwester Sylwester Nawrocki (2): media: Add function removing all media entity links V4L

[RFC PATCH 1/2] media: Add function removing all media entity links

2013-05-09 Thread Sylwester Nawrocki
. With an assumption that media links should be created only after they are registered to a media device and with the graph mutex held. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Reviewed-by: Andrzej Hajda a.ha...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media

[RFC PATCH 2/2] V4L: Remove all links of a media entity when unregistering subdev

2013-05-09 Thread Sylwester Nawrocki
before they can be linked. It is also assumed the media links should be created/removed with the media graph's mutex held. The above implies that the caller of v4l2_device_unregister_subdev() must not hold the graph's mutex. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Reviewed

[PATCH] s5p-jpeg: Enable instantiation from device tree

2013-05-09 Thread Sylwester Nawrocki
This patch adds device tree support for the S5P/Exynos SoC JPEG codec IP block. Cc: Andrzej Pietrasiewicz andrze...@samsung.com Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- .../devicetree/bindings/media/samsung-s5p-jpeg.txt

[PATCH] exynos4-is: Correct fimc-lite compatible property description

2013-05-09 Thread Sylwester Nawrocki
Ensure the compatible property for FIMC-LITE IP blocks is properly documented, a cutpaste error fix. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- .../devicetree/bindings/media/exynos-fimc-lite.txt |2 +- 1 file changed, 1

[PATCH] exynos4-is: Fix example dts in .../bindings/samsung-fimc.txt

2013-05-09 Thread Sylwester Nawrocki
The s5c73m3 sensor node should be off an I2C bus controller node. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- .../devicetree/bindings/media/samsung-fimc.txt | 26 ++-- 1 file changed, 13 insertions

[PATCH RFC 00/13] Media link_notify behaviour change an exynos4-is updates

2013-05-09 Thread Sylwester Nawrocki
and to prepare it for addition of remaining subdevs and video nodes. This series depends on [RFC PATCH 0/2] Media entity links handling http://comments.gmane.org/gmane.linux.drivers.video-input-infrastructure/64214 Thanks, Sylwester Sylwester Nawrocki (13): exynos4-is: Remove platform_device_id table

[PATCH 01/13] exynos4-is: Remove platform_device_id table at fimc-lite driver

2013-05-09 Thread Sylwester Nawrocki
The driver id_table is unused since all SoCs containing the FIMC-LITE IP block have been dt-only. Just remove it. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/platform/exynos4-is/fimc-lite.c | 14

[PATCH 02/13] exynos4-is: Correct querycap ioctl handling at fimc-lite driver

2013-05-09 Thread Sylwester Nawrocki
Fill in properly bus_info and card fields and set device_caps. The querycap ioctl handler is renamed for consistency with the other ioctls. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/platform/exynos4-is/fimc

[PATCH 03/13] exynos4-is: Move common functions to a separate module

2013-05-09 Thread Sylwester Nawrocki
Create a common module (exynos4-common.ko) that will hold common functions used across video device and subdev drivers contained in the .../exynos4-is directory. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media

[PATCH 04/13] exynos4-is: Add struct exynos_video_entity

2013-05-09 Thread Sylwester Nawrocki
This patch introduces common structure for the video entities to handle all video nodes and media pipelines associated with them in more generic way. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/platform/exynos4

[PATCH 05/13] exynos4-is: Preserve state of controls between /dev/video open/close

2013-05-09 Thread Sylwester Nawrocki
the device to query the capabilities. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/platform/exynos4-is/fimc-capture.c | 96 +++--- drivers/media/platform/exynos4-is/fimc-core.h|3 + drivers

[PATCH 06/13] exynos4-is: Media graph/video device locking rework

2013-05-09 Thread Sylwester Nawrocki
at the all modules. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/platform/exynos4-is/fimc-capture.c | 59 ++ drivers/media/platform/exynos4-is/fimc-core.h|2 - drivers/media/platform/exynos4

[PATCH 07/13] exynos4-is: Do not use asynchronous runtime PM in release fop

2013-05-09 Thread Sylwester Nawrocki
Use pm_runtime_put_sync() instead of pm_runtime_put() to avoid races in handling the 'state' bit flags when the fimc-capture drivers' runtime_resume callback is called from the PM workqueue. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p

[PATCH 08/13] exynos4-is: Use common exynos_media_pipeline data structure

2013-05-09 Thread Sylwester Nawrocki
This enumeration is now private to exynos4-is and the exynos5 camera subsystem driver may have the subdevs handling designed differently. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/platform/exynos4-is/fimc

[PATCH 09/13] media: Change media device link_notify behaviour

2013-05-09 Thread Sylwester Nawrocki
' argument is added to the link_notify callback: MEDIA_DEV_NOTIFY_PRE_LINK_CH indicates notification before link's state change and MEDIA_DEV_NOTIFY_POST_LINK_CH corresponds to a notification after link flags change. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park

[PATCH 10/13] exynos4-is: Extend link_notify handler to support fimc-is/lite pipelines

2013-05-09 Thread Sylwester Nawrocki
is not immutable any more and there is more subdevs than just sensor, MIPI-CSIS and FIMC(-LITE). The graph is now walked and for each video node found a media pipeline which ends at this node is disabled/enabled (the subdevs are powered on/ off). Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed

[PATCH 11/13] exynos4-is: Fix sensor subdev - FIMC notification setup

2013-05-09 Thread Sylwester Nawrocki
Ensure the v4l2_device notifications from sensor subdev works also after the media links reconfiguration. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/platform/exynos4-is/media-dev.c | 47

[PATCH 12/13] exynos4-is: Add locking at fimc(-lite) subdev unregistered handler

2013-05-09 Thread Sylwester Nawrocki
mutex allows safe unregistration of the video nodes at any time. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/platform/exynos4-is/fimc-capture.c |4 drivers/media/platform/exynos4-is/fimc-lite.c|4

[PATCH 13/13] exynos4-is: Remove WARN_ON() from __fimc_pipeline_close()

2013-05-09 Thread Sylwester Nawrocki
It's not a critical error to call __fimc_pipeline_close() with missing sensor subdev entity. Replace WARN_ON() with pr_warn() and return 0 instead of -EINVAL to fix control flow in some conditions. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p

Re: [PATCH] s5p-jpeg: Enable instantiation from device tree

2013-05-09 Thread Sylwester Nawrocki
Hi Sachin, On 05/09/2013 04:50 PM, Sachin Kamat wrote: George from my team is working on adding JPEG IP support for 4412 and 5250 SoCs which is quite different from 4210. In this regard he has refactored the driver to accomodate the changes required for the new IP and also added DT support.

Re: [PATCH RESEND 8/9] s5c73m3: Convert to devm_gpio_request_one()

2013-05-08 Thread Sylwester Nawrocki
On 05/08/2013 03:46 PM, Laurent Pinchart wrote: Use the devm_gpio_request_one() managed function to simplify cleanup code paths. Signed-off-by: Laurent Pinchartlaurent.pinch...@ideasonboard.com Acked-by: Sylwester Nawrocki s.nawro...@samsung.com -- To unsubscribe from this list: send the line

Re: [PATCH RESEND 9/9] s5k6aa: Convert to devm_gpio_request_one()

2013-05-08 Thread Sylwester Nawrocki
On 05/08/2013 03:46 PM, Laurent Pinchart wrote: Use the devm_gpio_request_one() managed function to simplify cleanup code paths. Signed-off-by: Laurent Pinchartlaurent.pinch...@ideasonboard.com Acked-by: Sylwester Nawrocki s.nawro...@samsung.com -- To unsubscribe from this list: send the line

Re: [RFC] Motion Detection API

2013-05-08 Thread Sylwester Nawrocki
Hi Sakari :-) On 05/08/2013 06:26 PM, Sakari Ailus wrote: On Tue, May 07, 2013 at 04:04:10PM +0200, Sylwester Nawrocki wrote: On 05/07/2013 02:35 PM, Hans Verkuil wrote: A metadata plane works well if you have substantial amounts of data (e.g. histogram data) but it has the disadvantage

Re: [RFC] Motion Detection API

2013-05-07 Thread Sylwester Nawrocki
On 05/07/2013 02:35 PM, Hans Verkuil wrote: A metadata plane works well if you have substantial amounts of data (e.g. histogram data) but it has the disadvantage of requiring you to use the MPLANE buffer types, something which standard apps do not support. I definitely think that is

Re: [PATCH v2 1/2] s5p-tv: Fix incorrect usage of IS_ERR_OR_NULL in hdmi_drv.c

2013-05-02 Thread Sylwester Nawrocki
Hi Sachin, On 05/02/2013 07:03 AM, Sachin Kamat wrote: NULL check on clocks obtained using common clock APIs should not be done. Use IS_ERR only. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- Changes since v1: Initialised clocks to invalid value. ---

Re: [PATCH] mt9p031: Use gpio_is_valid()

2013-05-02 Thread Sylwester Nawrocki
On 05/02/2013 01:04 PM, Laurent Pinchart wrote: Replace the manual validity checks for the reset GPIO with the gpio_is_valid() function. Signed-off-by: Laurent Pinchartlaurent.pinch...@ideasonboard.com Reviewed-by: Sylwester Nawrocki s.nawro...@samsung.com --- drivers/media/i2c/mt9p031.c

Re: [PATCH 1/1] [media] exynos4-is: Remove redundant NULL check in fimc-lite.c

2013-05-01 Thread Sylwester Nawrocki
Sachin, On 04/30/2013 06:51 AM, Sachin Kamat wrote: clk_unprepare checks for NULL pointer. Hence convert IS_ERR_OR_NULL to IS_ERR only. Signed-off-by: Sachin Kamatsachin.ka...@linaro.org --- drivers/media/platform/exynos4-is/fimc-lite.c |2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH 1/4] [media] s3c-camif: Remove redundant NULL check

2013-05-01 Thread Sylwester Nawrocki
On 04/30/2013 08:16 AM, Sachin Kamat wrote: clk_unprepare checks for NULL pointer. Hence convert IS_ERR_OR_NULL to IS_ERR only. Signed-off-by: Sachin Kamatsachin.ka...@linaro.org --- drivers/media/platform/s3c-camif/camif-core.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [PATCH 1/3] [media] s5p-tv: Fix incorrect usage of IS_ERR_OR_NULL in hdmi_drv.c

2013-05-01 Thread Sylwester Nawrocki
On 04/29/2013 11:24 AM, Sachin Kamat wrote: NULL check on clocks obtained using common clock APIs should not be done. Use IS_ERR only. Signed-off-by: Sachin Kamatsachin.ka...@linaro.org --- drivers/media/platform/s5p-tv/hdmi_drv.c | 10 +- 1 file changed, 5 insertions(+), 5

Re: [alsa-devel] [PATCH] MAINTAINERS: Add linux-samsung-soc list to all related entries

2013-05-01 Thread Sylwester Nawrocki
On 04/30/2013 03:27 PM, Mark Brown wrote: On Mon, Apr 22, 2013 at 03:23:29PM +0900, Kyungmin Park wrote: I don't think it's not required, each tree has each own mailing list. don't need to post all patches to samsung-soc list. It can be useful to get system level input on some stuff, I guess

Re: [RFC v2 1/6] media: exynos4-is: modify existing mdev to use common pipeline

2013-04-29 Thread Sylwester Nawrocki
Hi Shaik, Thanks for the updated patch series. On 04/24/2013 09:41 AM, Shaik Ameer Basha wrote: Current fimc_pipeline is tightly coupled with exynos4-is media device driver. And this will not allow to use the same pipeline across different exynos series media device drivers. This patch

Re: [RFC v2 2/6] fimc-lite: Adding Exynos5 compatibility to fimc-lite driver

2013-04-29 Thread Sylwester Nawrocki
On 04/24/2013 09:41 AM, Shaik Ameer Basha wrote: This patch adds, 1] Exynos5 soc compatibility to the fimc-lite driver 2] Multiple dma output buffer support as from Exynos5 onwards, fimc-lite h/w ip supports multiple dma buffers. Signed-off-by: Shaik Ameer Basha shaik.am...@samsung.com

Re: [RFC v2 3/6] media: fimc-lite: Adding support for Exynos5

2013-04-29 Thread Sylwester Nawrocki
On 04/24/2013 09:41 AM, Shaik Ameer Basha wrote: FIMC-LITE supports multiple DMA shadow registers from Exynos5 onwards. This patch adds the functionality of using shadow registers by checking the driver data. Signed-off-by: Shaik Ameer Basha shaik.am...@samsung.com ---

Re: [RFC v2 5/6] media: s5p-csis: Adding Exynos5250 compatibility

2013-04-29 Thread Sylwester Nawrocki
On 04/24/2013 09:41 AM, Shaik Ameer Basha wrote: FIMC-IS firmware needs all the MIPI-CSIS interrupts to be enabled. This patch enables all those MIPI interrupts and adds the Exynos5 compatible string. Signed-off-by: Shaik Ameer Basha shaik.am...@samsung.com ---

Re: [RFC v2 6/6] media: exynos5-is: Adding media device driver for exynos5

2013-04-29 Thread Sylwester Nawrocki
device driver developed by s/developed/written ? + * Sylwester Nawrocki s.nawro...@samsung.com + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published + * by the Free Software Foundation, either version 2

Re: [PATCH] media: i2c: adv7343: add OF support

2013-04-29 Thread Sylwester Nawrocki
Hi, On 04/26/2013 03:18 PM, Prabhakar Lad wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com add OF support for the adv7343 driver. +++ b/Documentation/devicetree/bindings/media/i2c/adv7343.txt @@ -0,0 +1,69 @@ +* Analog Devices adv7343 video encoder + +The ADV7343 are high speed,

Re: [PATCH RFC v2] [media] blackfin: add video display device driver

2013-04-29 Thread Sylwester Nawrocki
Reviewed-by: Sylwester Nawrocki s.nawro...@samsung.com Just couple remarks below. +static const struct bfin_disp_format bfin_disp_formats[] = { + { + .desc= YCbCr 4:2:2 Interleaved UYVY 8bits, This string will like get truncated, since buffer is only 32 character long

Re: [PATCH 1/1] [media] exynos4-is: Fix potential null pointer dereference in mipi-csis.c

2013-04-26 Thread Sylwester Nawrocki
On 04/26/2013 06:44 AM, Sachin Kamat wrote: When 'node' is NULL, the print statement tries to dereference it. Remove it from the error message. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/media/platform/exynos4-is/mipi-csis.c |3 +-- 1 file changed, 1 insertion(+),

Re: [PATCH v2] [media] exynos4-is: Fix potential null pointer dereference in mipi-csis.c

2013-04-26 Thread Sylwester Nawrocki
On 04/26/2013 10:52 AM, Sachin Kamat wrote: When 'node' is NULL, the print statement tries to dereference it. Hence replace the variable with the one that is accessible. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- Changes since v1: Used pdev-dev.of_node-full_name for node name.

Re: [PATCH v9 02/20] V4L2: support asynchronous subdevice registration

2013-04-26 Thread Sylwester Nawrocki
Hi Guennadi, On 04/23/2013 03:01 PM, Guennadi Liakhovetski wrote: On Mon, 22 Apr 2013, Laurent Pinchart wrote: On Monday 15 April 2013 13:57:17 Sylwester Nawrocki wrote: On 04/12/2013 05:40 PM, Guennadi Liakhovetski wrote: + + if (notifier-unbind

Re: [PATCH 0/7] Add copy time stamp handling to mem2mem drivers

2013-04-25 Thread Sylwester Nawrocki
On 04/25/2013 11:49 AM, Kamil Debski wrote: Hi, This set of patches adds support for copy time stamp handling in the following mem2mem drivers: * CODA video codec * Exynos GScaler * m2m-deinterlace * mx2_emmaprp * Exynos G2D * Exynos Jpeg In addition there is a slight optimisation for

Re: [PATCH RFC] [media] blackfin: add video display driver

2013-04-25 Thread Sylwester Nawrocki
Hi Scott, On 04/24/2013 11:26 AM, Scott Jiang wrote: + struct v4l2_device v4l2_dev; + /* v4l2 control handler */ + struct v4l2_ctrl_handler ctrl_handler; This handler seems to be unused, I couldn't find any code adding controls to it. Any initialization of this handler is

[GIT PULL FOR 3.10] Samsung SoC media driver fixes

2013-04-24 Thread Sylwester Nawrocki
) Sachin Kamat (2): exynos4-is: Fix potential null pointer dereferencing exynos4-is: Convert index variable to signed Sylwester Nawrocki (15): s5c73m3: Fix remove() callback to free requested resources s5c73m3: Add missing subdev .unregistered callback

[PATCH] exynos4-is: Fix driver name reported in vidioc_querycap

2013-04-23 Thread Sylwester Nawrocki
on the driver's name. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/platform/exynos4-is/fimc-capture.c | 11 --- drivers/media/platform/exynos4-is/fimc-core.c| 13 - drivers/media/platform

[PATCH] exynos4-is: Fix TRY format propagation at MIPI-CSIS subdev

2013-04-23 Thread Sylwester Nawrocki
-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/platform/exynos4-is/mipi-csis.c | 14 -- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/drivers/media/platform/exynos4-is/mipi-csis.c b/drivers/media/platform

Re: [PATCH v4] drm/exynos: prepare FIMD clocks

2013-04-22 Thread Sylwester Nawrocki
On 04/22/2013 11:56 AM, Tomasz Figa wrote: On Monday 22 of April 2013 10:44:00 Viresh Kumar wrote: On 21 April 2013 20:13, Tomasz Figa tomasz.f...@gmail.com wrote: 3) after those two changes, all that remains is to fix compliance with Common Clock Framework, in other words:

Re: [PATCH v4] drm/exynos: prepare FIMD clocks

2013-04-22 Thread Sylwester Nawrocki
On 04/22/2013 12:03 PM, Inki Dae wrote: Also looks good to me. But what if power domain was disabled without pm runtime? In this case, you must enable the power domain at machine code or bootloader somewhere. This way would not only need some hard codes to turn the

[PATCH 00/12] exynos4-is driver fixes

2013-04-22 Thread Sylwester Nawrocki
the host driver modules while the sensor driver stays loaded. [1] http://git.linuxtv.org/snawrocki/samsung.git/commitdiff/f7007880a37c28beef845aa0787696aa8cead1cd Sylwester Nawrocki (12): s5c73m3: Fix remove() callback to free requested resources s5c73m3: Add missing subdev .unregistered

[PATCH 01/12] s5c73m3: Fix remove() callback to free requested resources

2013-04-22 Thread Sylwester Nawrocki
Make sure v4l2_device_unregister_subdev() is called for both: oif and sensor subdev and both media entities are freed on driver removal. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/i2c/s5c73m3/s5c73m3-core.c

[PATCH 02/12] s5c73m3: Add missing subdev .unregistered callback

2013-04-22 Thread Sylwester Nawrocki
This is needed to free any resources requested in the .registered subdev op. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/i2c/s5c73m3/s5c73m3-core.c |7 +++ 1 file changed, 7 insertions(+) diff --git

[PATCH 03/12] exynos4-is: Remove redundant MODULE_DEVICE_TABLE entries

2013-04-22 Thread Sylwester Nawrocki
-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/platform/exynos4-is/fimc-is-i2c.c|3 --- drivers/media/platform/exynos4-is/fimc-is-sensor.c |1 - 2 files changed, 4 deletions(-) diff --git a/drivers/media/platform/exynos4

[PATCH 04/12] exynos4-is: Fix initialization of subdev 'flags' field

2013-04-22 Thread Sylwester Nawrocki
Ensure the value of struct v4l2_subdev::flags field as set in v4l2_subdev_init() is preserved when initializing it in the subdev drivers. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/platform/exynos4-is/fimc

[PATCH 05/12] exynos4-is: Fix regulator/gpio resource releasing on the driver removal

2013-04-22 Thread Sylwester Nawrocki
() callback is the media entity cleanup call. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/platform/exynos4-is/fimc-is-sensor.c | 26 ++-- 1 file changed, 8 insertions(+), 18 deletions(-) diff --git

[PATCH 06/12] exynos4-is: Don't overwrite subdevdata in the fimc-is sensor driver

2013-04-22 Thread Sylwester Nawrocki
It's an I2C client driver and it must not overwrite the struct v4l2_subdev dev_priv field, which is used by the v4l2 core to store a pointer to struct i2c_client. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media

[PATCH 07/12] exynos4-is: Unregister fimc-is subdevs from the media device properly

2013-04-22 Thread Sylwester Nawrocki
Add missing v4l2_device_unregister_subdev() call for the FIMC-IS subdevs (currently there is only the FIMC-IS-ISP subdev) so corresponding resources are properly freed upon the media device driver module removal. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyugmin Park

[PATCH 08/12] exynos4-is: Set fimc-lite subdev subdev owner module

2013-04-22 Thread Sylwester Nawrocki
-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/platform/exynos4-is/fimc-lite.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/exynos4-is/fimc-lite.c b/drivers/media/platform/exynos4-is/fimc

[PATCH 09/12] exynos4-is: Remove redundant module_put() for MIPI-CSIS module

2013-04-22 Thread Sylwester Nawrocki
Currently there is unbalanced module_put() on the s5p-csis module which prevents it from being unloaded. The subdev's owner module has reference count decremented in v4l2_device_unregister_subdev() so just remove this erroneous call. Cc: sta...@vger.kernel.org # 3.8 Signed-off-by: Sylwester

[PATCH 10/12] exynos4-is: Remove debugfs entries properly

2013-04-22 Thread Sylwester Nawrocki
Ensure both debugfs: fimc_is directory and the fw_log file are properly removed in the driver cleanup sequence. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/platform/exynos4-is/fimc-is.c |2 +- 1 file

[PATCH 12/12] exynos4-is: Fix runtime PM handling on fimc-is probe error path

2013-04-22 Thread Sylwester Nawrocki
Ensure there is no unbalanced pm_runtime_put(). Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/platform/exynos4-is/fimc-is.c |7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers

Re: [PATCH 00/12] exynos4-is driver fixes

2013-04-22 Thread Sylwester Nawrocki
On 04/22/2013 04:03 PM, Sylwester Nawrocki wrote: This patch series includes fixes for several issues found during testing all exynos4-is device drivers build as modules. The exynos4-is build with all sub-drivers as 'M' is hopefully now free of all serious issues, but one. I.e. the requirement

Re: [PATCH 1/5] V4L2: I2C: ML86V7667 video decoder driver

2013-04-20 Thread Sylwester Nawrocki
Hi, On 04/20/2013 10:16 PM, Sergei Shtylyov wrote: From: Vladimir Barinovvladimir.bari...@cogentembedded.com Add OKI Semiconductor ML86V7667 video decoder driver. Signed-off-by: Vladimir Barinovvladimir.bari...@cogentembedded.com [Sergei: added v4l2_device_unregister_subdev() call to the

Re: [PATCH RFC] [media] blackfin: add video display driver

2013-04-18 Thread Sylwester Nawrocki
Hi Scott, On 04/17/2013 08:57 AM, Scott Jiang wrote: Hi Sylwester , @@ -9,7 +9,18 @@ config VIDEO_BLACKFIN_CAPTURE To compile this driver as a module, choose M here: the module will be called bfin_capture. +config VIDEO_BLACKFIN_DISPLAY + tristate Blackfin Video

Re: [PATCH 1/1] [media] exynos4-is: Fix potential null pointer dereferencing

2013-04-17 Thread Sylwester Nawrocki
Hi Sachin, On 04/16/2013 08:16 AM, Sachin Kamat wrote: Hi Sylwester, On 15 April 2013 20:51, Sylwester Nawrocki s.nawro...@samsung.com wrote: - if (!fimc-drv_data || fimc-id = fimc-drv_data-num_entities || - fimc-id 0) { - dev_err(dev, Invalid driver data

Re: [PATCH RFC] s5k5baf: add camera sensor driver

2013-04-17 Thread Sylwester Nawrocki
Signal Processor, formats up to 1600x1200, pre/post ISP cropping, downscaling via selection API, controls. Signed-off-by: Andrzej Hajda a.ha...@samsung.com Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- It's worth

Re: [GIT PULL FOR v3.10] Camera sensors patches

2013-04-16 Thread Sylwester Nawrocki
Cc: Mark, Mike On 04/16/2013 07:36 PM, Mauro Carvalho Chehab wrote: Em 16-04-2013 12:30, Laurent Pinchart escreveu: Hi Mauro, On Monday 15 April 2013 09:42:48 Mauro Carvalho Chehab wrote: Em Mon, 15 Apr 2013 12:19:23 +0200 Laurent Pinchart escreveu: On Sunday 14 April 2013 16:59:58 Mauro

Re: [PATCH v9 02/20] V4L2: support asynchronous subdevice registration

2013-04-15 Thread Sylwester Nawrocki
Hi Guennadi, On 04/12/2013 05:40 PM, Guennadi Liakhovetski wrote: Currently bridge device drivers register devices for all subdevices synchronously, tupically, during their probing. E.g. if an I2C CMOS sensor is attached to a video bridge device, the bridge driver will create an I2C device

Re: [PATCH 1/1] [media] exynos4-is: Fix potential null pointer dereferencing

2013-04-15 Thread Sylwester Nawrocki
Hi Sachin, On 04/15/2013 02:03 PM, Sachin Kamat wrote: If fimc-drv_data is NULL, then fimc-drv_data-num_entities would cause NULL pointer dereferencing. While at it also remove the check for fimc-id being negative as 'id' is unsigned variable and can't be less than 0. Signed-off-by: Sachin

Re: [PATCH v8 0/7] V4L2 clock and async patches and soc-camera example

2013-04-12 Thread Sylwester Nawrocki
Hi Guennadi, On 04/12/2013 08:13 AM, Guennadi Liakhovetski wrote: On Thu, 11 Apr 2013, Sylwester Nawrocki wrote: On 04/11/2013 11:59 AM, Guennadi Liakhovetski wrote: On Mon, 8 Apr 2013, Guennadi Liakhovetski wrote: Mostly just a re-spin of v7 with minor modifications. Guennadi

Re: [PATCH RFC] [media] blackfin: add video display driver

2013-04-12 Thread Sylwester Nawrocki
Hello, On 04/13/2013 01:52 AM, Scott Jiang wrote: This is a bridge driver for blackfin diplay device. It can work with ppi or eppi interface. DV timings are supported. Signed-off-by: Scott Jiangscott.jiang.li...@gmail.com --- drivers/media/platform/blackfin/Kconfig| 15 +-

Re: [PATCH 11/30] [media] exynos: remove unnecessary header inclusions

2013-04-11 Thread Sylwester Nawrocki
On 04/11/2013 02:13 AM, Mauro Carvalho Chehab wrote: Em Thu, 11 Apr 2013 02:04:53 +0200 Arnd Bergmann a...@arndb.de escreveu: In multiplatform configurations, we cannot include headers provided by only the exynos platform. Fortunately a number of drivers that include those headers do not

[GIT PULL] s5p-mfc/exynos4-is clean up

2013-04-11 Thread Sylwester Nawrocki
in fimc-isp.c (2013-04-10 14:04:29 +0200) Sylwester Nawrocki (8): s5p-mfc: Remove potential uninitialized variable usage exynos4-is: Move the subdev group ID definitions to public header exynos4-is: Make fimc-lite

<    5   6   7   8   9   10   11   12   13   14   >