[PATCH 0/3] [media] tvp5150: Migrate to media-controller framework and add video format detection

2011-09-30 Thread Javier Martinez Canillas
Hello, The tvp5150 video decoder is usually used on a video pipeline with several video processing integrated circuits. So the driver has to be migrated to the new media device API to reflect this at the software level. Also the tvp5150 is able to detect what is the video standard at which the

[PATCH 1/3] [media] tvp5150: Add constants for PAL and NTSC video standards

2011-09-30 Thread Javier Martinez Canillas
Signed-off-by: Javier Martinez Canillas martinez.jav...@gmail.com --- include/media/tvp5150.h |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/include/media/tvp5150.h b/include/media/tvp5150.h index 72bd2a2..ccd4ed0 100644 --- a/include/media/tvp5150.h +++ b/include

[PATCH 2/3] [media] tvp5150: Add video format registers configuration values

2011-09-30 Thread Javier Martinez Canillas
uses a different register and the bitmask values to represent each standard is different. So we add video standard constants for both autoswitch and no-autoswitch mode. Signed-off-by: Javier Martinez Canillas martinez.jav...@gmail.com --- drivers/media/video/tvp5150_reg.h | 17

[PATCH 3/3] [media] tvp5150: Migrate to media-controller framework and add video format detection

2011-09-30 Thread Javier Martinez Canillas
is currently operating, so it makes sense to add video format detection in the driver. Signed-off-by: Javier Martinez Canillas martinez.jav...@gmail.com --- drivers/media/video/tvp5150.c | 400 +++-- 1 files changed, 389 insertions(+), 11 deletions(-) diff --git

Re: [PATCH 0/3] [media] tvp5150: Migrate to media-controller framework and add video format detection

2011-10-01 Thread Javier Martinez Canillas
On Sat, Oct 1, 2011 at 3:34 PM, Gary Thomas g...@mlbassoc.com wrote: On 2011-09-30 18:33, Javier Martinez Canillas wrote: Hello, The tvp5150 video decoder is usually used on a video pipeline with several video processing integrated circuits. So the driver has to be migrated to the new media

Re: [PATCH 0/3] [media] tvp5150: Migrate to media-controller framework and add video format detection

2011-10-01 Thread Javier Martinez Canillas
On Sat, Oct 1, 2011 at 6:39 PM, Enrico ebut...@users.berlios.de wrote: On Sat, Oct 1, 2011 at 5:55 PM, Javier Martinez Canillas martinez.jav...@gmail.com wrote: We hack a few bits of the ISP CCDC driver to support ITU-R BT656 interlaced data with embedded syncs video format and ported

Re: [PATCH 3/3] [media] tvp5150: Migrate to media-controller framework and add video format detection

2011-10-03 Thread Javier Martinez Canillas
On Mon, Oct 3, 2011 at 8:30 AM, Hans Verkuil hverk...@xs4all.nl wrote: On Monday, October 03, 2011 04:17:06 Mauro Carvalho Chehab wrote: Em 02-10-2011 18:18, Javier Martinez Canillas escreveu: Yes, I'll change that.  static const struct v4l2_subdev_video_ops tvp5150_video_ops

Re: [PATCH 3/3] [media] tvp5150: Migrate to media-controller framework and add video format detection

2011-10-03 Thread Javier Martinez Canillas
On Mon, Oct 3, 2011 at 10:39 AM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Hi Hans, On Monday 03 October 2011 08:30:25 Hans Verkuil wrote: On Monday, October 03, 2011 04:17:06 Mauro Carvalho Chehab wrote: Em 02-10-2011 18:18, Javier Martinez Canillas escreveu: On Sun, Oct

Re: [PATCH 3/3] [media] tvp5150: Migrate to media-controller framework and add video format detection

2011-10-03 Thread Javier Martinez Canillas
mche...@infradead.org wrote: Em 03-10-2011 18:44, Laurent Pinchart escreveu: Hi Mauro, On Monday 03 October 2011 21:16:45 Mauro Carvalho Chehab wrote: Em 03-10-2011 08:53, Laurent Pinchart escreveu: On Monday 03 October 2011 11:53:44 Javier Martinez Canillas wrote: [snip] Laurent, I have

Re: [PATCH 3/3] [media] tvp5150: Migrate to media-controller framework and add video format detection

2011-10-04 Thread Javier Martinez Canillas
On Tue, Oct 4, 2011 at 7:31 AM, Mauro Carvalho Chehab mche...@infradead.org wrote: For now, I propose you to just add/improve the auto-detection on the existing callbacks. We need to reach a consensus before working at the pad level. Ok, I'll do that using saa7115 driver as a reference as

Re: Help with omap3isp resizing

2011-10-05 Thread Javier Martinez Canillas
On Wed, Oct 5, 2011 at 3:42 PM, Sakari Ailus sakari.ai...@iki.fi wrote: On Wed, Oct 05, 2011 at 03:09:48PM +0200, Enrico wrote: On Wed, Oct 5, 2011 at 12:54 PM, Sakari Ailus sakari.ai...@iki.fi wrote: On Wed, Oct 05, 2011 at 01:51:29PM +1100, Paul Chiha wrote: Thanks for your help. I've

Re: omap3-isp status

2011-10-05 Thread Javier Martinez Canillas
On Wed, Oct 5, 2011 at 6:28 PM, Enrico ebut...@users.berlios.de wrote: Hi all, since we are all interested in this driver (and tvp5150) i'll try to make a summary of the current situation and understand what is needed to finally get it into the main tree instead of having to apply a dozen

Re: [PATCH 3/3] [media] tvp5150: Migrate to media-controller framework and add video format detection

2011-10-05 Thread Javier Martinez Canillas
, Javier Martinez Canillas escreveu: On Mon, Oct 3, 2011 at 11:56 PM, Mauro Carvalho Chehab wrote: Em 03-10-2011 18:44, Laurent Pinchart escreveu: On Monday 03 October 2011 21:16:45 Mauro Carvalho Chehab wrote: Em 03-10-2011 08:53, Laurent Pinchart escreveu: On Monday 03 October 2011 11:53:44

Re: omap3-isp status

2011-10-06 Thread Javier Martinez Canillas
On Wed, Oct 5, 2011 at 7:43 PM, Javier Martinez Canillas martinez.jav...@gmail.com wrote: On Wed, Oct 5, 2011 at 6:28 PM, Enrico ebut...@users.berlios.de wrote: Hi all, since we are all interested in this driver (and tvp5150) i'll try to make a summary of the current situation and understand

Re: omap3-isp status

2011-10-06 Thread Javier Martinez Canillas
On Thu, Oct 6, 2011 at 4:29 PM, Javier Martinez Canillas martinez.jav...@gmail.com wrote: On Thu, Oct 6, 2011 at 4:00 PM, Gary Thomas g...@mlbassoc.com wrote: On 2011-10-06 01:51, Javier Martinez Canillas wrote: On Wed, Oct 5, 2011 at 7:43 PM, Javier Martinez Canillas martinez.jav

Re: omap3-isp status

2011-10-06 Thread Javier Martinez Canillas
On Thu, Oct 6, 2011 at 5:25 PM, Enrico ebut...@users.berlios.de wrote: On Thu, Oct 6, 2011 at 9:51 AM, Javier Martinez Canillas martinez.jav...@gmail.com wrote: Since the patches are not against mainline I can't post for reviewing but can be found in one of our development trees [1]. Comments

Re: omap3-isp status

2011-10-06 Thread Javier Martinez Canillas
On Thu, Oct 6, 2011 at 5:47 PM, Gary Thomas g...@mlbassoc.com wrote: On 2011-10-06 08:50, Javier Martinez Canillas wrote: On Thu, Oct 6, 2011 at 4:29 PM, Javier Martinez Canillas martinez.jav...@gmail.com  wrote: On Thu, Oct 6, 2011 at 4:00 PM, Gary Thomasg...@mlbassoc.com  wrote: On 2011

Re: omap3-isp status

2011-10-07 Thread Javier Martinez Canillas
On Fri, Oct 7, 2011 at 10:54 AM, Enrico ebut...@users.berlios.de wrote: On Thu, Oct 6, 2011 at 6:05 PM, Javier Martinez Canillas martinez.jav...@gmail.com wrote: On Thu, Oct 6, 2011 at 5:25 PM, Enrico ebut...@users.berlios.de wrote: - i don't see Deepthy patches, it seems to be based

Re: omap3-isp status

2011-10-07 Thread Javier Martinez Canillas
On Fri, Oct 7, 2011 at 11:34 AM, Gary Thomas g...@mlbassoc.com wrote: On 2011-10-06 10:11, Javier Martinez Canillas wrote: On Thu, Oct 6, 2011 at 5:47 PM, Gary Thomasg...@mlbassoc.com  wrote: On 2011-10-06 08:50, Javier Martinez Canillas wrote: On Thu, Oct 6, 2011 at 4:29 PM, Javier

Re: omap3-isp status

2011-10-07 Thread Javier Martinez Canillas
On Fri, Oct 7, 2011 at 12:36 PM, Enrico ebut...@users.berlios.de wrote: On Fri, Oct 7, 2011 at 12:22 PM, Gary Thomas g...@mlbassoc.com wrote: Do we know for sure that these problems are happening in the ISP itself or could they possibly be in the TVP5150?  Does anyone have experience with a

Re: omap3-isp status

2011-10-07 Thread Javier Martinez Canillas
On Fri, Oct 7, 2011 at 1:39 PM, Gary Thomas g...@mlbassoc.com wrote: On 2011-10-07 05:02, Javier Martinez Canillas wrote: On Fri, Oct 7, 2011 at 12:36 PM, Enricoebut...@users.berlios.de  wrote: On Fri, Oct 7, 2011 at 12:22 PM, Gary Thomasg...@mlbassoc.com  wrote: Do we know for sure

Re: omap3-isp status

2011-10-08 Thread Javier Martinez Canillas
On Sat, Oct 8, 2011 at 5:51 PM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Hi, On Friday 07 October 2011 11:31:46 Javier Martinez Canillas wrote: On Fri, Oct 7, 2011 at 10:54 AM, Enrico wrote: On Thu, Oct 6, 2011 at 6:05 PM, Javier Martinez Canillas wrote: On Thu, Oct 6

[PATCH 0/2] Add support to ITU-R BT.656 video data format

2011-10-08 Thread Javier Martinez Canillas
This patch-set aims to add support to the ISP CCDC driver to process interlaced video data in ITU-R BT.656 format. The patch-set contains the following patches: [PATCH 1/2] omap3isp: video: Decouple buffer obtaining and set ISP entities format [PATCH 2/2] omap3isp: ccdc: Add support to ITU-R

[PATCH 2/2] omap3isp: ccdc: Add support to ITU-R BT.656 video data format

2011-10-08 Thread Javier Martinez Canillas
. - Decouple next buffer obtaining from last buffer releasing. - Move most of the logic to the VD1 interrupt handler since the ISP is not busy there. Signed-off-by: Javier Martinez Canillas martinez.jav...@gmail.com --- drivers/media/video/omap3isp/ispccdc.c | 195

[PATCH 1/2] omap3isp: video: Decouple buffer obtaining and set ISP entities format

2011-10-08 Thread Javier Martinez Canillas
these two actions. Signed-off-by: Javier Martinez Canillas martinez.jav...@gmail.com --- drivers/media/video/omap3isp/ispvideo.c |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/drivers/media/video/omap3isp/ispvideo.c b/drivers/media/video/omap3isp/ispvideo.c index cc73375

Re: [PATCH 2/2] omap3isp: ccdc: Add support to ITU-R BT.656 video data format

2011-10-09 Thread Javier Martinez Canillas
On Sun, Oct 9, 2011 at 12:02 PM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Hi Javier, Thanks for the patch. Hi Laurent, I'm so glad that you are providing feedback on this :) On Sunday 09 October 2011 04:37:33 Javier Martinez Canillas wrote: The ITU-R BT.656 standard data

[PATCH v2 0/2] Add support to ITU-R BT.656 video data format

2011-10-09 Thread Javier Martinez Canillas
Hello folks, This is a v2 patch-set that aims to add support to the ISP CCDC driver to process video in interlaced mode. The patch-set contains the following patches: [PATCH v2 1/3] omap3isp: ccdc: Add interlaced field mode to platform data [PATCH v2 2/3] omap3isp: ccdc: Add interlaced count

[PATCH v2 1/3] omap3isp: ccdc: Add interlaced field mode to platform data

2011-10-09 Thread Javier Martinez Canillas
The fldmode field from the CCDC_SYN_MODE register configure the ISP CCDC between progresive and interlaced mode. Adding this field to the platform data, allows boards to configure accordingly. Signed-off-by: Javier Martinez Canillas martinez.jav...@gmail.com --- include/media/omap3isp.h |3

[PATCH v2 2/3] omap3isp: ccdc: Add interlaced count field to isp_ccdc_device

2011-10-09 Thread Javier Martinez Canillas
When configured in interlaced field mode, the ISP CCDC has to know which sub-frame of the current frame is processing. Signed-off-by: Javier Martinez Canillas martinez.jav...@gmail.com --- drivers/media/video/omap3isp/ispccdc.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff

[PATCH v2 3/3] omap3isp: ccdc: Add support to ITU-R BT.656 video data format

2011-10-09 Thread Javier Martinez Canillas
This patch adds to the ISP CCDC driver the ability to deinterlace video data when configured in interlaced mode and send progressive frames to user-space V4L2 applications. Signed-off-by: Javier Martinez Canillas martinez.jav...@gmail.com --- drivers/media/video/omap3isp/ispccdc.c | 104

Re: [PATCH 2/2] omap3isp: ccdc: Add support to ITU-R BT.656 video data format

2011-10-09 Thread Javier Martinez Canillas
On Sun, Oct 9, 2011 at 2:58 PM, Enrico ebut...@users.berlios.de wrote: On Sun, Oct 9, 2011 at 12:02 PM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Hi Javier, Thanks for the patch. Laurent, apart from the specific comments on Javier code, did you have a look at Deepthy

Re: [PATCH v2 3/3] omap3isp: ccdc: Add support to ITU-R BT.656 video data format

2011-10-09 Thread Javier Martinez Canillas
On Sun, Oct 9, 2011 at 3:26 PM, Javier Martinez Canillas martinez.jav...@gmail.com wrote: This patch adds to the ISP CCDC driver the ability to deinterlace video data when configured in interlaced mode and send progressive frames to user-space V4L2 applications. Signed-off-by: Javier Martinez

[PATCH v2 1/3] omap3isp: ccdc: Add interlaced field mode to platform data

2011-10-09 Thread Javier Martinez Canillas
The fldmode field from the CCDC_SYN_MODE register configure the ISP CCDC between progresive and interlaced mode. Adding this field to the platform data, allows boards to configure accordingly. Signed-off-by: Javier Martinez Canillas martinez.jav...@gmail.com --- include/media/omap3isp.h |3

[PATCH v2 2/3] omap3isp: ccdc: Add interlaced count field to isp_ccdc_device

2011-10-09 Thread Javier Martinez Canillas
When configured in interlaced field mode, the ISP CCDC has to know which sub-frame of the current frame is processing. Signed-off-by: Javier Martinez Canillas martinez.jav...@gmail.com --- drivers/media/video/omap3isp/ispccdc.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff

[PATCH v2 3/3] omap3isp: ccdc: Add support to ITU-R BT.656 video data format

2011-10-09 Thread Javier Martinez Canillas
This patch adds to the ISP CCDC driver the ability to deinterlace video data when configured in interlaced mode and send progressive frames to user-space V4L2 applications. Signed-off-by: Javier Martinez Canillas martinez.jav...@gmail.com --- drivers/media/video/omap3isp/ispccdc.c | 104

Re: [PATCH 2/2] omap3isp: ccdc: Add support to ITU-R BT.656 video data format

2011-10-09 Thread Javier Martinez Canillas
On Sun, Oct 9, 2011 at 2:58 PM, Enrico ebut...@users.berlios.de wrote: On Sun, Oct 9, 2011 at 12:02 PM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Hi Javier, Thanks for the patch. Laurent, apart from the specific comments on Javier code, did you have a look at Deepthy

Re: [PATCH 0/2] Add support to ITU-R BT.656 video data format

2011-10-09 Thread Javier Martinez Canillas
On Sun, Oct 9, 2011 at 7:12 PM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Hi Javier, Thanks for the patches. On Sunday 09 October 2011 04:37:31 Javier Martinez Canillas wrote: This patch-set aims to add support to the ISP CCDC driver to process interlaced video data in ITU-R

Re: omap3-isp status

2011-10-09 Thread Javier Martinez Canillas
On Mon, Oct 10, 2011 at 12:35 AM, Enrico ebut...@users.berlios.de wrote: On Sat, Oct 8, 2011 at 6:11 PM, Javier Martinez Canillas martinez.jav...@gmail.com wrote: Yes, I'll cook a patch today on top on your omap3isp-yuv and send for review. I won't be able to test neither since I don't have

Re: omap3-isp status

2011-10-10 Thread Javier Martinez Canillas
On Mon, Oct 10, 2011 at 10:54 AM, Enrico ebut...@users.berlios.de wrote: On Mon, Oct 10, 2011 at 1:00 AM, Javier Martinez Canillas martinez.jav...@gmail.com wrote: On Mon, Oct 10, 2011 at 12:35 AM, Enrico ebut...@users.berlios.de wrote: I made some tests and unfortunately there are some

Re: omap3-isp status

2011-10-10 Thread Javier Martinez Canillas
On Mon, Oct 10, 2011 at 12:07 PM, Enrico ebut...@users.berlios.de wrote: On Mon, Oct 10, 2011 at 12:06 PM, Enrico ebut...@users.berlios.de wrote: I have updated my igep openembedded layer at [1] (testing branch) with: Ops, forgot [1] ! [1]: https://github.com/ebutera/meta-igep Enrico

Re: omap3-isp status

2011-10-10 Thread Javier Martinez Canillas
On Mon, Oct 10, 2011 at 6:34 PM, Enrico ebut...@users.berlios.de wrote: On Mon, Oct 10, 2011 at 4:17 PM, Enrico ebut...@users.berlios.de wrote: On Mon, Oct 10, 2011 at 2:46 PM, Enrico ebut...@users.berlios.de wrote: On Mon, Oct 10, 2011 at 12:33 PM, Javier Martinez Canillas Perfect, thank you

Re: omap3-isp status

2011-10-10 Thread Javier Martinez Canillas
On Mon, Oct 10, 2011 at 7:09 PM, Enrico ebut...@users.berlios.de wrote: On Mon, Oct 10, 2011 at 6:53 PM, Javier Martinez Canillas martinez.jav...@gmail.com wrote: On Mon, Oct 10, 2011 at 6:34 PM, Enrico ebut...@users.berlios.de wrote: Ok, i made it work. It was missing just

Re: omap3-isp status

2011-10-11 Thread Javier Martinez Canillas
On Tue, Oct 11, 2011 at 12:29 PM, Enrico ebut...@users.berlios.de wrote: On Mon, Oct 10, 2011 at 8:18 PM, Javier Martinez Canillas martinez.jav...@gmail.com wrote: On Mon, Oct 10, 2011 at 7:09 PM, Enrico ebut...@users.berlios.de wrote: On Mon, Oct 10, 2011 at 6:53 PM, Javier Martinez Canillas

Re: OMAP3 ISP ghosting

2011-10-13 Thread Javier Martinez Canillas
On Thu, Oct 13, 2011 at 2:52 PM, Gary Thomas g...@mlbassoc.com wrote: On 2011-10-13 06:32, Enrico wrote: On Thu, Oct 13, 2011 at 1:44 PM, Gary Thomasg...@mlbassoc.com  wrote: On 2011-10-13 02:42, Enrico wrote: On Wed, Oct 12, 2011 at 11:42 PM, Gary Thomasg...@mlbassoc.com  wrote: Any

Re: [RFC 0/3] omap3isp: add BT656 support

2011-10-13 Thread Javier Martinez Canillas
On Tue, Oct 11, 2011 at 5:08 PM, Enrico Butera ebut...@users.berlios.de wrote: This patch series add support for BT656 to omap3isp. It is based on patches from Deepthy Ravi and Javier Martinez Canillas. To be applied on top of omap3isp-omap3isp-yuv branch at: git.linuxtv.org/pinchartl

Re: [PATCH 0/14] staging/media/as102: new driver submission (was Re: [PATCH 1/7] Staging submission: PCTV 74e driver (as102)

2011-10-19 Thread Javier Martinez Canillas
On Tue, Oct 18, 2011 at 7:20 PM, Piotr Chmura chmoor...@poczta.onet.pl wrote: On Tue, 18 Oct 2011 11:52:17 -0400 Devin Heitmueller dheitmuel...@kernellabs.com wrote: On Tue, Oct 18, 2011 at 5:10 AM, Piotr Chmura chmoor...@poczta.onet.pl wrote: Thanks for comments for all of you. [PATCH

Re: Starting OMAP3 ISP as module

2011-10-25 Thread Javier Martinez Canillas
On Tue, Oct 25, 2011 at 7:45 PM, Gary Thomas g...@mlbassoc.com wrote: To date, I've only been using the OMAP3 ISP + Media Controller Framework builtin to the kernel.  Now I'd like to try it as a set of modules, but I can't seem to get it to fire up. What the module insert/probe sequence

Re: [PATCH] Adding YUV input support for OMAP3ISP driver

2012-01-19 Thread Javier Martinez Canillas
On Thu, Jan 19, 2012 at 2:35 PM, Gary Thomas g...@mlbassoc.com wrote: On 2012-01-19 06:28, Laurent Pinchart wrote: Hi Gary, On Thursday 19 January 2012 14:13:53 Gary Thomas wrote: On 2012-01-19 05:50, Laurent Pinchart wrote: On Thursday 19 January 2012 13:41:57 Gary Thomas wrote: On

Re: [PATCH] Adding YUV input support for OMAP3ISP driver

2012-01-19 Thread Javier Martinez Canillas
On Thu, Jan 19, 2012 at 3:36 PM, Gary Thomas g...@mlbassoc.com wrote: On 2012-01-19 07:11, Javier Martinez Canillas wrote: On Thu, Jan 19, 2012 at 2:35 PM, Gary Thomasg...@mlbassoc.com  wrote: On 2012-01-19 06:28, Laurent Pinchart wrote: Hi Gary, On Thursday 19 January 2012 14:13:53 Gary

issue with uvcvideo and xhci

2012-12-12 Thread Javier Martinez Canillas
Hello, We have an issue when trying to use USB cameras on a particular machine using the latest mainline Linux 3.7 kernel. This is not a regression since the same issue is present with older kernels (i.e: 3.5). The cameras work fine when plugged to an USB2.0 port (using the EHCI HCD host

Re: issue with uvcvideo and xhci

2012-12-12 Thread Javier Martinez Canillas
On 12/12/2012 06:52 PM, Sarah Sharp wrote: On Wed, Dec 12, 2012 at 12:47:24PM +0100, Javier Martinez Canillas wrote: Hello, We have an issue when trying to use USB cameras on a particular machine using the latest mainline Linux 3.7 kernel. This is not a regression since the same issue

[PATCH 1/1] [media] tvp5150: Delete video standard magic numbers

2011-11-04 Thread Javier Martinez Canillas
Commit: 6497e3cb61ca555969a35ab68b477db34ee2 [media] tvp5150: Add video format registers configuration values Added constants for each video standard supported by TVP5150, so this patch get rid of the magic numbers. Signed-off-by: Javier Martinez Canillas martinez.jav...@gmail.com

Re: Using MT9P031 digital sensor

2011-11-08 Thread Javier Martinez Canillas
On Tue, Nov 8, 2011 at 1:20 PM, Gary Thomas g...@mlbassoc.com wrote: On 2011-11-04 04:37, Laurent Pinchart wrote: Hi Gary, On Tuesday 01 November 2011 19:52:49 Gary Thomas wrote: I'm trying to use the MT9P031 digital sensor with the Media Controller Framework.  media-ctl tells me that the

[PATCH 2/2] dma-buf: update exp_name when using dma_buf_export()

2014-04-09 Thread Javier Martinez Canillas
the interface used by importers. Signed-off-by: Javier Martinez Canillas javier.marti...@collabora.co.uk --- Documentation/dma-buf-sharing.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/dma-buf-sharing.txt b/Documentation/dma-buf-sharing.txt index 505e711

[PATCH 1/2] dma-buf: fix trivial typo error

2014-04-09 Thread Javier Martinez Canillas
Signed-off-by: Javier Martinez Canillas javier.marti...@collabora.co.uk --- drivers/base/dma-buf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/base/dma-buf.c b/drivers/base/dma-buf.c index ea77701..840c7fa 100644 --- a/drivers/base/dma-buf.c +++ b/drivers/base/dma

[PATCH 1/4] [media] staging: omap4iss: get entity ID using media_entity_id()

2015-08-19 Thread Javier Martinez Canillas
The struct media_entity does not have an .id field anymore since now the entity ID is stored in the embedded struct media_gobj. This caused the omap4iss driver fail to build. Fix by using the media_entity_id() macro to obtain the entity ID. Signed-off-by: Javier Martinez Canillas jav

[PATCH 4/4] [media] media: remove media entity .parent field

2015-08-19 Thread Javier Martinez Canillas
Now that the struct media_entity .parent field is unused, it can be safely removed. Since all the previous users were converted to use the .mdev field from the embedded struct media_gobj instead. Suggested-by: Mauro Carvalho Chehab mche...@osg.samsung.com Signed-off-by: Javier Martinez Canillas

[PATCH 3/4] [media] media: use entity.graph_obj.mdev instead of .parent

2015-08-19 Thread Javier Martinez Canillas
-graph_obj.mdev @@ struct media_entity *link; @@ - link-source-entity-parent + link-source-entity-graph_obj.mdev @@ struct exynos_video_entity *ve; @@ - ve-vdev.entity.parent + ve-vdev.entity.graph_obj.mdev Suggested-by: Mauro Carvalho Chehab mche...@osg.samsung.com Signed-off-by: Javier Martinez Canillas

[PATCH 0/4] [media] Media entity cleanups and build fixes

2015-08-19 Thread Javier Martinez Canillas
were build tested using allyesconfig and x-building the ARM Exynos and OMAP defconfigs + the needed media config options. Best regards, Javier [0]: http://www.mail-archive.com/linux-media@vger.kernel.org/msg91330.html Javier Martinez Canillas (4): [media] staging: omap4iss: get entity ID using

[PATCH 2/4] [media] omap3isp: get entity ID using media_entity_id()

2015-08-19 Thread Javier Martinez Canillas
The struct media_entity does not have an .id field anymore since now the entity ID is stored in the embedded struct media_gobj. This caused the omap3isp driver fail to build. Fix by using the media_entity_id() macro to obtain the entity ID. Signed-off-by: Javier Martinez Canillas jav

[PATCH 08/18] [media] s5c73m3: Export OF module alias information

2015-08-20 Thread Javier Martinez Canillas
better to also export the OF table even when is unused now to prevent breaking module loading when the core changes. Signed-off-by: Javier Martinez Canillas jav...@osg.samsung.com --- drivers/media/i2c/s5c73m3/s5c73m3-spi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/i2c

[PATCH] media: don't try to empty links list in media_entity_cleanup()

2015-08-24 Thread Javier Martinez Canillas
or haven't been initialized yet. Signed-off-by: Javier Martinez Canillas jav...@osg.samsung.com --- drivers/media/media-entity.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/drivers/media/media-entity.c b/drivers/media/media-entity.c index fc6bb48027ab..acb65f734508 100644

Re: [PATCH v7 03/44] [media] omap3isp: get entity ID using media_entity_id()

2015-08-24 Thread Javier Martinez Canillas
Hello Shuah, Thanks for your feedback. On 08/24/2015 08:14 PM, Shuah Khan wrote: On Sun, Aug 23, 2015 at 2:17 PM, Mauro Carvalho Chehab mche...@osg.samsung.com wrote: From: Javier Martinez Canillas jav...@osg.samsung.com X-Patchwork-Delegate: laurent.pinch...@ideasonboard.com The struct

[PATCH 00/18] Export SPI and OF module aliases in missing drivers

2015-08-20 Thread Javier Martinez Canillas
patches in this series, will break module autoloading for the drivers of devices registered using OF but that lacks an of_match_table. I'll repost patch #18 once all the patches in this series have landed. [0]: https://lkml.org/lkml/2015/7/30/519 Best regards, Javier Javier Martinez Canillas (18

Re: [PATCH 1/4] [media] staging: omap4iss: get entity ID using media_entity_id()

2015-08-20 Thread Javier Martinez Canillas
Hello Laurent, On 08/21/2015 02:15 AM, Laurent Pinchart wrote: Hi Javier, On Friday 21 August 2015 02:14:05 Javier Martinez Canillas wrote: On 08/20/2015 08:37 PM, Laurent Pinchart wrote: On Wednesday 19 August 2015 17:35:19 Javier Martinez Canillas wrote: The struct media_entity does

Re: [PATCH 1/4] [media] staging: omap4iss: get entity ID using media_entity_id()

2015-08-20 Thread Javier Martinez Canillas
Hello Laurent, On 08/20/2015 08:37 PM, Laurent Pinchart wrote: Hi Javier, Thank you for the patch. On Wednesday 19 August 2015 17:35:19 Javier Martinez Canillas wrote: The struct media_entity does not have an .id field anymore since now the entity ID is stored in the embedded struct

Re: [PATCH 0/4] [media] Media entity cleanups and build fixes

2015-08-20 Thread Javier Martinez Canillas
Hello Hans, On 08/20/2015 02:41 PM, Hans Verkuil wrote: On 08/19/15 17:35, Javier Martinez Canillas wrote: Hello, This series contains a couple of build fixes and cleanups for the Media Controller framework. The goal of the series is to get rid of the struct media_entity .parent member

Re: [PATCH 00/18] Export SPI and OF module aliases in missing drivers

2015-08-20 Thread Javier Martinez Canillas
Hello Brian, On 08/20/2015 11:11 PM, Brian Norris wrote: On Thu, Aug 20, 2015 at 09:07:13AM +0200, Javier Martinez Canillas wrote: Patches #1 and #2 solves a), patches #3 to #8 solves b) and patches ^^^ I'm dying to know how this sentence ends :) Sigh, I did some last minute restructuring

[PATCH 24/27] [media] smiapp: Export OF module alias information

2015-07-30 Thread Javier Martinez Canillas
if that happens. Signed-off-by: Javier Martinez Canillas jav...@osg.samsung.com --- drivers/media/i2c/smiapp/smiapp-core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/i2c/smiapp/smiapp-core.c b/drivers/media/i2c/smiapp/smiapp-core.c index 636ebd6fe5dc..fb39dfd55e75 100644

Re: [PATCH 00/27] Export I2C and OF module aliases in missing drivers

2015-07-30 Thread Javier Martinez Canillas
Hello Dmitry, Thanks a lot for your feedback. On 07/30/2015 06:37 PM, Dmitry Torokhov wrote: On Thu, Jul 30, 2015 at 09:35:17AM -0700, Dmitry Torokhov wrote: Hi Javier, On Thu, Jul 30, 2015 at 06:18:25PM +0200, Javier Martinez Canillas wrote: Hello, Short version: This series add

[PATCH 27/27] i2c: (RFC, don't apply) report OF style modalias when probing using DT

2015-07-30 Thread Javier Martinez Canillas
instead so the module can be auto-loaded and also report the correct alias using sysfs: $ cat /sys/class/i2c-adapter/i2c-8/8-004b/modalias of:NtrackpadTNULLCatmel,maxtouch Signed-off-by: Javier Martinez Canillas jav...@osg.samsung.com --- drivers/i2c/i2c-core.c | 8 1 file changed, 8

[PATCH 11/27] [media] staging: media: lirc: Export I2C module alias information

2015-07-30 Thread Javier Martinez Canillas
module when the device is added. Signed-off-by: Javier Martinez Canillas jav...@osg.samsung.com --- drivers/staging/media/lirc/lirc_zilog.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/media/lirc/lirc_zilog.c b/drivers/staging/media/lirc/lirc_zilog.c index 261e27d6b054

[PATCH 04/27] [media] Export I2C module alias information in missing drivers

2015-07-30 Thread Javier Martinez Canillas
module when the device is added. Signed-off-by: Javier Martinez Canillas jav...@osg.samsung.com --- drivers/media/i2c/ir-kbd-i2c.c | 1 + drivers/media/i2c/s5k6a3.c | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/media/i2c/ir-kbd-i2c.c b/drivers/media/i2c/ir-kbd-i2c.c index

[PATCH 00/27] Export I2C and OF module aliases in missing drivers

2015-07-30 Thread Javier Martinez Canillas
with OF but that don't have a of_match_table. Although arguably, those drivers were relying on the assumption that a MODALIAS=i2c:foo would always be reported even for the OF case which is not the true on other subsystems. [0]: https://lkml.org/lkml/2014/8/28/283 Best regards, Javier Javier Martinez

Re: [PATCH] media: don't try to empty links list in media_entity_cleanup()

2015-08-24 Thread Javier Martinez Canillas
Hello, On 08/24/2015 07:57 PM, Javier Martinez Canillas wrote: The media_entity_cleanup() function only cleans up the entity links list but this operation is already made in media_device_unregister_entity(). In most cases this should be harmless (besides having duplicated code) since

Re: [PATCH] [media] lnbh25: fix lnbh25_attach inline wrapper

2015-10-16 Thread Javier Martinez Canillas
Hello Arnd, On Fri, Oct 16, 2015 at 10:32 PM, Arnd Bergmann wrote: > The 'static inline' version of lnbh25_attach() has an incorrect > prototype which results in a build error when > CONFIG_DVB_LNBH25 is disabled: > > In file included from >

Re: [PATCH] [media] lnbh25: fix lnbh25_attach inline wrapper

2015-10-16 Thread Javier Martinez Canillas
Hello Arnd, On Fri, Oct 16, 2015 at 11:49 PM, Arnd Bergmann <a...@arndb.de> wrote: > On Friday 16 October 2015 23:45:46 Javier Martinez Canillas wrote: >> >> On Fri, Oct 16, 2015 at 10:32 PM, Arnd Bergmann <a...@arndb.de> wrote: >> > The 'static inline' version

Re: [PATCH] [media] horus3a: fix horus3a_attach inline wrapper

2015-10-16 Thread Javier Martinez Canillas
Hello Arnd, On Fri, Oct 16, 2015 at 10:30 PM, Arnd Bergmann wrote: > The 'static inline' version of horus3a_attach() is incorrectly > copied from another file, which results in a build error when > CONFIG_DVB_HORUS3A is disabled: > > In file included from >

[PATCH 1/2] [media] media: don't try to empty links list in media_entity_cleanup()

2015-08-26 Thread Javier Martinez Canillas
or haven't been initialized yet. Suggested-by: Mauro Carvalho Chehab mche...@osg.samsung.com Signed-off-by: Javier Martinez Canillas jav...@osg.samsung.com --- drivers/media/media-entity.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/drivers/media/media-entity.c b/drivers/media/media

[PATCH 0/2] Patches to test MC next gen patches in OMAP3 ISP

2015-08-26 Thread Javier Martinez Canillas
to make easier for other people that were looking at it. [0]: https://www.mail-archive.com/linux-media@vger.kernel.org/msg91528.html [1]: https://lkml.org/lkml/2015/8/24/649 Best regards, Javier Javier Martinez Canillas (2): [media] media: don't try to empty links list in media_entity_cleanup

[PATCH 2/2] [media] omap3isp: separate links creation from entities init

2015-08-26 Thread Javier Martinez Canillas
are made after the entities registration. Suggested-by: Mauro Carvalho Chehab mche...@osg.samsung.com Signed-off-by: Javier Martinez Canillas jav...@osg.samsung.com --- drivers/media/platform/omap3isp/isp.c| 152 +-- drivers/media/platform/omap3isp/ispccdc.c

Re: [PATCH 2/2] [media] omap3isp: separate links creation from entities init

2015-08-27 Thread Javier Martinez Canillas
Hello Mauro, On 08/26/2015 10:43 PM, Mauro Carvalho Chehab wrote: Em Wed, 26 Aug 2015 17:25:19 +0200 Javier Martinez Canillas jav...@osg.samsung.com escreveu: The omap3isp driver initializes the entities and creates the pads links before the entities are registered with the media device

Re: [PATCH v8 16/55] [media] media: Don't accept early-created links

2015-08-31 Thread Javier Martinez Canillas
testing is appreciated. As Mauro mentioned, I was reviewing the others driver that are creating pad links and found more that are creating links before registering: drivers/media/usb/uvc drivers/media/platform/vsp1 drivers/media/i2c/smiapp I'll try to take care of these too. The other drivers

Re: [PATCH v3 4/6] [media] c8sectpfe: Update binding to reset-gpios

2015-09-01 Thread Javier Martinez Canillas
Hello Peter, On Fri, Aug 28, 2015 at 7:52 PM, Peter Griffin wrote: > gpio.txt documents that GPIO properties should be named > "[-]gpios", with being the purpose of this > GPIO for the device. > > This change has been done as one atomic commit. > > Signed-off-by: Peter

Re: [PATCH v3 4/6] [media] c8sectpfe: Update binding to reset-gpios

2015-09-01 Thread Javier Martinez Canillas
Hello Lee, On Tue, Sep 1, 2015 at 11:09 AM, Lee Jones <lee.jo...@linaro.org> wrote: > On Tue, 01 Sep 2015, Javier Martinez Canillas wrote: >> On Fri, Aug 28, 2015 at 7:52 PM, Peter Griffin <peter.grif...@linaro.org> >> wrote: >> > gpio.txt documents

Re: [PATCH v3 4/6] [media] c8sectpfe: Update binding to reset-gpios

2015-09-01 Thread Javier Martinez Canillas
[adding GPIO maintainers to cc list] Hello Rob, On Tue, Sep 1, 2015 at 1:54 PM, Rob Herring <robherri...@gmail.com> wrote: > On Tue, Sep 1, 2015 at 3:32 AM, Javier Martinez Canillas > <jav...@dowhile0.org> wrote: >> Hello Peter, >> >> On Fri, Aug 28, 2015 a

[PATCH 1/5] [media] staging: omap4iss: separate links creation from entities init

2015-09-03 Thread Javier Martinez Canillas
are made after the entities registration. Signed-off-by: Javier Martinez Canillas <jav...@osg.samsung.com> --- drivers/staging/media/omap4iss/iss.c | 101 ++- drivers/staging/media/omap4iss/iss_csi2.c| 35 +++--- drivers/staging/media/omap4iss/iss_

[PATCH 3/5] [media] v4l: vsp1: separate links creation from entities init

2015-09-03 Thread Javier Martinez Canillas
are made after the entities registration. Signed-off-by: Javier Martinez Canillas <jav...@osg.samsung.com> --- drivers/media/platform/vsp1/vsp1_drv.c | 14 ++-- drivers/media/platform/vsp1/vsp1_rpf.c | 29 drivers/media/platform/vsp1/vsp1_rwpf.h | 5 + d

[PATCH 0/5] [media] Create pads links after entities registration

2015-09-03 Thread Javier Martinez Canillas
they were only build tested. So testing that I didn't introduce any regression will be highly appreciated. [0]: https://lkml.org/lkml/2015/8/26/453 [1]: http://www.spinics.net/lists/linux-samsung-soc/msg47089.html Best regards, Javier Javier Martinez Canillas (5): [media] staging: omap4iss: sepa

[PATCH 2/5] [media] v4l: vsp1: create pad links after subdev registration

2015-09-03 Thread Javier Martinez Canillas
The vsp1 driver creates the pads links before the media entities are registered with the media device. This doesn't work now that object IDs are used to create links so the media_device has to be set. Move entities registration logic before pads links creation. Signed-off-by: Javier Martinez

[PATCH 4/5] [media] uvcvideo: create pad links after subdev registration

2015-09-03 Thread Javier Martinez Canillas
The uvc driver creates the pads links before the media entity is registered with the media device. This doesn't work now that obj IDs are used to create links so the media_device has to be set. Move entities registration logic before pads links creation. Signed-off-by: Javier Martinez Canillas

[PATCH 5/5] [media] smiapp: create pad links after subdev registration

2015-09-03 Thread Javier Martinez Canillas
The smiapp driver creates the pads links before the media entity is registered with the media device. This doesn't work now that object IDs are used to create links so the media_device has to be set. Move entity registration logic before pads links creation. Signed-off-by: Javier Martinez

Re: [PATCH 4/5] [media] uvcvideo: create pad links after subdev registration

2015-09-07 Thread Javier Martinez Canillas
Hello, On 09/03/2015 06:00 PM, Javier Martinez Canillas wrote: > The uvc driver creates the pads links before the media entity is > registered with the media device. This doesn't work now that obj > IDs are used to create links so the media_device has to be set. > > Move entiti

Re: [PATCH v8 18/55] [media] omap3isp: create links after all subdevs have been bound

2015-09-09 Thread Javier Martinez Canillas
Hello Sakari, On 09/09/2015 10:03 AM, Sakari Ailus wrote: > Hi Javier and Mauro, > > On Sun, Aug 30, 2015 at 12:06:29AM -0300, Mauro Carvalho Chehab wrote: >> From: Javier Martinez Canillas <jav...@osg.samsung.com> >> >> The omap3isp driver parses the graph endp

[PATCH 1/2] [media] media-device: check before unregister if mdev was registered

2015-09-10 Thread Javier Martinez Canillas
ed-off-by: Javier Martinez Canillas <jav...@osg.samsung.com> --- drivers/media/media-device.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/media/media-device.c b/drivers/media/media-device.c index 1312e93ebd6e..745defb34b33 100644 --- a/drivers/media/media-device.c +++ b/drivers

[PATCH 0/2] [media] Fix race between graph enumeration and entities registration

2015-09-10 Thread Javier Martinez Canillas
EPv2 board that has a OMAP3 ISP device and an Exynos5800 Chromebook with a built-in UVC camera. [0]: http://permalink.gmane.org/gmane.linux.drivers.driver-project.devel/74515 Best regards, Javier Javier Martinez Canillas (2): [media] media-device: check before unregister if mdev was registere

[PATCH 2/2] [media] media-device: split media initialization and registration

2015-09-10 Thread Javier Martinez Canillas
that will destroy the graph_mutex that is initialized in media_entity_init(). Suggested-by: Sakari Ailus <sakari.ai...@linux.intel.com> Signed-off-by: Javier Martinez Canillas <jav...@osg.samsung.com> --- drivers/media/common/siano/smsdvb-main.c | 1 + drivers/media/me

Re: [PATCH v8 15/55] [media] uapi/media.h: Declare interface types for ALSA

2015-09-10 Thread Javier Martinez Canillas
On Sun, Sep 6, 2015 at 2:02 PM, Mauro Carvalho Chehab <mche...@osg.samsung.com> wrote: > Declare the interface types to be used on alsa for the new > G_TOPOLOGY ioctl. > > Signed-off-by: Mauro Carvalho Chehab <mche...@osg.samsung.com> > Reviewed-by: Ja

Re: [PATCH v8 04/55] [media] media: add a common struct to be embed on media graph objects

2015-09-10 Thread Javier Martinez Canillas
now, the only common object is the object ID, but other > fields will be added later on. > > Signed-off-by: Mauro Carvalho Chehab <mche...@osg.samsung.com> > Acked-by: Hans Verkuil <hans.verk...@cisco.com> > Reviewed-by: Javier Martinez Canillas <jav...@osg.samsun

Re: [PATCH v8 05/55] [media] media: use media_gobj inside entities

2015-09-10 Thread Javier Martinez Canillas
rk...@cisco.com> > Reviewed-by: Javier Martinez Canillas <jav...@osg.samsung.com> Tested-by: Javier Martinez Canillas <jav...@osg.samsung.com> Best regards, Javier -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message

  1   2   3   4   5   >