[PATCH v4] media: v4l2-ctrls: add control for dpcm predictor

2012-09-03 Thread Prabhakar Lad
From: Lad, Prabhakar add V4L2_CID_DPCM_PREDICTOR control of type menu, which determines the dpcm predictor. The predictor can be either simple or advanced. Signed-off-by: Lad, Prabhakar Signed-off-by: Manjunath Hadli Acked-by: Hans Verkuil Reviewed-by: Sylwester Nawrocki Cc: Sakari Ailus Cc

Re: [PATCH v4] media: v4l2-ctrls: add control for dpcm predictor

2012-09-04 Thread Prabhakar Lad
Hi Sakari, Thanks for the review. On Wednesday 05 September 2012 12:42 AM, Sakari Ailus wrote: > Hi Prabhakar, > > Thanks for the patch. I've got a few comments below. > > On Tue, Sep 04, 2012 at 11:07:52AM +0530, Prabhakar Lad wrote: >> From: Lad, Prabhakar >>

Re: Camera not detected on linux-next

2012-09-06 Thread Prabhakar Lad
ef2 > Thanks for the patch. I too had created one but didnt submit. I guess you will post the patch soon to the list. Thanks and Regards, --Prabhakar Lad > -- > > Regards, > Sylwester > -- > To unsubscribe from this list: send the line "unsubscribe linux-media" in

Re: Camera not detected on linux-next

2012-09-06 Thread Prabhakar Lad
Hi Sylwester, On Thu, Sep 6, 2012 at 4:19 PM, Sylwester Nawrocki wrote: > Hi Prabhakar, > > On 09/06/2012 11:16 AM, Prabhakar Lad wrote: >> Thanks for the patch. I too had created one but didnt submit. I guess you >> will >> post the patch soon to the list. > &

Re: [PATCH 10/12] [media] move i2c files into drivers/media/i2c

2012-09-06 Thread Prabhakar Lad
must be linked before any drivers that actually use it, > in order to ensure proper module initialization order. > > Also, the core drivers should be initialized before the drivers that use > them. > > This patch reorders the drivers init, in order to fulfill the above > requirement

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

2012-09-07 Thread Prabhakar Lad
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 Cc: Sakari Ailus Cc: Hans Verkuil Cc: Laurent Pinchart Cc: Mauro Carvalho Chehab Cc: Sylwester Nawroc

Re: [PATCH v4] media: v4l2-ctrls: add control for dpcm predictor

2012-09-07 Thread Prabhakar Lad
Hi Sakari, On Sat, Sep 8, 2012 at 12:16 AM, Sakari Ailus wrote: > Hi Prabhakar, > > > Prabhakar Lad wrote: >> >> Hi Sakari, >> >> Thanks for the review. >> >> On Wednesday 05 September 2012 12:42 AM, Sakari Ailus wrote: >>> >>> H

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

2012-09-07 Thread Prabhakar Lad
Hi Sakari, Thanks for the review. On Fri, Sep 7, 2012 at 11:50 PM, Sakari Ailus wrote: > Hi Prabhakar, > > Thanks for the patch! > > > Prabhakar Lad wrote: >> >> From: Lad, Prabhakar >> >> add V4L2_CID_TEST_PATTERN of type menu, which determines &g

[PATCH v5] media: v4l2-ctrls: add control for dpcm predictor

2012-09-09 Thread Prabhakar Lad
From: Lad, Prabhakar add V4L2_CID_DPCM_PREDICTOR control of type menu, which determines the dpcm predictor. The predictor can be either simple or advanced. Signed-off-by: Lad, Prabhakar Signed-off-by: Manjunath Hadli Acked-by: Hans Verkuil Reviewed-by: Sylwester Nawrocki Cc: Sakari Ailus Cc

[PATCH] media: v4l2-ctrl: add a helper fucntion to modify the menu

2012-09-10 Thread Prabhakar Lad
From: Lad, Prabhakar Signed-off-by: Lad, Prabhakar Signed-off-by: Manjunath Hadli Cc: Hans Verkuil Cc: Sakari Ailus Cc: Sylwester Nawrocki Cc: Laurent Pinchart Cc: Mauro Carvalho Chehab Cc: Hans de Goede Cc: Kyungmin Park Cc: Rob Landley --- Documentation/video4linux/v4l2-controls.txt

[PATCH v6] media: v4l2-ctrls: add control for dpcm predictor

2012-09-10 Thread Prabhakar Lad
From: Lad, Prabhakar add V4L2_CID_DPCM_PREDICTOR control of type menu, which determines the dpcm predictor. The predictor can be either simple or advanced. Signed-off-by: Lad, Prabhakar Signed-off-by: Manjunath Hadli Acked-by: Hans Verkuil Acked-by: Sakari Ailus Reviewed-by: Sylwester Nawroc

Re: [PATCH] media: v4l2-ctrl: add a helper fucntion to modify the menu

2012-09-10 Thread Prabhakar Lad
On Monday 10 September 2012 06:06 PM, Manjunath Hadli wrote: > Hi Hans, > > Thanks for the review. > > On Monday 10 September 2012 05:43 PM, Hans Verkuil wrote: >> On Mon September 10 2012 13:57:36 Prabhakar Lad wrote: >>> From: Lad, Prabhakar >>> >&g

[PATCH v2] media: v4l2-ctrl: add a helper function to modify the menu

2012-09-11 Thread Prabhakar Lad
From: Lad, Prabhakar Add a helper function to modify the menu, max and default value to set. Signed-off-by: Lad, Prabhakar Signed-off-by: Manjunath Hadli Cc: Hans Verkuil Cc: Sakari Ailus Cc: Sylwester Nawrocki Cc: Laurent Pinchart Cc: Mauro Carvalho Chehab Cc: Hans de Goede Cc: Kyungmin

Re: [PATCH v2] media: v4l2-ctrl: add a helper function to modify the menu

2012-09-11 Thread Prabhakar Lad
Hi Hans, Thanks for the review. On Tue, Sep 11, 2012 at 1:25 PM, Hans Verkuil wrote: > Hi Pradhakar, > > Looks good, but I have a number of style/grammar issues which I've corrected > below. > > On Tue 11 September 2012 09:39:02 Prabhakar Lad wrote: >> From: Lad,

[PATCH v3] media: v4l2-ctrl: add a helper function to modify the menu

2012-09-11 Thread Prabhakar Lad
From: Lad, Prabhakar Add a helper function to modify the menu, max and default value to set. Signed-off-by: Lad, Prabhakar Signed-off-by: Manjunath Hadli Cc: Hans Verkuil Cc: Sakari Ailus Cc: Sylwester Nawrocki Cc: Laurent Pinchart Cc: Mauro Carvalho Chehab Cc: Hans de Goede Cc: Kyungmin

Re: [RFCv1 PATCH 0/2] Two vpif fixes protecting the dma_queue by a lock

2012-11-18 Thread Prabhakar Lad
never saw this again. > > It makes sense as well since the interrupt routine and normal code both > manipulated the same list. > > It's fixed for both capture and display. > Acked-by: Prabhakar Lad I'll queue these patches for 3.8. Regards, --Prabhakar Lad > Rega

[PATCH] MAINTAINERS: Add entry for Davinci video drivers

2012-11-19 Thread Prabhakar Lad
f4b3aa8..9474cb4 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -6619,6 +6619,18 @@ S: Supported F: arch/arm/mach-davinci F: drivers/i2c/busses/i2c-davinci.c +TI DAVINCI SERIES MEDIA DRIVER +M: Manjunath Hadli +M: Prabhakar Lad +L: linux-media@vger.kernel.org +L

[PATCH] davinci: vpbe: pass different platform names to handle different ip's

2012-11-19 Thread Prabhakar Lad
From: Lad, Prabhakar The vpbe driver can handle different platforms DM644X, DM36X and DM355. To differentiate between this platforms venc_type/vpbe_type was passed as part of platform data which was incorrect. The correct way to differentiate to handle this case is by passing different platform n

Re: [PATCH v2] [media] vpif_capture: fix return value check

2012-11-19 Thread Prabhakar Lad
ons(-) > Applied to my tree with following change in commit header, 'davinci: vpif: fix return value check for vb2_dma_contig_init_ctx()' Regards, --Prabhakar Lad > diff --git a/drivers/media/platform/davinci/vpif_display.c > b/drivers/media/platform/davinci/vpif_display.c &

Re: [PATCH] [media] vpif_display: fix condition logic in vpif_enum_dv_timings()

2012-11-19 Thread Prabhakar Lad
t && should be ||. dpatch engine is used to auto generate this patch. (https://github.com/weiyj/dpatch) Regards, --Prabhakar Lad > diff --git a/drivers/media/platform/davinci/vpif_display.c > b/drivers/media/platform/davinci/vpif_display.c > index b716fbd..977ee43 100644 >

Re: [PATCH] [media] vpif_capture: fix condition logic in vpif_capture.c

2012-11-19 Thread Prabhakar Lad
n that && should be ||. dpatch engine is used to auto generate this patch. (https://github.com/weiyj/dpatch) Regards, --Prabhakar Lad > diff --git a/drivers/media/platform/davinci/vpif_capture.c > b/drivers/media/platform/davinci/vpif_capture.c > index fcabc02..2d28a96 100644 >

Re: [PATCH] davinci: vpbe: pass different platform names to handle different ip's

2012-11-20 Thread Prabhakar Lad
Sekhar, Thanks for the review. On Tue, Nov 20, 2012 at 2:40 PM, Sekhar Nori wrote: > > On 11/19/2012 6:48 PM, Prabhakar Lad wrote: >> From: Lad, Prabhakar >> >> The vpbe driver can handle different platforms DM644X, DM36X and >> DM355. To differentiate be

[PATCH v2] davinci: vpbe: pass different platform names to handle different ip's

2012-11-20 Thread Prabhakar Lad
From: Lad, Prabhakar The vpbe driver can handle different platforms DM644X, DM36X and DM355. To differentiate between this platforms venc_type/vpbe_type was passed as part of platform data which was incorrect. The correct way to differentiate to handle this case is by passing different platform n

[GIT PULL FOR v3.8] Davinci VPIF trivial fixes

2012-11-21 Thread Prabhakar Lad
Hi Mauro, Can you please pull the following patches for vpif, which fixes some trivial issues. Thanks and Regards, --Prabhakar Lad The following changes since commit 2c4e11b7c15af70580625657a154ea7ea70b8c76: [media] siano: fix RC compilation (2012-11-07 11:09:08 +0100) are available in the

Re: [PATCH 133/493] remove use of __devexit_p

2012-11-22 Thread Prabhakar Lad
/media/platform/davinci/vpss.c | 2 +- Acked-by: Prabhakar Lad -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH v2 00/12] Media Controller capture driver for DM365

2012-11-23 Thread Prabhakar Lad
Hi Sakari, On Fri, Nov 23, 2012 at 6:43 PM, Sakari Ailus wrote: > Hi Prabhakar and others, > > (Just resending; Laurent's e-mail address corrected, cc Hans, too.) > > On Fri, Nov 16, 2012 at 08:15:02PM +0530, Prabhakar Lad wrote: >> From: Manjunath Hadli >&

Re: [PATCH v2 00/12] Media Controller capture driver for DM365

2012-11-25 Thread Prabhakar Lad
Hi, On Fri, Nov 23, 2012 at 7:31 PM, Hans Verkuil wrote: > On Fri November 23 2012 14:57:53 Sakari Ailus wrote: >> Hi Prabhakar, >> >> On Fri, Nov 23, 2012 at 06:51:28PM +0530, Prabhakar Lad wrote: >> > Hi Sakari, >> > >> > On Fri, Nov 23,

Re: [PATCH v2 00/12] Media Controller capture driver for DM365

2012-11-25 Thread Prabhakar Lad
HI Sakari, On Mon, Nov 26, 2012 at 5:58 AM, Sakari Ailus wrote: > > Hi Prabhakar, > On Sun, Nov 25, 2012 at 09:57:23PM +0530, Prabhakar Lad wrote: >> On Fri, Nov 23, 2012 at 7:31 PM, Hans Verkuil wrote: >> > On Fri November 23 2012 14:57:53 Sakari Ailus wrote: > ...

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
02111-1307 USA + * + * Contributors: + * Manjunath Hadli + * Prabhakar Lad + */ + +#include +#include + +#include + +#include "vpfe.h" +#include "vpfe_mc_capture.h" + +/* minimum number of buffers needed in cont-mode */ +#define MIN_NUM_BUFFERS

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

2012-11-28 Thread Prabhakar Lad
+ * Prabhakar Lad + */ + +#include "dm365_ipipeif.h" +#include "vpfe_mc_capture.h" + +static const unsigned int ipipeif_input_fmts[] = { + V4L2_MBUS_FMT_UYVY8_2X8, + V4L2_MBUS_FMT_SGRBG12_1X12, + V4L2_MBUS_FMT_Y8_1X8, + V

[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/medi

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

2012-11-28 Thread Prabhakar Lad
right (C) 2012 Texas Instruments Inc + +Contacts: Manjunath Hadli + Prabhakar Lad + + +Introduction + + +This file documents the Texas Instruments Davinci Video processing Front End +(VPFE) driver located under drivers/media/platform/davinci. The original driver +exists for Da

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

2012-11-28 Thread Prabhakar Lad
received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Contributors: + * Manjunath Hadli + * Prabhakar Lad + */ + +#include "dm365_ipipe

[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 in

[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 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(-) di

[GIT PULL FOR v3.8] Mediabus And Pixel format supported by DM365

2012-11-28 Thread Prabhakar Lad
drivers using this formats http://patchwork.linuxtv.org/patch/15690/ . Thanks and Regards, --Prabhakar Lad The following changes since commit c6c22955f80f2db9614b01fe5a3d1cfcd8b3d848: [media] dma-mapping: fix dma_common_get_sgtable() conditional compilation (2012-11-27 09:42:31 -0200) are

[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 Si

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
auro Carvalho Chehab wrote: >> > Hi Prabhakar, >> > >> > Em Wed, 28 Nov 2012 16:12:09 +0530 >> > >> > Prabhakar Lad escreveu: >> > > +Introduction >> > > + >> > > + >> > > + This file documents

Re: [PATCH] [media] v4l: Add mt9v034 sensor driver

2012-11-29 Thread Prabhakar Lad
us_framefmt *__format; > + struct v4l2_rect *__crop; > + struct v4l2_rect rect; > + > + /* Clamp the crop rectangle boundaries and align them to a multiple > +* of 2 pixels to ensure a BGGR Bayer pattern. > +*/ > + rect.left = clamp(

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

2012-11-30 Thread Prabhakar Lad
From: Lad, Prabhakar This patch series adds helper functions and enables the VPSS and ISP registers required for VPFE to work. Changes for v4: 1: Fixed review comment from Sakari. Manjunath Hadli (3): davinci: vpss: dm365: enable ISP registers davinci: vpss: dm365: set vpss clk ctrl davin

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

2012-11-30 Thread Prabhakar Lad
From: Manjunath Hadli enable the clocks required for VPFE to work in PCCR register, and enbale ISIF out on BCR to get the correct operation from ISIF. Signed-off-by: Manjunath Hadli Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/vpss.c | 23 ++- 1 files

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

2012-11-30 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 | 15 +++ 1 files changed, 15 insertions(+), 0 deletions(-) d

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

2012-11-30 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 in

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

2012-11-30 Thread Prabhakar Lad
From: Lad, Prabhakar 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. This patch set adds media controller based capture driver for DM365. This driver bases its design on Laurent Pinchart's Media Control

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

2012-11-30 Thread Prabhakar Lad
the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Contributors: + * Manjunath Hadli + * Prabhakar Lad + */ + +#include +#include + +#include + +#include "vpfe.h" +#include "vpfe_mc_capture.h" + +/* minimum number

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

2012-11-30 Thread Prabhakar Lad
, Boston, MA 02111-1307 USA + * + * Contributors: + * Manjunath Hadli + * Prabhakar Lad + */ + +#include "dm365_ipipeif.h" +#include "vpfe_mc_capture.h" + +static const unsigned int ipipeif_input_fmts[] = { + V4L2_MBUS_FMT_UYVY8_2X8, + V4L2_M

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

2012-11-30 Thread Prabhakar Lad
: + * Manjunath Hadli + * Prabhakar Lad + */ + +#include "dm365_ipipe_hw.h" + +#define IPIPE_MODE_CONTINUOUS 0 +#define IPIPE_MODE_SINGLE_SHOT 1 + +static void ipipe_clock_enable(void *__iomem base_addr) +{ + /* enable IPIPE MMR for register write access */ +

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

2012-11-30 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 Acked-by: Laurent Pinchart Acked-by: Sakari Ailus Acked-by: Hans Verkuil --- drivers/staging/media/Kconfig |2 ++

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

2012-11-30 Thread Prabhakar Lad
FE) driver + +Copyright (C) 2012 Texas Instruments Inc + +Contacts: Manjunath Hadli + Prabhakar Lad + + +Introduction + + +This file documents the Texas Instruments Davinci Video processing Front End +(VPFE) driver located under drivers/media/platform/davinci. The original driver +

Re: [PATCH -next] [media] davinci: vpbe: remove unused variable in vpbe_initialize()

2012-12-02 Thread Prabhakar Lad
Hi Wei, Thanks for the patch. On Mon, Dec 3, 2012 at 8:23 AM, Wei Yongjun wrote: > From: Wei Yongjun > > The variable 'output_index' is initialized but never used > otherwise, so remove the unused variable. > > Signed-off-by: Wei Yongjun Acked-by: Prabhaka

Re: [PATCH -next] [media] media: davinci: vpbe: return error code on error in vpbe_display_g_crop()

2012-12-02 Thread Prabhakar Lad
Wei, On Mon, Dec 3, 2012 at 8:20 AM, Wei Yongjun wrote: > From: Wei Yongjun > > We have assigned error code to 'ret' if crop->type is not > V4L2_BUF_TYPE_VIDEO_OUTPUT, but never use it. > We'd better return the error code on this error. > > Signed-off-by

Re: [PATCH -next] [media] media: davinci: vpbe: fix return value check in vpbe_display_reqbufs()

2012-12-02 Thread Prabhakar Lad
: Wei Yongjun Acked-by: Prabhakar Lad Regards, --Prabhakar > --- > drivers/media/platform/davinci/vpbe_display.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/media/platform/davinci/vpbe_display.c > b/drivers/media/platform/davinci/

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

2012-12-05 Thread Prabhakar Lad
From: Lad, Prabhakar add support for per color component digital/analog gain controls and also their corresponding offset. Signed-off-by: Lad, Prabhakar Cc: Sakari Ailus Cc: Laurent Pinchart Cc: Kyungmin Park Cc: Guennadi Liakhovetski Cc: Sylwester Nawrocki Cc: Hans Verkuil Cc: Hans de Go

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

2012-12-05 Thread Prabhakar Lad
Hi Hans, On Wed, Dec 5, 2012 at 5:38 PM, Hans Verkuil wrote: > (resend without HTML formatting) > > On Wed 5 December 2012 12:49:29 Prabhakar Lad wrote: >> From: Lad, Prabhakar >> >> add support for per color component digital/analog gain controls >> an

Re: [PATCH 444/493] media: remove use of __devexit

2012-12-05 Thread Prabhakar Lad
drivers/media/platform/davinci/vpss.c| 2 +- Acked-by: Prabhakar Lad Regards, --Prabhakar [snip] > -- > 1.8.0 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-media" in > the body of a message to majord...@vge

Re: [PATCH 234/493] media: remove use of __devinit

2012-12-05 Thread Prabhakar Lad
vinci/vpif.c | 2 +- > drivers/media/platform/davinci/vpss.c | 2 +- Acked-by: Prabhakar Lad Regards, --Prabhakar > -- > 1.8.0 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-media" in > the body of a messag

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

2012-12-11 Thread Prabhakar Lad
Hi Hans, On Tue, Dec 11, 2012 at 2:26 PM, Hans Verkuil wrote: > On Thu 6 December 2012 10:54:32 Sakari Ailus wrote: >> Hi Prabhakar and Hans, >> >> On Thu, Dec 06, 2012 at 10:24:18AM +0530, Prabhakar Lad wrote: >> > Hi Hans, >> > >> > On

Re: [PATCH 2/5] media: davinci: fix return value check in vpbe_display_reqbufs().

2012-12-11 Thread Prabhakar Lad
h/1830231/ Regards, --Prabhakar Lad > Signed-off-by: Cyril Roelandt > --- > drivers/media/platform/davinci/vpbe_display.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/media/platform/davinci/vpbe_display.c > b/drivers/media/platform/

[GIT PULL FOR v3.9] Davinci VPSS Updates

2012-12-20 Thread Prabhakar Lad
Hi Mauro, Please pull the following patches for DaVinci VPSS driver. These patches have undergone under enormous reviews and are ready to be queued. Thanks and Regards, --Prabhakar Lad The following changes since commit 4bb891ebf60eb43ebd04e09bbcad24013067873f: [media] ivtv: ivtv-driver

[GIT PULL FOR v3.9] Davinci VPFE Media Controller capture driver for DM365

2012-12-21 Thread Prabhakar Lad
Hi Mauro, Please pull the following patches for DaVinci VPFE driver for DM365. The patches have gone through good amount of reviews, and Acked by Laurent, Hans and Sakari and is agreed to be part of the staging. Regards, --Prabhakar The following changes since commit 4bb891ebf60eb43ebd04e09bbca

[GIT PULL FOR v3.9] Davinci VPBE Trivial Fixes

2012-12-21 Thread Prabhakar Lad
Hi Mauro, Please pull the following patches for DaVinci VPBE driver. One of the patch has ARM changes and is Acked-by the ARM maintainer. Thanks and Regards, --Prabhakar Lad The following changes since commit 4bb891ebf60eb43ebd04e09bbcad24013067873f: [media] ivtv: ivtv-driver: Replace

Re: DT bindings for subdevices

2013-01-02 Thread Prabhakar Lad
Hi Guennadi, Thanks for your response! On Wed, Jan 2, 2013 at 3:49 PM, Guennadi Liakhovetski wrote: > Hi Prabhakar > > On Wed, 2 Jan 2013, Prabhakar Lad wrote: > >> Hi, >> >> This is my first step towards DT support for media, Question might be >> bit amateu

Re: [PATCH] tvp7002: use devm_kzalloc() instead of kzalloc()

2013-01-03 Thread Prabhakar Lad
Hi Laurent, Thanks for the quick review! On Thu, Jan 3, 2013 at 7:02 PM, Laurent Pinchart wrote: > On Thursday 03 January 2013 14:31:20 Laurent Pinchart wrote: >> On Thursday 03 January 2013 18:52:42 Lad, Prabhakar wrote: >> > I2C drivers can use devm_kzalloc() too in their .probe() methods. Doi

Re: DT bindings for subdevices

2013-01-04 Thread Prabhakar Lad
Hi Guennadi, On Wed, Jan 2, 2013 at 3:49 PM, Guennadi Liakhovetski wrote: > Hi Prabhakar > > On Wed, 2 Jan 2013, Prabhakar Lad wrote: > >> Hi, >> >> This is my first step towards DT support for media, Question might be >> bit amateur :) > > No worrie

Re: [PATCH] [media] davinci: vpbe: fix missing unlock on error in vpbe_initialize()

2013-01-06 Thread Prabhakar Lad
Hi Wei, Thanks for the patch. On Mon, Oct 22, 2012 at 11:06 AM, Wei Yongjun wrote: > From: Wei Yongjun > > Add the missing unlock on the error handling path in function > vpbe_initialize(). > > Signed-off-by: Wei Yongjun Acked-by: Prabhakar Lad > --- > no tes

Re: Status of the patches under review at LMML (35 patches)

2013-01-06 Thread Prabhakar Lad
ed via email). > > > == Prabhakar Lad == > > Aug,24 2012: Corrected Oops on omap_vout when no manager is connected > http://patchwork.linuxtv.org/patch/14033 Federico Fuga > Tomi can you take care of this patch ? > Oct,22 2012: [media]

Re: Status of the patches under review at LMML (35 patches)

2013-01-07 Thread Prabhakar Lad
Hi Laurent, On Mon, Jan 7, 2013 at 5:43 PM, Laurent Pinchart wrote: > Hi Prabhakar, > > On Monday 07 January 2013 11:26:01 Prabhakar Lad wrote: >> On Sun, Jan 6, 2013 at 7:04 PM, Mauro Carvalho Chehab wrote: >> > This is the summary of the patches that are currently un

Re: [PATCH RFC 1/3] davinci: vpif: capture: add V4L2-async support

2013-01-09 Thread Prabhakar Lad
Hi Hans, Thanks for the review! On Wed, Jan 9, 2013 at 9:12 PM, Hans Verkuil wrote: > On Wed 9 January 2013 14:41:25 Lad, Prabhakar wrote: >> Add support for asynchronous subdevice probing, using the v4l2-async API. >> The legacy synchronous mode is still supported too, which allows to >> gradua

Re: [PATCH 1/6 v5] media: V4L2: support asynchronous subdevice registration

2013-01-09 Thread Prabhakar Lad
finish its > own probing and continue its video subsystem configuration from its > callbacks. > > Signed-off-by: Guennadi Liakhovetski Tested-by: Lad, Prabhakar Regards, --Prabhakar Lad > --- > v5: Now really fix the case, when subdevices probe successfully before the > brid

[GIT PULL FOR v3.9] media i2c devices trivial fixes

2013-01-15 Thread Prabhakar Lad
Hi Mauro, Please pull the following patches, which use devm_kzalloc() instead of kzalloc(). Regards, --Prabhakar Lad The following changes since commit 3151d14aa6e983aa36d51a80d0477859f9ba12af: [media] media: remove __dev* annotations (2013-01-11 13:03:24 -0200) are available in the git

[GIT PULL FOR v3.9] Davinci media trivial fixes

2013-01-15 Thread Prabhakar Lad
Hi Mauro, Please pull the following patches for DaVinci media, fixing trivial issues. Regards, --Prabhakar Lad The following changes since commit 3151d14aa6e983aa36d51a80d0477859f9ba12af: [media] media: remove __dev* annotations (2013-01-11 13:03:24 -0200) are available in the git

Re: [PATCH] media: adv7343: accept configuration through platform data

2013-01-21 Thread Prabhakar Lad
Hi Hans, Thanks for the review! On Mon, Jan 21, 2013 at 3:31 PM, Hans Verkuil wrote: > On Tue January 15 2013 09:00:53 Lad, Prabhakar wrote: >> The current code was implemented with some default configurations, >> this default configuration works on board and doesn't work on other. >> >> This pa

[PATCH v2] media: adv7343: accept configuration through platform data

2013-01-21 Thread Prabhakar Lad
From: Lad, Prabhakar The current code was implemented with some default configurations, this default configuration works on board and doesn't work on other. This patch accepts the configuration through platform data and configures the encoder depending on the data passed. Signed-off-by: Lad, Pr

[GIT PULL for v3.8-rc] DaVinci media fixes for v3.8

2013-01-23 Thread Prabhakar Lad
Hi Mauro, Please pull the following patches which fixes display on DA850 EVM . To avoid conflicts I have included a arm patch, which has been Acked by its maintainer. Fixes : - adv7343 encoder: fix configuring the encoder. - da850: pass data for adv7343 encoder for required configuratio

[PATCH RFC] media: tvp514x: add OF support

2013-01-24 Thread Prabhakar Lad
-git a/drivers/media/i2c/tvp514x.c b/drivers/media/i2c/tvp514x.c index a4f0a70..0e2b15c 100644 --- a/drivers/media/i2c/tvp514x.c +++ b/drivers/media/i2c/tvp514x.c @@ -12,6 +12,7 @@ * Hardik Shah * Manjunath Hadli * Karicheri Muralidharan + * Prabhakar Lad * * This packa

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
e on it and post a v2. Regards, --Prabhakar > On Thursday 24 January 2013 14:42:20 Prabhakar Lad wrote: >> From: Lad, Prabhakar >> >> add OF support for the tvp514x driver. >> >> Signed-off-by: Lad, Prabhakar >> Cc: Hans Verkuil >> Cc: Laurent Pinchart

[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 f

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

2013-01-24 Thread Prabhakar Lad
From: Manjunath Hadli A lot of SOCs including Texas Instruments Davinci family mainly use video decoders as input devices. Here the initial subdevice node from where the input really comes is this decoder, for which support is needed as part of the Media Controller infrastructure. This patch adds

[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
--- a/drivers/media/i2c/tvp514x.c +++ b/drivers/media/i2c/tvp514x.c @@ -12,6 +12,7 @@ * Hardik Shah * Manjunath Hadli * Karicheri Muralidharan + * Prabhakar Lad * * This package is free software; you can redistribute it and/or modify * it under the terms of the GNU

[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/i

[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-ident.

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
From: Manjunath Hadli A lot of SOCs including Texas Instruments Davinci family mainly use video decoders as input devices. This patch adds a flag 'MEDIA_ENT_T_V4L2_SUBDEV_DECODER' media entity type for decoder's. Along side updates the documentation for this media entity type. Signed-off-by: Man

Re: [FYI PATCH] Cisco's ths7353 driver...

2013-01-29 Thread Prabhakar Lad
Hi Hans, On Fri, Jan 25, 2013 at 5:27 PM, Hans Verkuil wrote: > Hi Prabhakar, > > As mentioned in my review of your ths7353 driver we (Cisco) have a driver > for this device as well. Below is our driver so you can take the best bits > of both. > Thanks for sharing the patch. > However, I wonder

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

2013-01-29 Thread Prabhakar Lad
s/media/i2c/tvp514x.c index a4f0a70..24ce759 100644 --- a/drivers/media/i2c/tvp514x.c +++ b/drivers/media/i2c/tvp514x.c @@ -12,6 +12,7 @@ * Hardik Shah * Manjunath Hadli * Karicheri Muralidharan + * Prabhakar Lad * * This package is free software; you can redistribute it

[QUERY] V4L async api

2013-01-30 Thread Prabhakar Lad
Hi Guennadi, I am working on adding v4l-asyn for capture and display device.. Here is my hw details:-- 1: The capture device has two subdevs tvp514x @0x5c and tvp514x @0x5d. 2: The display device has a one subdev adv7343 @0x2a. Note:- I have added async support for all the subdevices and the

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 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: >> &

<    1   2   3   4   5   6   7   >