[PATCH] media: davinci: vpbe: fix build warning

2012-10-02 Thread Prabhakar
From: Lad, Prabhakar recent patch with commit id 4f996594ceaf6c3f9bc42b40c40b0f7f87b79c86 which makes vidioc_s_crop const, was causing a following build warning, vpbe_display.c: In function 'vpbe_display_s_crop': vpbe_display.c:640: warning: initialization discards qualifiers fr

[PATCH] davinci: vpbe: replace V4L2_OUT_CAP_CUSTOM_TIMINGS with V4L2_OUT_CAP_DV_TIMINGS

2012-10-02 Thread Prabhakar
From: Lad, Prabhakar This patch replaces V4L2_OUT_CAP_CUSTOM_TIMINGS macro with V4L2_OUT_CAP_DV_TIMINGS. As V4L2_OUT_CAP_CUSTOM_TIMINGS is being phased out. Signed-off-by: Lad, Prabhakar Signed-off-by: Manjunath Hadli Cc: Sekhar Nori Cc: Hans Verkuil Cc: Mauro Carvalho Chehab --- arch/arm

[PATCH] ARM: davinci: dm644x: fix out range signal for ED

2012-10-02 Thread Prabhakar
From: Lad, Prabhakar while testing display on dm644x, for ED out-range signals was observed. This patch fixes appropriate clock setting for ED. Signed-off-by: Lad, Prabhakar Signed-off-by: Manjunath Hadli Cc: Sekhar Nori --- arch/arm/mach-davinci/dm644x.c |3 +-- 1 files changed, 1

[PATCH] media: davinci: vpif: Add return code check at vb2_queue_init()

2012-10-03 Thread Prabhakar
From: Lad, Prabhakar from commit with id 896f38f582730a19eb49677105b4fe4c0270b82e it's mandatory to check the return code of vb2_queue_init(). Signed-off-by: Lad, Prabhakar Signed-off-by: Manjunath Hadli Cc: Hans Verkuil --- drivers/media/platform/davinci/vpif_capture.c |

[PATCH v5] media: mt9p031/mt9t001/mt9v032: use V4L2_CID_TEST_PATTERN for test pattern control

2012-10-03 Thread Prabhakar
From: Lad, Prabhakar V4L2_CID_TEST_PATTERN is now a standard control. This patch replaces the user defined control for test pattern to make use of standard control V4L2_CID_TEST_PATTERN. Signed-off-by: Lad, Prabhakar Signed-off-by: Manjunath Hadli Acked-by: Laurent Pinchart Cc: Sakari Ailus

[PATCH v2] media: davinci: vpif: Add return code check at vb2_queue_init()

2012-10-04 Thread Prabhakar
From: Lad, Prabhakar from commit with id 896f38f582730a19eb49677105b4fe4c0270b82e it's mandatory to check the return code of vb2_queue_init(). Signed-off-by: Lad, Prabhakar Signed-off-by: Manjunath Hadli Cc: Hans Verkuil --- Changes for v2: 1: Added vb2_dma_contig_cleanup_ctx() on fa

[PATCH v3] media: davinci: vpif: set device capabilities

2012-10-04 Thread Prabhakar
From: Lad, Prabhakar set device_caps and also change the driver and bus_info to proper values as per standard. Signed-off-by: Lad, Prabhakar Signed-off-by: Manjunath Hadli Cc: Hans Verkuil --- Changes for v3: 1: Removed READWRITE flag for device_caps pointed by Hans. Changes for v2: 1

[PATCH] media: davinci: vpif: display: separate out subdev from output

2012-09-24 Thread Prabhakar
From: Lad, Prabhakar vpif_display relied on a 1-1 mapping of output and subdev. This is not necessarily the case. Separate the two. So there is a list of subdevs and a list of outputs. Each output refers to a subdev and has routing information. An output does not have to have a subdev. The

[PATCH v2] media: davinci: vpif: display: separate out subdev from output

2012-09-24 Thread Prabhakar
From: Lad, Prabhakar vpif_display relied on a 1-1 mapping of output and subdev. This is not necessarily the case. Separate the two. So there is a list of subdevs and a list of outputs. Each output refers to a subdev and has routing information. An output does not have to have a subdev. The

[PATCH v5] media: v4l2-ctrl: add a helper function to add standard control with driver specific menu

2012-09-24 Thread Prabhakar
From: Lad, Prabhakar Add helper function v4l2_ctrl_new_std_menu_items(), which adds a standard menu control, with driver specific menu. Signed-off-by: Lad, Prabhakar Signed-off-by: Manjunath Hadli Cc: Hans Verkuil Cc: Sakari Ailus Cc: Sylwester Nawrocki Cc: Laurent Pinchart Cc: Mauro

[PATCH v3] media: v4l2-ctrls: add control for test pattern

2012-09-24 Thread Prabhakar
From: Lad, Prabhakar add V4L2_CID_TEST_PATTERN of type menu, which determines the internal test pattern selected by the device. Signed-off-by: Lad, Prabhakar Signed-off-by: Manjunath Hadli Acked-by: Sakari Ailus Cc: Hans Verkuil Cc: Laurent Pinchart Cc: Mauro Carvalho Chehab Cc: Sylwester

[PATCH v4] media: v4l2-ctrls: add control for test pattern

2012-09-24 Thread Prabhakar
From: Lad, Prabhakar add V4L2_CID_TEST_PATTERN of type menu, which determines the internal test pattern selected by the device. Signed-off-by: Lad, Prabhakar Signed-off-by: Manjunath Hadli Acked-by: Sakari Ailus Cc: Hans Verkuil Cc: Laurent Pinchart Cc: Mauro Carvalho Chehab Cc: Sylwester

[PATCH v3] media: davinci: vpif: display: separate out subdev from output

2012-09-25 Thread Prabhakar
From: Lad, Prabhakar vpif_display relied on a 1-1 mapping of output and subdev. This is not necessarily the case. Separate the two. So there is a list of subdevs and a list of outputs. Each output refers to a subdev and has routing information. An output does not have to have a subdev. The

[PATCH] media: davinci: vpif: set device capabilities

2012-09-25 Thread Prabhakar
From: Lad, Prabhakar Signed-off-by: Lad, Prabhakar Signed-off-by: Manjunath Hadli Cc: Hans Verkuil --- drivers/media/platform/davinci/vpif_capture.c |4 +++- drivers/media/platform/davinci/vpif_display.c |4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers

[PATCH] media: mt9p031/mt9t001/mt9v032: use V4L2_CID_TEST_PATTERN for test pattern control

2012-09-25 Thread Prabhakar
From: Lad, Prabhakar Signed-off-by: Lad, Prabhakar Signed-off-by: Manjunath Hadli --- drivers/media/i2c/mt9p031.c | 27 drivers/media/i2c/mt9t001.c | 33 +++--- drivers/media/i2c/mt9v032.c | 46

[PATCH v2] media: davinci: vpif: set device capabilities

2012-09-25 Thread Prabhakar
From: Lad, Prabhakar set device_caps and also change the driver and bus_info to proper values as per standard. Signed-off-by: Lad, Prabhakar Signed-off-by: Manjunath Hadli Cc: Hans Verkuil --- Changes for v2: 1: Change the bus_info and driver to proper values, pointed by Hans

[PATCH v2] media: mt9p031/mt9t001/mt9v032: use V4L2_CID_TEST_PATTERN for test pattern control

2012-09-25 Thread Prabhakar
From: Lad, Prabhakar Signed-off-by: Lad, Prabhakar Signed-off-by: Manjunath Hadli Cc: Laurent Pinchart Cc: Sakari Ailus Cc: Paul Gortmaker Cc: Jean Delvare --- Changes for v2: 1: Fixed review comments pointed by Laurent. drivers/media/i2c/mt9p031.c | 19 +-- drivers

[PATCH v2] media: davinci: vpif: add check for NULL handler

2012-09-26 Thread Prabhakar
From: Lad, Prabhakar for da850/omap-l138, there is no need to setup_input_channel_mode() and set_clock(), to avoid adding dummy code in board file just returning zero add a check in the driver itself to call the handler only if its not NULL. Signed-off-by: Lad, Prabhakar Signed-off-by

[PATCH v3] media: mt9p031/mt9t001/mt9v032: use V4L2_CID_TEST_PATTERN for test pattern control

2012-10-01 Thread Prabhakar
From: Lad, Prabhakar Signed-off-by: Lad, Prabhakar Signed-off-by: Manjunath Hadli Cc: Laurent Pinchart Cc: Sakari Ailus Cc: Paul Gortmaker Cc: Jean Delvare --- Changes for v3: 1: Used cluster in mt9v032 for test pattern, pointed by Laurent. Changes for v2: 1: Fixed review comments

[PATCH] media: davinci: vpfe: fix build error

2012-10-01 Thread Prabhakar
From: Lad, Prabhakar recent patch with commit id 4f996594ceaf6c3f9bc42b40c40b0f7f87b79c86 which makes vidioc_s_crop const, was causing a following build error. vpfe_capture.c: In function 'vpfe_s_crop': vpfe_capture.c:1695: error: assignment of read-only location '*crop'

[PATCH v4] media: mt9p031/mt9t001/mt9v032: use V4L2_CID_TEST_PATTERN for test pattern control

2012-10-01 Thread Prabhakar
From: Lad, Prabhakar V4L2_CID_TEST_PATTERN is now a standard control. This patch replaces the user defined control for test pattern to make use of standard control V4L2_CID_TEST_PATTERN. Signed-off-by: Lad, Prabhakar Signed-off-by: Manjunath Hadli Cc: Laurent Pinchart Cc: Sakari Ailus Cc

[PATCH RFC] media: v4l2-ctrl: Add digital gain controls

2012-10-01 Thread Prabhakar
From: Lad, Prabhakar add support for per color component digital gain controls and also their corresponding offset. Signed-off-by: Lad, Prabhakar Signed-off-by: Manjunath Hadli Cc: Sakari Ailus Cc: Laurent Pinchart Cc: Guennadi Liakhovetski Cc: Sylwester Nawrocki Cc: Hans Verkuil Cc

[PATCH] media: fix a typo CONFIG_HAVE_GENERIC_DMA_COHERENT in videobuf2-dma-contig.c

2012-11-26 Thread Prabhakar Lad
From: Lad, Prabhakar from commit 93049b9368a2e257ace66252ab2cc066f3399cad, which adds a check HAVE_GENERIC_DMA_COHERENT for dma ops, the check was wrongly made it should have been HAVE_GENERIC_DMA_COHERENT but it was CONFIG_HAVE_GENERIC_DMA_COHERENT. This patch fixes the typo, which was causing

Re: [PATCH] media: fix a typo CONFIG_HAVE_GENERIC_DMA_COHERENT in videobuf2-dma-contig.c

2012-11-26 Thread Prabhakar Lad
**/ -#ifdef HAVE_GENERIC_DMA_COHERENT +#ifdef CONFIG_HAVE_GENERIC_DMA_COHERENT struct vb2_dc_attachment { struct sg_table sgt; Regards, --Prabhakar > Thank you, > Kyungmin Park > > On 11/27/12, Prabhakar Lad wrote: >> From: Lad, Prabhakar >> &g

Re: [PATCH] media: fix a typo CONFIG_HAVE_GENERIC_DMA_COHERENT in videobuf2-dma-contig.c

2012-11-26 Thread Prabhakar Lad
Hi Marek, On Tue, Nov 27, 2012 at 12:53 PM, Marek Szyprowski wrote: > Hello, > > > On 11/27/2012 6:59 AM, Prabhakar Lad wrote: >> >> From: Lad, Prabhakar >> >> from commit 93049b9368a2e257ace66252ab2cc066f3399cad, which adds >> a check HAVE_GENER

Re: [PATCH] media: fix a typo CONFIG_HAVE_GENERIC_DMA_COHERENT in videobuf2-dma-contig.c

2012-11-27 Thread Prabhakar Lad
Hi, On Tue, Nov 27, 2012 at 1:21 PM, Marek Szyprowski wrote: > Hello, > > > On 11/27/2012 8:39 AM, Prabhakar Lad wrote: >> >> Hi Marek, >> >> On Tue, Nov 27, 2012 at 12:53 PM, Marek Szyprowski >> wrote: >> > Hello, >> > >> > &

[PATCH v3 0/9] Media Controller capture driver for DM365

2012-11-28 Thread Prabhakar Lad
From: Manjunath Hadli Mauro/Greg, The below series of patches have gone through good amount of reviews, and agreed by Laurent, Hans and Sakari to be part of the staging tree. I am combining the patchs with the pull request so we can get them into the 3.8 kernel. Please pull these patches.If you

[PATCH v3 2/9] davinci: vpfe: add v4l2 video driver support

2012-11-28 Thread Prabhakar Lad
single shot modes. Also supports dv_presets to include HD modes, wth support for both user pointer IO and mmap. The buffering mechanism is based on videobuf2 interface. Signed-off-by: Manjunath Hadli Signed-off-by: Lad, Prabhakar --- drivers/staging/media/davinci_vpfe/vpfe_video.c | 1620

[PATCH v3 3/9] davinci: vpfe: dm365: add IPIPEIF driver based on media framework

2012-11-28 Thread Prabhakar Lad
From: Manjunath Hadli add support for dm365 IPIPEIF driver based on media framework. The IPIPEIF is exposed as a subdev, and it supports features like fault pixel correction, dark frame subtraction and other necessary hardware setup. Signed-off-by: Manjunath Hadli Signed-off-by: Lad, Prabhakar

[PATCH v3 6/9] davinci: vpfe: dm365: add IPIPE hardware layer support

2012-11-28 Thread Prabhakar Lad
enabling. Signed-off-by: Manjunath Hadli Signed-off-by: Lad, Prabhakar --- .../staging/media/davinci_vpfe/dm365_ipipe_hw.c| 1048 .../staging/media/davinci_vpfe/dm365_ipipe_hw.h| 559 +++ 2 files changed, 1607 insertions(+), 0 deletions(-) create mode 100644

[PATCH v3 8/9] davinci: vpfe: dm365: add build infrastructure for capture driver

2012-11-28 Thread Prabhakar Lad
From: Manjunath Hadli add build infrastructure for dm365 specific modules for VPFE capture driver. Signed-off-by: Manjunath Hadli Signed-off-by: Lad, Prabhakar --- drivers/staging/media/Kconfig |2 ++ drivers/staging/media/Makefile |1 + drivers/staging

[PATCH v3 9/9] davinci: vpfe: Add documentation and TODO

2012-11-28 Thread Prabhakar Lad
From: Manjunath Hadli Add documentation on the Davinci VPFE driver. Document the subdevs, and private IOTCLs the driver implements. This patch also includes the TODO's to fit into drivers/media/ folder. Signed-off-by: Manjunath Hadli Signed-off-by: Lad, Prabhakar --- drivers/staging/

[PATCH v3 0/3] Davinci VPSS helper functions for VPFE

2012-11-28 Thread Prabhakar Lad
From: Manjunath Hadli Hi Mauro, This patchset, was part of the DM365 capture driver series, I have split them up and made as separate series as the capture patches will now be going under staging and made as version V3. This patches have undergone several reviews along with the capture driver.

[PATCH v3 1/3] davinci: vpss: dm365: enable ISP registers

2012-11-28 Thread Prabhakar Lad
From: Manjunath Hadli enable PPCR, enbale ISIF out on BCR and disable all events to get the correct operation from ISIF. Signed-off-by: Manjunath Hadli Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/vpss.c | 13 + 1 files changed, 13 insertions(+), 0 deletions

[PATCH v3 3/3] davinci: vpss: dm365: add vpss helper functions to be used in the main driver for setting hardware parameters

2012-11-28 Thread Prabhakar Lad
From: Manjunath Hadli add interface functions to set sync polarity, interrupt completion and pageframe size in vpss to be used by the main driver. Signed-off-by: Manjunath Hadli Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/vpss.c | 32

[PATCH v3 2/3] davinci: vpss: dm365: set vpss clk ctrl

2012-11-28 Thread Prabhakar Lad
From: Manjunath Hadli request_mem_region for VPSS_CLK_CTRL register and ioremap. and enable clocks appropriately. Signed-off-by: Manjunath Hadli Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/vpss.c | 14 ++ 1 files changed, 14 insertions(+), 0 deletions

[PATCH] media: davinci: vpbe: enable building of vpbe driver for DM355 and DM365

2012-11-28 Thread Prabhakar Lad
From: Lad, Prabhakar This patch allows enabling building of VPBE display driver for DM365 and DM355. This also removes unnecessary entry VIDEO_DM644X_VPBE in Kconfig, which could have been done with single entry, and appropriate changes in Makefile for building. Signed-off-by: Lad, Prabhakar

Re: [PATCH v3 2/3] davinci: vpss: dm365: set vpss clk ctrl

2012-11-28 Thread Prabhakar Lad
Hi Sakari, Thanks for the quick review. On Thu, Nov 29, 2012 at 1:48 AM, Sakari Ailus wrote: > Hi Prabhakar, > > On Wed, Nov 28, 2012 at 04:25:33PM +0530, Prabhakar Lad wrote: >> From: Manjunath Hadli >> >> request_mem_region for VPSS_CLK_CTRL register and io

Re: [PATCH v3 1/3] davinci: vpss: dm365: enable ISP registers

2012-11-28 Thread Prabhakar Lad
Hi Sakari, Thanks for the quick review. On Thu, Nov 29, 2012 at 1:38 AM, Sakari Ailus wrote: > On Wed, Nov 28, 2012 at 04:25:32PM +0530, Prabhakar Lad wrote: >> From: Manjunath Hadli >> >> enable PPCR, enbale ISIF out on BCR and disable all events to >> get the

Re: [PATCH v3 9/9] davinci: vpfe: Add documentation and TODO

2012-11-28 Thread Prabhakar Lad
Hi Mauro, On Thu, Nov 29, 2012 at 1:05 AM, Mauro Carvalho Chehab wrote: > Hi Laurent, > > Em Wed, 28 Nov 2012 14:00:14 +0100 > Laurent Pinchart escreveu: > >> Hi Mauro, >> >> Please see below. >> >> On Wednesday 28 November 2012 09:22:13 M

Re: [PATCH v5 1/2] ARM: davinci: dm355: add support for v4l2 video display

2013-03-18 Thread Prabhakar Lad
Sekhar, On Mon, Mar 18, 2013 at 2:11 PM, Sekhar Nori wrote: > On 3/16/2013 3:47 PM, Prabhakar lad wrote: >> From: Lad, Prabhakar >> >> Create platform devices for various video modules like venc,osd, >> vpbe and v4l2 driver for dm355. >> >> Signed-off-

Re: [PATCH v6 1/2] ARM: davinci: dm365: add support for v4l2 video display

2013-03-18 Thread Prabhakar Lad
Sekhar, On Mon, Mar 18, 2013 at 1:48 PM, Sekhar Nori wrote: > On 3/15/2013 8:41 PM, Prabhakar lad wrote: >> From: Lad, Prabhakar >> >> Create platform devices for various video modules like venc,osd, >> vpbe and v4l2 driver for dm365. >> >> Signed-off-

Re: [PATCH v2] drivers: staging: davinci_vpfe: use resource_size()

2013-03-18 Thread Prabhakar Lad
Hi Wei, Thanks for the patch! I'll queue it up for v3.10 On Tue, Mar 19, 2013 at 12:36 AM, Silviu-Mihai Popescu wrote: > This uses the resource_size() function instead of explicit computation. > > Signed-off-by: Silviu-Mihai Popescu Acked-by: Lad, Prabhakar Regards, -

Re: [PATCH v2] davinci: vpif: Fix module build for capture and display

2013-03-19 Thread Prabhakar Lad
Hi Mauro, On Wed, Mar 20, 2013 at 12:00 AM, Mauro Carvalho Chehab wrote: > Em Fri, 8 Mar 2013 16:19:07 +0530 > Prabhakar lad escreveu: > >> From: Lad, Prabhakar >> >> export the symbols which are used by two modules vpif_capture and >> vpif_display. >&

[PATCH v3] davinci: vpif: Fix module build for capture and display

2013-03-19 Thread Prabhakar lad
From: Lad, Prabhakar export the symbols which are used by two modules vpif_capture and vpif_display. renamed "ch_params" to "vpif_ch_params" so as to avoid name collision. This patch fixes following error: ERROR: "ch_params" [drivers/media/platform/davinci/vpi

Re: [PATCH RFC v2] media: tvp514x: add OF support

2013-02-03 Thread Prabhakar Lad
Hi Sylwester, Thanks for the review. On Sat, Feb 2, 2013 at 4:07 AM, Sylwester Nawrocki wrote: > Hi Prabhakar, > > On 01/29/2013 02:07 PM, Prabhakar Lad wrote: > [...] > >> diff --git a/Documentation/devicetree/bindings/media/i2c/tvp514x.txt >> b/Documentation/de

Re: [PATCH v2 1/6] ARM: davinci: da850: fix clock lookup for mdio device

2013-02-03 Thread Prabhakar Lad
Sekhar, On Sun, Feb 3, 2013 at 4:44 PM, Sekhar Nori wrote: > On 1/28/2013 7:17 PM, Prabhakar Lad wrote: >> From: Lad, Prabhakar >> >> This patch removes the clock alias for mdio device and adds a entry >> in clock lookup table, this entry can now be used by

Re: [PATCH v2 2/6] ARM: davinci: da850: add DT node for mdio device

2013-02-03 Thread Prabhakar Lad
Sekhar, On Sun, Feb 3, 2013 at 5:23 PM, Sekhar Nori wrote: > On 1/28/2013 7:17 PM, Prabhakar Lad wrote: >> From: Lad, Prabhakar >> >> Add mdio device tree node information to da850 by >> providing register details and bus frequency of mdio. >> >> Signed-o

Re: [PATCH RFC v2] media: tvp514x: add OF support

2013-02-03 Thread Prabhakar Lad
Sekhar, On Sun, Feb 3, 2013 at 6:40 PM, Sekhar Nori wrote: > On 2/3/2013 3:43 PM, Prabhakar Lad wrote: >> Hi Sylwester, >> >> Thanks for the review. >> >> On Sat, Feb 2, 2013 at 4:07 AM, Sylwester Nawrocki >> wrote: >>> Hi Prabhakar, >

Re: [PATCH RFC v2] media: tvp514x: add OF support

2013-02-03 Thread Prabhakar Lad
Hi Laurent, On Sun, Feb 3, 2013 at 6:44 PM, Laurent Pinchart wrote: > Hi Prabhakar, > > On Sunday 03 February 2013 15:43:49 Prabhakar Lad wrote: >> On Sat, Feb 2, 2013 at 4:07 AM, Sylwester Nawrocki wrote: >> > On 01/29/2013 02:07 PM, Prabhakar Lad wrote: >> &

Re: [PATCH RFC v2] media: tvp514x: add OF support

2013-02-03 Thread Prabhakar Lad
Hi Sylwester, On Sun, Feb 3, 2013 at 6:57 PM, Sylwester Nawrocki wrote: > Hi Prabhakar, > > On 02/03/2013 11:13 AM, Prabhakar Lad wrote: > [...] > >>>> +Required Properties : >>>> +- compatible: Must be "ti,tvp514x-decoder" >>> >

Re: [PATCH v2 6/6] ARM: davinci: da850: configure system configuration chip(CFGCHIP3) for emac

2013-02-03 Thread Prabhakar Lad
Sekhar , On Sun, Feb 3, 2013 at 6:15 PM, Sekhar Nori wrote: > On 1/28/2013 7:17 PM, Prabhakar Lad wrote: >> From: Lad, Prabhakar >> >> The system configuration chip CFGCHIP3, controls the emac module. >> This patch appropriately configures this re

Re: [PATCH v2 4/6] ARM: davinci: da850: add DT node for eth0.

2013-02-03 Thread Prabhakar Lad
Sekhar , On Sun, Feb 3, 2013 at 5:33 PM, Sekhar Nori wrote: > On 1/28/2013 7:17 PM, Prabhakar Lad wrote: >> From: Lad, Prabhakar >> >> Add eth0 device tree node information and pinmux for mii to da850 by >> providing interrupt details and local mac address of eth

Re: [PATCH] davinci: dm644x: fix enum ccdc_gama_width and enum ccdc_data_size comparision warning

2013-02-05 Thread Prabhakar Lad
Hi Mauro, On Tue, Feb 5, 2013 at 9:54 PM, Mauro Carvalho Chehab wrote: > Em Wed, 2 Jan 2013 17:23:50 +0530 > "Lad, Prabhakar" escreveu: > >> while the effect is harmless this patch > > I disagree that this is a harmless warning. It is here for a reason: > you

[PATCH v2] media: ths7353: add support for ths7353 video amplifier

2013-02-05 Thread Prabhakar Lad
From: Lad, Prabhakar The patch adds support for THS7353 video amplifier. The the THS7353 amplifier is very much similar to the existing THS7303 video amplifier driver. This patch appropriately makes changes to the existing ths7303 driver and adds support for the THS7353. This patch also adds

Re: [PATCH v2] media: ths7353: add support for ths7353 video amplifier

2013-02-06 Thread Prabhakar Lad
Hi Hans, Thanks for the review. On Wed, Feb 6, 2013 at 2:33 PM, Hans Verkuil wrote: > Hi Prabhakar, > > Here is my review. There are a few things that need to be fixed before I > can Ack it. > OK > On Tue 5 February 2013 20:20:21 Prabhakar Lad wrote: >> From: Lad, Pr

[PATCH v3] media: ths7353: add support for ths7353 video amplifier

2013-02-06 Thread Prabhakar lad
From: Lad, Prabhakar The patch adds support for THS7353 video amplifier. The the THS7353 amplifier is very much similar to the existing THS7303 video amplifier driver. This patch appropriately makes changes to the existing ths7303 driver and adds support for the THS7353. This patch also adds

Re: [PATCH v2] media: add support for decoder as one of media entity types

2013-02-07 Thread Prabhakar Lad
Hi Sylwester, On Thu, Feb 7, 2013 at 5:18 PM, Sylwester Nawrocki wrote: > Hi Prabhakar, > > On 01/28/2013 12:50 PM, Prabhakar Lad wrote: >> diff --git a/include/uapi/linux/media.h b/include/uapi/linux/media.h >> index 0ef8833..dac06d7 100644 >> --- a/include/uapi/lin

[PATCH v3] media: add support for decoder as one of media entity types

2013-02-07 Thread Prabhakar Lad
Signed-off-by: Manjunath Hadli Signed-off-by: Lad, Prabhakar Cc: Rob Landley Cc: Mauro Carvalho Chehab Reviewed-by: Sylwester Nawrocki --- Changes for v3: 1: Fixed Nit pointed by Sylwester. Changes for v2: 1: Sending as a separate patch. 2: Added documentation for the added media entity typ

[GIT PULL FOR v3.9] media i2c feature enhancements

2013-02-10 Thread Prabhakar Lad
Hi Mauro, Please pull the following patches for media-i2c. The first patch adds support for ths7353 video amplifier, the second patch adds decoder as media entity and the third and fourth patch enables media controller support usage for tvp7002 and tvp514x respectively. Regards, --Prabhakar Lad

Re: [PATCH v2] davinci: vpif: add pm_runtime support

2013-04-02 Thread Prabhakar Lad
Hi Hans, On Tue, Apr 2, 2013 at 2:17 PM, Hans Verkuil wrote: > On Mon 1 April 2013 08:36:50 Prabhakar lad wrote: >> From: Lad, Prabhakar >> >> Add pm_runtime support to the TI Davinci VPIF driver. >> >> Signed-off-by: Lad, Prabhakar >> Cc: Mauro Carv

[PATCH v2 1/3] media: davinci: vpss: enable vpss clocks

2013-04-02 Thread Prabhakar lad
From: Lad, Prabhakar By default the VPSS clocks were enabled in capture driver for davinci family which creates duplicates for dm355/dm365/dm644x. This patch adds support to enable the VPSS clocks in VPSS driver, which avoids duplication of code and also adding clock aliases. This patch uses PM

[PATCH v2 2/3] media: davinci: vpbe: venc: move the enabling of vpss clocks to driver

2013-04-02 Thread Prabhakar lad
From: Lad, Prabhakar The vpss clocks were enabled by calling a exported function from a driver in a machine code. calling driver code from platform code is incorrect way. This patch fixes this issue and calls the function from driver code itself. Signed-off-by: Lad, Prabhakar --- drivers

[PATCH v2 0/3] davinci: vpss: clock cleanup

2013-04-02 Thread Prabhakar lad
From: Lad, Prabhakar This patch series cleanup's the VPSS clock enabling. The first patch removes vpss clock enabling from the capture drivers and moves it to the VPSS driver itself. The second patch moves the venc_enable_vpss_clock() to the driver which was being done in platform code. Ch

[PATCH v2 3/3] davinic: vpss: trivial cleanup

2013-04-02 Thread Prabhakar lad
From: Lad, Prabhakar this patch removes unnecessary header file inclusions and fixes the typo's. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/vpss.c | 11 +++ 1 files changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/media/platform/davinci/vpss

[PATCH v8 0/2] ARM: davinci: add support for dm365 vpbe display

2013-04-02 Thread Prabhakar lad
From: Lad, Prabhakar This patch series enables VPBE display driver on DM365. Changes for v8: 1: Fixed nits pointed by Sekhar. Changes for v7: 1: Fixed nits pointed by Sekhar. Changes for v6: 1: Fixed review comments pointed by Sekhar. Changes for v5: 1: pass different platform names to

[PATCH v8 1/2] ARM: davinci: dm365: add support for v4l2 video display

2013-04-02 Thread Prabhakar lad
From: Lad, Prabhakar Create platform devices for various video modules like venc,osd, vpbe and v4l2 driver for dm365. Signed-off-by: Lad, Prabhakar --- arch/arm/mach-davinci/board-dm365-evm.c |4 +- arch/arm/mach-davinci/davinci.h |7 +- arch/arm/mach-davinci/dm365.c

[PATCH v8 2/2] ARM: davinci: dm365 EVM: add support for VPBE display

2013-04-02 Thread Prabhakar lad
From: Lad, Prabhakar add support for V4L2 video display to DM365 EVM. Support for SD and ED modes is provided, along with Composite and Component outputs. Signed-off-by: Lad, Prabhakar --- arch/arm/mach-davinci/board-dm365-evm.c | 164 ++- 1 files changed, 163

Re: [BUG] mod/file2alias: build error in devicetable-offsets.c [was: asm/types.h Header file wont get generated while building uImage ?]

2013-04-02 Thread Prabhakar Lad
state.conf > +scripts: scripts_basic include/config/auto.conf include/config/tristate.conf > \ > +asm-generic > $(Q)$(MAKE) $(build)=$(@) > > # Objects we will link into vmlinux / subdirs we need to visit > This works thanks for the patch! Reported-by: Lad, Prabhakar Tested-b

[PATCH v7 0/2] ARM: davinci: dm355: add support for vpbe display

2013-04-02 Thread Prabhakar lad
From: Lad, Prabhakar This patch series enables VPBE display driver on DM355. This patch series is dependent on VPSS clock cleanup patches (http://www.mail-archive.com/davinci-linux-open-source@linux.davincidsp.com/msg25613.html) posted. Changes for v7: 1: Fixed nits pointed by Sekhar for DM365

[PATCH v7 1/2] ARM: davinci: dm355: add support for v4l2 video display

2013-04-02 Thread Prabhakar lad
From: Lad, Prabhakar Create platform devices for various video modules like venc,osd, vpbe and v4l2 driver for dm355. Signed-off-by: Lad, Prabhakar --- arch/arm/mach-davinci/board-dm355-evm.c |4 +- arch/arm/mach-davinci/davinci.h |3 +- arch/arm/mach-davinci/dm355.c

[PATCH v7 2/2] ARM: davinci: dm355 EVM: add support for VPBE display

2013-04-02 Thread Prabhakar lad
From: Lad, Prabhakar add support for V4L2 video display to DM355 EVM. Support for SD modes is provided, along with Composite output Signed-off-by: Lad, Prabhakar --- arch/arm/mach-davinci/board-dm355-evm.c | 69 ++- 1 files changed, 68 insertions(+), 1 deletions

[PATCH v3] davinci: vpif: add pm_runtime support

2013-04-02 Thread Prabhakar lad
From: Lad, Prabhakar Add pm_runtime support to the TI Davinci VPIF driver. Signed-off-by: Lad, Prabhakar Cc: Mauro Carvalho Chehab Cc: Hans Verkuil Cc: Laurent Pinchart Cc: Sakari Ailus Cc: Sekhar Nori --- Changes for v3: 1: Removed pm_runtime_resume() from probe as pm_runtime_get

[PATCH RFC v2] media: tvp514x: add OF support

2013-01-29 Thread Prabhakar Lad
From: Lad, Prabhakar add OF support for the tvp514x driver. Signed-off-by: Lad, Prabhakar Cc: Hans Verkuil Cc: Laurent Pinchart Cc: Mauro Carvalho Chehab Cc: Guennadi Liakhovetski Cc: Sylwester Nawrocki Cc: Sakari Ailus Cc: Grant Likely Cc: Rob Herring Cc: Rob Landley Cc: devicetree

[PATCH RFC] media: tvp514x: add OF support

2013-01-24 Thread Prabhakar Lad
From: Lad, Prabhakar add OF support for the tvp514x driver. Signed-off-by: Lad, Prabhakar Cc: Hans Verkuil Cc: Laurent Pinchart Cc: Mauro Carvalho Chehab Cc: Guennadi Liakhovetski --- This patch is on top of following patches: 1: https://patchwork.kernel.org/patch/1930941/ 2: http

Re: [PATCH RFC] media: tvp514x: add OF support

2013-01-24 Thread Prabhakar Lad
Hi Heiko, On Thu, Jan 24, 2013 at 4:30 PM, Heiko Schocher wrote: > Hello Prabhakar, > > On 24.01.2013 10:12, Prabhakar Lad wrote: >> From: Lad, Prabhakar >> >> add OF support for the tvp514x driver. >> >> Signed-off-by: Lad, Prabhakar >> Cc: Hans V

Re: [PATCH RFC] media: tvp514x: add OF support

2013-01-24 Thread Prabhakar Lad
Hi Laurent, On Thu, Jan 24, 2013 at 4:17 PM, Laurent Pinchart wrote: > Hi Prabhakar, > > Thank you for the patch. > > Sylwester and Guennadi have posted a DT bindings proposal for V4L2 devices. > Shouldn't you base this patch on those bindings ? > Yes I'll bas

[PATCH 0/2] TVP7002 add support for media controller based usag

2013-01-24 Thread Prabhakar Lad
From: Lad, Prabhakar The first patch adds a entry MEDIA_ENT_T_V4L2_SUBDEV_DECODER for decoders and second patch adds media controller support for tvp7002 decoder. Manjunath Hadli (2): media: add support for decoder subdevs along with sensor and others media: tvp7002: enable TVP7002 decoder

[PATCH 1/2] media: add support for decoder subdevs along with sensor and others

2013-01-24 Thread Prabhakar Lad
adds an additional flag to include the decoders along with others, such as the sensor and lens. Signed-off-by: Manjunath Hadli Signed-off-by: Lad, Prabhakar --- include/uapi/linux/media.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/uapi/linux/media.h b/include

[PATCH 2/2] media: tvp7002: enable TVP7002 decoder for media controller based usage

2013-01-24 Thread Prabhakar Lad
From: Manjunath Hadli add pad operations support for g_mbus_fmt, enum_mbus_code, set_pad_format, get_pad_format and media_entity_init. The device supports 1 output pad and no input pads. Signed-off-by: Manjunath Hadli Signed-off-by: Lad, Prabhakar --- drivers/media/i2c/tvp7002.c | 132

[PATCH] media: tvp514x: enable TVP514X for media controller based usage

2013-01-25 Thread Prabhakar Lad
From: Manjunath Hadli add support for TVP514x as a media entity and support for pad operations. The decoder supports 1 output pad. The default format code was V4L2_MBUS_FMT_YUYV10_2X10 changed it to V4L2_MBUS_FMT_UYVY8_2X8. Signed-off-by: Manjunath Hadli Signed-off-by: Lad, Prabhakar

[PATCH 0/2] Add support THS7353 video amplifier support

2013-01-25 Thread Prabhakar Lad
From: Lad, Prabhakar This patch series adds driver for THS7353 video amplifier. The first patch of the series adds the chip-id for THS7353 and the second patch adds the driver. Manjunath Hadli (2): media: add chip id for THS7353 media: add support for THS7353 video amplifier drivers/media

[PATCH 1/2] media: add chip id for THS7353

2013-01-25 Thread Prabhakar Lad
From: Manjunath Hadli add chip id for THS7353 amplifier. Signed-off-by: Manjunath Hadli Signed-off-by: Lad, Prabhakar --- include/media/v4l2-chip-ident.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/include/media/v4l2-chip-ident.h b/include/media/v4l2-chip

[PATCH 2/2] media: add support for THS7353 video amplifier

2013-01-25 Thread Prabhakar Lad
From: Manjunath Hadli The patch adds support for THS7353 video amplifier. Enable dv_preset support for THS7353 so that setting a HD mode on the host device makes sure appropriate mode in the amplifier is enabled. Signed-off-by: Manjunath Hadli Signed-off-by: Lad, Prabhakar --- drivers/media

[PATCH] ARM: davinci: da850: add interrupt-parent property in soc node

2013-01-25 Thread Prabhakar Lad
From: Lad, Prabhakar This patch adds 'interrupt-parent' property in soc node, so that the child inherits this property, this avoids adding 'interrupt-parent' to each node. Signed-off-by: Lad, Prabhakar Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.o

Re: [PATCH 1/2] media: add support for decoder subdevs along with sensor and others

2013-01-25 Thread Prabhakar Lad
Hi Sylwester, On Sat, Jan 26, 2013 at 1:24 AM, Sylwester Nawrocki wrote: > Hi Prahakar, > > > On 01/25/2013 08:01 AM, Prabhakar Lad wrote: >> >> From: Manjunath Hadli >> >> A lot of SOCs including Texas Instruments Davinci family mainly use >> video d

[PATCH v2] media: add support for decoder as one of media entity types

2013-01-28 Thread Prabhakar Lad
Signed-off-by: Manjunath Hadli Signed-off-by: Lad, Prabhakar Cc: Sylwester Nawrocki Cc: Rob Landley Cc: Mauro Carvalho Chehab --- Changes for v2: 1: Sending as a separate patch. 2: Added documentation for the added media entity type. 3: Improved the commit message. .../DocBook/media/v4l

[PATCH v2 0/6] ARM: davinci: da850: add ethernet driver DT support

2013-01-28 Thread Prabhakar Lad
From: Lad, Prabhakar This patch set enables Ethernet support through device tree model. This patch set enables mii interface only and is being tested to boot via rootfs. The rmii phy is present on the i2c gpio expander chip (UI board) for which yet support needs to be added, once the DT support

[PATCH v2 1/6] ARM: davinci: da850: fix clock lookup for mdio device

2013-01-28 Thread Prabhakar Lad
From: Lad, Prabhakar This patch removes the clock alias for mdio device and adds a entry in clock lookup table, this entry can now be used by both DT and NON DT case. Signed-off-by: Lad, Prabhakar Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.org Cc: davinci-linux-open

[PATCH v2 2/6] ARM: davinci: da850: add DT node for mdio device

2013-01-28 Thread Prabhakar Lad
From: Lad, Prabhakar Add mdio device tree node information to da850 by providing register details and bus frequency of mdio. Signed-off-by: Lad, Prabhakar Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.org Cc: davinci-linux-open-sou...@linux.davincidsp.com Cc: net

[PATCH v2 3/6] ARM: davinci: da850: add OF_DEV_AUXDATA entry for mdio.

2013-01-28 Thread Prabhakar Lad
From: Lad, Prabhakar Add OF_DEV_AUXDATA for mdio driver in da850 board dt file to use mdio clock. Signed-off-by: Lad, Prabhakar Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.org Cc: davinci-linux-open-sou...@linux.davincidsp.com Cc: net...@vger.kernel.org Cc: devicetree

[PATCH v2 4/6] ARM: davinci: da850: add DT node for eth0.

2013-01-28 Thread Prabhakar Lad
From: Lad, Prabhakar Add eth0 device tree node information and pinmux for mii to da850 by providing interrupt details and local mac address of eth0. Signed-off-by: Lad, Prabhakar Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.org Cc: davinci-linux-open-sou

[PATCH v2 5/6] ARM: davinci: da850: add OF_DEV_AUXDATA entry for eth0.

2013-01-28 Thread Prabhakar Lad
From: Lad, Prabhakar Add OF_DEV_AUXDATA for eth0 driver in da850 board dt file to use emac clock. Signed-off-by: Lad, Prabhakar Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.org Cc: davinci-linux-open-sou...@linux.davincidsp.com Cc: net...@vger.kernel.org Cc

[PATCH v2 6/6] ARM: davinci: da850: configure system configuration chip(CFGCHIP3) for emac

2013-01-28 Thread Prabhakar Lad
From: Lad, Prabhakar The system configuration chip CFGCHIP3, controls the emac module. This patch appropriately configures this register for emac and sets DA850_MII_MDIO_CLKEN_PIN GPIO pin appropriately. Signed-off-by: Lad, Prabhakar Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel

Re: [PATCH] ARM: davinci: da850: add interrupt-parent property in soc node

2013-01-28 Thread Prabhakar Lad
Sekhar, On Mon, Jan 28, 2013 at 9:03 PM, Sekhar Nori wrote: > On 1/25/2013 4:48 PM, Prabhakar Lad wrote: >> From: Lad, Prabhakar >> >> This patch adds 'interrupt-parent' property in soc node, so that >> the child inherits this property, this avoids addi

Re: [PATCH v5 2/2] ARM: davinci: dm365 EVM: add support for VPBE display

2013-03-14 Thread Prabhakar Lad
Hi Sekhar, On Tue, Dec 4, 2012 at 6:52 PM, Sekhar Nori wrote: > On 12/3/2012 1:51 PM, Prabhakar Lad wrote: >> From: Manjunath Hadli >> >> add support for V4L2 video display to DM365 EVM. >> Support for SD and ED modes is provided, along with Composite >> and Co

[PATCH v6 0/2] ARM: davinci: add support for dm365 vpbe display

2013-03-15 Thread Prabhakar lad
From: Lad, Prabhakar This patch series enables VPBE display driver on DM365. This patch is work on on following pull request from Hans http://davinci-linux-open-source.1494791.n2.nabble.com/GIT-PULL-FOR-v3-10-tvp7002-davinci-blackfin-legacy-cleanups-td7582451.html Changes for v6: 1: Fixed

[PATCH v6 1/2] ARM: davinci: dm365: add support for v4l2 video display

2013-03-15 Thread Prabhakar lad
From: Lad, Prabhakar Create platform devices for various video modules like venc,osd, vpbe and v4l2 driver for dm365. Signed-off-by: Lad, Prabhakar --- arch/arm/mach-davinci/board-dm365-evm.c |4 +- arch/arm/mach-davinci/davinci.h |2 +- arch/arm/mach-davinci/dm365.c

[PATCH v6 2/2] ARM: davinci: dm365 EVM: add support for VPBE display

2013-03-15 Thread Prabhakar lad
From: Lad, Prabhakar add support for V4L2 video display to DM365 EVM. Support for SD and ED modes is provided, along with Composite and Component outputs. Signed-off-by: Lad, Prabhakar --- arch/arm/mach-davinci/board-dm365-evm.c | 164 ++- 1 files changed, 163

[PATCH v5 0/2] ARM: davinci: dm355: add support for vpbe display

2013-03-16 Thread Prabhakar lad
From: Lad, Prabhakar This patch series enables VPBE display driver on DM355. Changes for v5: 1: Rebased on 3.9, fix review comments pointed by Sekhar for DM365 series. Changes for v4: 1: pass different platform names to handle different ip's. Changes for v3: 1: Replaced obsolete preset A

  1   2   3   4   5   6   7   8   9   10   >