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

2012-11-29 Thread Manjunath Hadli
Hi Mauro, On Thursday 29 November 2012 04:09 PM, Mauro Carvalho Chehab wrote: Em Thu, 29 Nov 2012 08:43:36 +0100 Hans Verkuil hverk...@xs4all.nl escreveu: On Wed November 28 2012 20:30:21 Greg Kroah-Hartman wrote: On Wed, Nov 28, 2012 at 08:18:20PM +0100, Hans Verkuil wrote: On Wed

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

2012-09-10 Thread Manjunath Hadli
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 prabhakar@ti.com Signed-off-by: Lad, Prabhakar prabhakar@ti.com Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com

Re: [PATCH] [media] davinci: vpfe: Add documentation

2012-08-22 Thread Manjunath Hadli
Hi Sakari, On Thursday 16 August 2012 09:53 PM, Sakari Ailus wrote: Hi Manju, On Thu, Aug 09, 2012 at 09:13:52AM +0530, Manjunath Hadli wrote: Hi Sakari, Thank you for the comments. Thanks for the graphs! On Thursday 02 August 2012 05:37 AM, Sakari Ailus wrote: Hi Manju, Thanks

Re: [PATCH 0/1 v2] media/video: vpif: fixing function name start to vpif_config_params

2012-08-13 Thread Manjunath Hadli
-by: Manjunath Hadli manjunath.ha...@ti.com Thx, --Manju ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Re: [PATCH] [media] davinci: vpfe: Add documentation

2012-08-08 Thread Manjunath Hadli
, but the original patch isn't on linux-media even if the list was cc'd. Dropping linux-kernel from cc. Manjunath Hadli wrote: Add documentation on the Davinci VPFE driver. Document the subdevs, and private IOTCLs the driver implements Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Signed-off

[PATCH] [media] davinci: vpfe: Add documentation

2012-07-11 Thread Manjunath Hadli
Add documentation on the Davinci VPFE driver. Document the subdevs, and private IOTCLs the driver implements Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Signed-off-by: Lad, Prabhakar prabhakar@ti.com --- Documentation/video4linux/davinci-vpfe-mc.txt | 263

[PATCH v3 01/13] davinci: vpif: add check for genuine interrupts in the isr

2012-06-25 Thread Manjunath Hadli
interrupts. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Signed-off-by: Lad, Prabhakar prabhakar@ti.com --- drivers/media/video/davinci/vpif.h | 15 +++ drivers/media/video/davinci/vpif_capture.c |3 +++ drivers/media/video/davinci/vpif_display.c |3 +++ 3 files

[PATCH v3 00/13] davinci: add vpif support for da850/omap-l138

2012-06-25 Thread Manjunath Hadli
to move the function from board to driver file which checks the interrupt is genuine, and moved dma_declare_coherent_memory() to board file for both capture and display driver. Manjunath Hadli (13): davinci: vpif: add check for genuine interrupts in the isr davinci: vpif: make generic

[PATCH v3 03/13] davinci: vpif: make request_irq flags as shared

2012-06-25 Thread Manjunath Hadli
omap-l138 shares the interrupt between capture and display. Make sure we are able to request for the same irq number by making a shared irq request. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Signed-off-by: Lad, Prabhakar prabhakar@ti.com --- drivers/media/video/davinci

[PATCH v3 04/13] davinci: vpif: fix setting of data width in config_vpif_params() function

2012-06-25 Thread Manjunath Hadli
fix setting of data width in config_vpif_params() function, which was wrongly set. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Signed-off-by: Lad, Prabhakar prabhakar@ti.com --- drivers/media/video/davinci/vpif.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff

[PATCH v3 02/13] davinci: vpif: make generic changes to re-use the vpif drivers on da850/omap-l138 soc

2012-06-25 Thread Manjunath Hadli
change the dm646x specific strings in the driver to make them generic across platforms. In this case change all the strings which have a dm646x connotation to vpif which is a platform independent ip. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Signed-off-by: Lad, Prabhakar prabhakar

[PATCH v3 05/13] davinci: vpif display: size up the memory for the buffers from the buffer pool

2012-06-25 Thread Manjunath Hadli
Size up the memory for the buffers from the buffer pool allocated in board file. Then adjust the reqbuf count depending the available memory. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Signed-off-by: Lad, Prabhakar prabhakar@ti.com --- drivers/media/video/davinci/vpif_display.c

[PATCH v3 06/13] davinci: vpif capture: size up the memory for the buffers from the buffer pool

2012-06-25 Thread Manjunath Hadli
Size up the memory for the buffers from the buffer pool allocated in board file. Then adjust the reqbuf count depending the available memory. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Signed-off-by: Lad, Prabhakar prabhakar@ti.com --- drivers/media/video/davinci/vpif_capture.c

[PATCH v3 07/13] davinci: vpif: add support to use videobuf_iolock()

2012-06-25 Thread Manjunath Hadli
add support to use videobuf_iolock() instead of VPIF defined vpif_uservirt_to_phys API. Use videobuf_to_dma_contig API for both memory-mapped and userptr buffer allocations. Correspondingly removed vpif_uservirt_to_phys() VPIF defined API. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com

[PATCH v3 09/13] davinci: vpif display: Add power management support

2012-06-25 Thread Manjunath Hadli
Implement power management operations - suspend and resume as part of dev_pm_ops for VPIF display driver. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Signed-off-by: Lad, Prabhakar prabhakar@ti.com --- drivers/media/video/davinci/vpif_display.c | 75 1

[PATCH v3 10/13] davinci: vpif capture:Add power management support

2012-06-25 Thread Manjunath Hadli
Implement power management operations - suspend and resume as part of dev_pm_ops for VPIF capture driver. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Signed-off-by: Lad, Prabhakar prabhakar@ti.com --- drivers/media/video/davinci/vpif_capture.c | 77 +++ 1

[PATCH v3 08/13] davinci: vpif: add support for clipping on output data

2012-06-25 Thread Manjunath Hadli
add hardware clipping support for VPIF output data. This is needed as it is possible that the external encoder might get confused between the FF or 00 which are a part of the data and that of the SAV or EAV codes. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Signed-off-by: Lad, Prabhakar

[PATCH v3 11/13] davinci: vpif: Add suspend/resume callbacks to vpif driver

2012-06-25 Thread Manjunath Hadli
clock on suspend/resume respectively. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Signed-off-by: Lad, Prabhakar prabhakar@ti.com --- drivers/media/video/davinci/vpif.c | 41 1 files changed, 41 insertions(+), 0 deletions(-) diff --git

[PATCH v3 12/13] davinci: vpif: add build configuration for vpif drivers

2012-06-25 Thread Manjunath Hadli
add generic build configuration for vpif capture and display drivers as it is common for DM6467/DA850/OMAP-L138. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Signed-off-by: Lad, Prabhakar prabhakar@ti.com --- drivers/media/video/davinci/Kconfig | 22

[PATCH v3 13/13] davinci: vpif: Enable selection of the ADV7343 and THS7303

2012-06-25 Thread Manjunath Hadli
The auto selection of pertinent helper chips (VIDEO_HELPER_CHIPS_AUTO) should select the ADV7343 and THS7303 driver, which is used by VPIF display driver. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Signed-off-by: Lad, Prabhakar prabhakar@ti.com --- drivers/media/video/davinci

[PATCH v2 00/13] davinci: add vpif support for da850/omap-l138

2012-04-17 Thread Manjunath Hadli
videobuf_iolock() instead of VPIF defined vpif_uservirt_to_phys API for both capture and display driver. 4: Added support to clipping of output data. 5: Added power management operations - suspend and resume for both capture and display driver. Manjunath Hadli (13): davinci: vpif: add check

[PATCH v2 01/13] davinci: vpif: add check for genuine interrupts in the isr

2012-04-17 Thread Manjunath Hadli
interrupts. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com --- drivers/media/video/davinci/vpif_capture.c |5 + drivers/media/video/davinci/vpif_display.c |5 + include/media/davinci/vpif_types.h |2 ++ 3 files changed, 12 insertions(+), 0 deletions(-) diff --git

[PATCH v2 04/13] davinci: vpif: fix setting of data width in config_vpif_params() function

2012-04-17 Thread Manjunath Hadli
fix setting of data width in config_vpif_params() function, which was wrongly set. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com --- drivers/media/video/davinci/vpif.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/media/video/davinci/vpif.c b/drivers

[PATCH v2 02/13] davinci: vpif: make generic changes to re-use the vpif drivers on da850/omap-l138 soc

2012-04-17 Thread Manjunath Hadli
change the dm646x specific strings in the driver to make them generic across platforms. In this case change all the strings which have a dm646x connotation to vpif which is a platform independent ip. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com --- drivers/media/video/davinci/vpif.c

[PATCH v2 03/13] davinci: vpif: make request_irq flags as shared

2012-04-17 Thread Manjunath Hadli
omap-l138 shares the interrupt between capture and display. Make sure we are able to request for the same irq number by making a shared irq request. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com --- drivers/media/video/davinci/vpif_capture.c |2 +- drivers/media/video/davinci

[PATCH v2 05/13] davinci: vpif display: declare contiguous region of memory handled by dma_alloc_coherent

2012-04-17 Thread Manjunath Hadli
add support to declare contiguous region of memory to be handled when requested by dma_alloc_coherent call. The user can specify the size of the buffers with an offset from the kernel image using cont_bufsize and cont_bufoffset module parameters respectively. Signed-off-by: Manjunath Hadli

[PATCH v2 06/13] davinci: vpif capture: declare contiguous region of memory handled by dma_alloc_coherent

2012-04-17 Thread Manjunath Hadli
respectively. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com --- drivers/media/video/davinci/vpif_capture.c | 62 +++- drivers/media/video/davinci/vpif_capture.h |1 + 2 files changed, 61 insertions(+), 2 deletions(-) diff --git a/drivers/media/video/davinci

[PATCH v2 08/13] davinci: vpif: add support for clipping on output data

2012-04-17 Thread Manjunath Hadli
add hardware clipping support for VPIF output data. This is needed as it is possible that the external encoder might get confused between the FF or 00 which are a part of the data and that of the SAV or EAV codes. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com --- drivers/media/video

[PATCH v2 10/13] davinci: vpif capture:Add power management support

2012-04-17 Thread Manjunath Hadli
Implement power management operations - suspend and resume as part of dev_pm_ops for VPIF capture driver. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com --- drivers/media/video/davinci/vpif_capture.c | 77 +++ 1 files changed, 65 insertions(+), 12 deletions

[PATCH v2 13/13] davinci: vpif: Enable selection of the ADV7343 and THS7303

2012-04-17 Thread Manjunath Hadli
The auto selection of pertinent helper chips (VIDEO_HELPER_CHIPS_AUTO) should select the ADV7343 and THS7303 driver, which is used by VPIF display driver. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com --- drivers/media/video/davinci/Kconfig |4 ++-- 1 files changed, 2 insertions

[PATCH v2 12/13] davinci: vpif: add build configuration for vpif drivers

2012-04-17 Thread Manjunath Hadli
add generic build configuration for vpif capture and display drivers as it is common for DM6467/DA850/OMAP-L138. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com --- drivers/media/video/davinci/Kconfig | 22 +- drivers/media/video/davinci/Makefile |8 2

[PATCH v2 11/13] davinci: vpif: Add suspend/resume callbacks to vpif driver

2012-04-17 Thread Manjunath Hadli
clock on suspend/resume respectively. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com --- drivers/media/video/davinci/vpif.c | 41 1 files changed, 41 insertions(+), 0 deletions(-) diff --git a/drivers/media/video/davinci/vpif.c b/drivers/media/video

[PATCH v2 07/13] davinci: vpif: add support to use videobuf_iolock()

2012-04-17 Thread Manjunath Hadli
add support to use videobuf_iolock() instead of VPIF defined vpif_uservirt_to_phys API. Use videobuf_to_dma_contig API for both memory-mapped and userptr buffer allocations. Correspondingly removed vpif_uservirt_to_phys() VPIF defined API. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com

[PATCH v4 0/2] add dm365 specific media formats

2012-03-30 Thread Manjunath Hadli
, V4L2_MBUS_FMT_SBGGR10_ALAW8_1X8, V4L2_MBUS_FMT_SGBRG10_ALAW8_1X8, V4L2_MBUS_FMT_SGRBG10_ALAW8_1X8, V4L2_MBUS_FMT_SRGGB10_ALAW8_1X8. 2: Added documentation of ALAW and UV8 pix format. Manjunath Hadli (2): media: add new mediabus format enums for dm365 v4l2: add new pixel formats supported on dm365

[PATCH v4 2/2] v4l2: add new pixel formats supported on dm365

2012-03-30 Thread Manjunath Hadli
add new macro V4L2_PIX_FMT_SGRBG10ALAW8 and associated formats to represent Bayer format frames compressed by A-LAW algorithm, add V4L2_PIX_FMT_UV8 to represent storage of CbCr data (UV interleaved) only. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Cc: Laurent Pinchart laurent.pinch

[PATCH v4 1/2] media: add new mediabus format enums for dm365

2012-03-30 Thread Manjunath Hadli
that is supported by dm365 hardware. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Cc: Laurent Pinchart laurent.pinch...@ideasonboard.com Cc: Sakari Ailus sakari.ai...@iki.fi Cc: Hans Verkuil hans.verk...@cisco.com --- Documentation/DocBook/media/v4l/subdev-formats.xml | 171

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

2012-02-23 Thread Manjunath Hadli
offset and bit masks appropriately wherever required as suggested by Sekhar. Manjunath Hadli (2): ARM: davinci: dm644x: add support for v4l2 video display ARM: davinci: dm644x evm: add support for VPBE display arch/arm/mach-davinci/board-dm644x-evm.c | 108 +++- arch/arm/mach

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

2012-02-23 Thread Manjunath Hadli
with minimal changes. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com --- arch/arm/mach-davinci/board-dm644x-evm.c |2 +- arch/arm/mach-davinci/davinci.h |8 ++- arch/arm/mach-davinci/dm644x.c | 166 +++--- 3 files changed, 161 insertions(+), 15

[PATCH v8 2/2] ARM: davinci: dm644x evm: add support for VPBE display

2012-02-23 Thread Manjunath Hadli
This patch adds support for V4L2 video display to DM6446 EVM. Support for SD and ED modes is provided, along with Composite and Component outputs. Also added vpbe_config as a parameter for dm644x_init_video to allow for registration of vpbe platform devices. Signed-off-by: Manjunath Hadli

[PATCH v3 0/2] add dm365 specific media formats

2012-02-07 Thread Manjunath Hadli
, V4L2_MBUS_FMT_SGRBG10_ALAW8_1X8, V4L2_MBUS_FMT_SRGGB10_ALAW8_1X8. 2: Added documentation of ALAW and UV8 pix format. Manjunath Hadli (2): media: add new mediabus format enums for dm365 v4l2: add new pixel formats supported on dm365 .../DocBook/media/v4l/pixfmt-srggb10alaw8.xml | 34 Documentation/DocBook

[PATCH v3 2/2] v4l2: add new pixel formats supported on dm365

2012-02-07 Thread Manjunath Hadli
add new macro V4L2_PIX_FMT_SGRBG10ALAW8 and associated formats to represent Bayer format frames compressed by A-LAW algorithm, add V4L2_PIX_FMT_UV8 to represent storage of C data (UV interleaved) only. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Cc: Laurent Pinchart laurent.pinch

[PATCH v3 1/2] media: add new mediabus format enums for dm365

2012-02-07 Thread Manjunath Hadli
that is supported by dm365 hardware. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Cc: Laurent Pinchart laurent.pinch...@ideasonboard.com --- Documentation/DocBook/media/v4l/subdev-formats.xml | 171 include/linux/v4l2-mediabus.h | 10 +- 2 files changed

[PATCH 3/4] davinci: vpif: make request_irq flags as shared

2012-01-25 Thread Manjunath Hadli
omap-l138 shares the interrupt between capture and display. Make sure we are able to request for the same irq number by making a shared irq request. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com --- drivers/media/video/davinci/vpif_capture.c |2 +- drivers/media/video/davinci

[PATCH 0/4] davinci: add vpif support for da850/omap-l138

2012-01-25 Thread Manjunath Hadli
add vpif capture and display driver support for da850/omap-l138 by taking care of the interrupt behavior changes and removing platform specific connotations. Manjunath Hadli (4): davinci: vpif: add check for genuine interrupts in the isr davinci: vpif: make generic changes to re-use the vpif

[PATCH 1/4] davinci: vpif: add check for genuine interrupts in the isr

2012-01-25 Thread Manjunath Hadli
add a condition to in the isr to check for interrupt ownership and channel number to make sure we do not service wrong interrupts. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com --- drivers/media/video/davinci/vpif_capture.c |5 + drivers/media/video/davinci/vpif_display.c |5

[PATCH 2/4] davinci: vpif: make generic changes to re-use the vpif drivers on da850/omap-l138 soc

2012-01-25 Thread Manjunath Hadli
change the dm646x specific strings in the driver to make them generic across platforms. In this case change all the strings which have a dm646x connotation to vpif which is a platform independent ip. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com --- drivers/media/video/davinci/vpif.c

[PATCH 4/4] davinci: da850: add build configuration for vpif drivers

2012-01-25 Thread Manjunath Hadli
add build configuration for da850/omapl-138 for vpif capture and display drivers. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com --- drivers/media/video/davinci/Kconfig | 26 +- drivers/media/video/davinci/Makefile |5 + 2 files changed, 30 insertions

[PATCH v2 0/2] add dm365 specific media formats

2012-01-20 Thread Manjunath Hadli
for V4L2_MBUS_FMT_YDYC8_1X16, V4L2_MBUS_FMT_UV8_1X8, V4L2_MBUS_FMT_SBGGR10_ALAW8_1X8, V4L2_MBUS_FMT_SGBRG10_ALAW8_1X8, V4L2_MBUS_FMT_SGRBG10_ALAW8_1X8, V4L2_MBUS_FMT_SRGGB10_ALAW8_1X8. 2: Added documentation of ALAW and UV8 pix format. Manjunath Hadli (2): media: add new mediabus

[PATCH v2 1/2] media: add new mediabus format enums for dm365

2012-01-20 Thread Manjunath Hadli
that is supported by dm365 hardware. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Cc: Laurent Pinchart laurent.pinch...@ideasonboard.com --- Documentation/DocBook/media/v4l/subdev-formats.xml | 171 include/linux/v4l2-mediabus.h | 10 +- 2 files changed

[PATCH v2 2/2] v4l2: add new pixel formats supported on dm365

2012-01-20 Thread Manjunath Hadli
add new macro V4L2_PIX_FMT_SGRBG10ALAW8 and associated formats to represent Bayer format frames compressed by A-LAW alogorithm, add V4L2_PIX_FMT_UV8 to represent storage of C data (UV interleved) only. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Cc: Laurent Pinchart laurent.pinch

[RESEND PATCH] davinci: CQ93VC: remove machine specific header file inclusion from codec driver

2012-01-10 Thread Manjunath Hadli
remove unnecessary inclusion of machine specific header file mach/dm365.h from cq93vc.c voice codec driver which comes in the way of platform code consolidation. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Cc: Liam Girdwood l...@ti.com Cc: Mark Brown broo...@opensource.wolfsonmicro.com

[PATCH v8 1/2] davinci: vpif: remove machine specific header file inclusion from the driver

2012-01-03 Thread Manjunath Hadli
-by: Manjunath Hadli manjunath.ha...@ti.com Cc: Mauro Carvalho Chehab mche...@infradead.org Cc: LMML linux-me...@vger.kernel.org --- drivers/media/video/davinci/vpif.h |2 -- drivers/media/video/davinci/vpif_display.c |2 -- include/media/davinci/vpif_types.h |2 ++ 3

[PATCH v8 2/2] davinci: CQ93VC: remove machine specific header file inclusion from codec driver

2012-01-03 Thread Manjunath Hadli
remove unnecessary inclusion of machine specific header file mach/dm365.h from cq93vc.c voice codec driver which comes in the way of platform code consolidation. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Cc: Miguel Aguilar miguel.agui...@ridgerun.com Cc: Jaroslav Kysela pe...@perex.cz

[PATCH v8 0/2]remove machine specific header file inclusion from driver

2012-01-03 Thread Manjunath Hadli
remove unnecessary inclusion of machine specific header file from driver which comes in the way of platform code consolidation. Manjunath Hadli (2): davinci: vpif: remove machine specific header file inclusion from the driver davinci: CQ93VC: remove machine specific header file inclusion

[PATCH v7 5/8] davinci: dm644x: change vpfe capture structure variables for consistency

2011-12-21 Thread Manjunath Hadli
Add SoC and board prefixes to variable names so that it is consistent with the rest of the file. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Acked-by: Sekhar Nori nsek...@ti.com --- arch/arm/mach-davinci/board-dm644x-evm.c | 24 arch/arm/mach-davinci/dm644x.c

[PATCH v7 0/8] ARM: davinci:add support for dm644x vpbe display driver

2011-12-21 Thread Manjunath Hadli
. Header inclusion sequence changes. 4. Deletion of a platform file which was missed out. Manjunath Hadli (8): davinci: vpif: remove machine specific inclusion from driver ARM: davinci: create new common platform header for davinci davinci: eliminate use of IO_ADDRESS() on sysmod davinci: dm644x

[PATCH v7 4/8] davinci: dm644x: Replace register base value with a defined macro

2011-12-21 Thread Manjunath Hadli
Replace hard coded value of vpss register base to a define macro DM644X_VPSS_BASE for proper readability Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Acked-by: Sekhar Nori nsek...@ti.com --- arch/arm/mach-davinci/dm644x.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions

[PATCH v7 3/8] davinci: eliminate use of IO_ADDRESS() on sysmod

2011-12-21 Thread Manjunath Hadli
Current devices.c file has a number of instances where IO_ADDRESS() is used for system module register access. Eliminate this in favor of a ioremap() based access. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com --- arch/arm/mach-davinci/davinci.h |9 + arch/arm

[PATCH v7 6/8] davinci: dm644x: move vpfe init from soc to board specific files

2011-12-21 Thread Manjunath Hadli
Move all vpfe platform device registrations to the board specific file like the rest of the devices, and have all of them together. This would remove the restriction of inclusion and registration of vpfe platform devices for non-vpfe boards. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com

[PATCH v7 8/8] davinci: dm644x EVM: add support for VPBE display

2011-12-21 Thread Manjunath Hadli
This patch adds support for V4L2 video display to DM6446 EVM. Support for SD and ED modes is provided, along with Composite and Component outputs.Also added vpbe_config as a parameter for dm644x_init_video to allow for registration of vpbe platform devices. Signed-off-by: Manjunath Hadli

[PATCH v7 7/8] davinci: dm644x: add support for v4l2 video display

2011-12-21 Thread Manjunath Hadli
with minimal changes. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com --- arch/arm/mach-davinci/board-dm644x-evm.c |2 +- arch/arm/mach-davinci/davinci.h |7 +- arch/arm/mach-davinci/dm644x.c | 163 +++--- 3 files changed, 154 insertions(+), 18

[PATCH v7 1/8] davinci: vpif: remove machine specific inclusion from driver

2011-12-21 Thread Manjunath Hadli
remove machine specific inclusion from the driver which comes in the way of platform code consolidation. currently was seen that these header inclusions were not necessary. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Cc: Mauro Carvalho Chehab mche...@infradead.org Cc: LMML linux-me

[PATCH v7 2/8] ARM: davinci: create new common platform header for davinci

2011-12-21 Thread Manjunath Hadli
. The further patches in the series take advantage of this consolidation for easy implementation of IO_ADDRESS elimination. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com --- arch/arm/mach-davinci/board-dm355-evm.c |3 +- arch/arm/mach-davinci/board-dm355-leopard.c |3 +- arch

[PATCH v6 04/11] ARM: davinci: dm646x: remove the macros from the header to move to c file

2011-12-15 Thread Manjunath Hadli
move the register base addresses and offsets used only by dm646x platform file from platform header dm646x.h to dm646x.c as they are used only in the c file. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com --- arch/arm/mach-davinci/dm646x.c |7 +++ arch/arm/mach

[PATCH v6 00/11] ARM: davinci:add support for dm644x vpbe display driver

2011-12-15 Thread Manjunath Hadli
of unnecassary typecasting. Manjunath Hadli (11): davinci: vpif: remove obsolete header file inclusion ARM: davinci: dm644x: remove the macros from the header to move to c file ARM: davinci: dm365: remove the macros from the header to move to c file ARM: davinci: dm646x: remove the macros from

[PATCH v6 07/11] davinci: dm644x: Replace register base value with a defined macro

2011-12-15 Thread Manjunath Hadli
Replace hard coded value of vpss register base to a define macro DM644X_VPSS_BASE for proper readability Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Acked-by: Sekhar Nori nsek...@ti.com --- arch/arm/mach-davinci/dm644x.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions

[PATCH v6 10/11] davinci: dm644x: add support for v4l2 video display

2011-12-15 Thread Manjunath Hadli
with minimal changes. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com --- arch/arm/mach-davinci/board-dm644x-evm.c |2 +- arch/arm/mach-davinci/davinci.h |7 +- arch/arm/mach-davinci/dm644x.c | 163 +++--- 3 files changed, 154 insertions(+), 18

[PATCH v6 11/11] davinci: dm644x EVM: add support for VPBE display

2011-12-15 Thread Manjunath Hadli
This patch adds support for V4L2 video display to DM6446 EVM. Support for SD and ED modes is provided, along with Composite and Component outputs.Also added vpbe_config as a parameter for dm644x_init_video to allow for registration of vpbe platform devices. Signed-off-by: Manjunath Hadli

[PATCH v6 09/11] davinci: dm644x: move vpfe init from soc to board specific files

2011-12-15 Thread Manjunath Hadli
Move all vpfe platform device registrations to the board specific file like the rest of the devices, and have all of them together. This would remove the restriction of inclusion and registration of vpfe platform devices for non-vpfe boards. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com

[PATCH v6 08/11] davinci: dm644x: change vpfe capture structure variables for consistency

2011-12-15 Thread Manjunath Hadli
Add SoC and board prefixes to variable names so that it is consistent with the rest of the file. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Acked-by: Sekhar Nori nsek...@ti.com --- arch/arm/mach-davinci/board-dm644x-evm.c | 24 arch/arm/mach-davinci/dm644x.c

[PATCH v6 01/11] davinci: vpif: remove obsolete header file inclusion

2011-12-15 Thread Manjunath Hadli
remove inclusion of header files from vpif.h and vpif_dispaly.c and add appropriate header file for building. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Cc: Mauro Carvalho Chehab mche...@infradead.org Cc: LMML linux-me...@vger.kernel.org --- drivers/media/video/davinci/vpif.h

[PATCH v6 06/11] davinci: eliminate use of IO_ADDRESS() on sysmod

2011-12-15 Thread Manjunath Hadli
Current devices.c file has a number of instances where IO_ADDRESS() is used for system module register access. Eliminate this in favor of a ioremap() based access. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com --- arch/arm/mach-davinci/davinci.h |9 + arch/arm

[PATCH v6 03/11] ARM: davinci: dm365: remove the macros from the header to move to c file

2011-12-15 Thread Manjunath Hadli
move the register base addresses and offsets used only by dm365 platform file from platform header dm365.h to dm365.c as they are used only in the c file. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com --- arch/arm/mach-davinci/dm365.c | 16 arch/arm/mach

[PATCH v6 05/11] ARM: davinci: create new common platform header for davinci

2011-12-15 Thread Manjunath Hadli
patches in the series take advantage of this consolidation for easy implementation of IO_ADDRESS elimination. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com --- arch/arm/mach-davinci/board-dm355-evm.c |2 +- arch/arm/mach-davinci/board-dm355-leopard.c |2 +- arch/arm/mach-davinci

[PATCH v6 02/11] ARM: davinci: dm644x: remove the macros from the header to move to c file

2011-12-15 Thread Manjunath Hadli
move the register base addresses and offsets used only by dm644x platform file from platform header dm644x.h to dm644x.c as they are used only in the c file. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com --- arch/arm/mach-davinci/dm644x.c |7 +++ arch/arm/mach

[PATCH 1/2] media: add new mediabus format enums for dm365

2011-12-15 Thread Manjunath Hadli
add new enum entry V4L2_MBUS_FMT_SGRBG10_ALAW8_1X8 into mbus_pixel_code to represent A-LAW compressed Bayer format. This corresponds to pixel format - V4L2_PIX_FMT_SGRBG10ALAW8. add UV8 and NV12 ( Y and C separate with UV interleaved) which are supported on dm365. Signed-off-by: Manjunath Hadli

[PATCH 2/2] v4l2: add new pixel formats supported on dm365

2011-12-15 Thread Manjunath Hadli
add new macro V4L2_PIX_FMT_SGRBG10ALAW8 to represent Bayer format frames compressed by A-LAW alogorithm. add V4L2_PIX_FMT_UV8 to represent storage of C (UV interleved) only. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Cc: Laurent Pinchart laurent.pinch...@ideasonboard.com --- include

[PATCH 0/2] add dm365 specific media formats

2011-12-15 Thread Manjunath Hadli
add mediabus formats and pixel formats suported as part of dm365 vpfe device. The device supports media formats(transfer and storage) which include - 1. ALAW compressed bayer. 2. UV interleaved without Y( for resizer) 3. NV12 Manjunath Hadli (2): media: add new mediabus format enums for dm365

[PATCH v5 00/11]ARM: davinci:add support for dm644x vpbe display driver

2011-12-13 Thread Manjunath Hadli
of include/mach. Having this as the base, have a common system module base address (DAVINCI_SYSTEM_MODULE_BASE) and removing IO_ADDRESS macro,add support for dm644x VPBE display driver. Manjunath Hadli (11): davinci: vpif: remove obsolete header file inclusion ARM: davinci: dm644x: remove

[PATCH v5 03/11] ARM: davinci: dm365: remove the macros from the header to move to c file

2011-12-13 Thread Manjunath Hadli
move the register base addresses and offsets used only by dm365 platform file from platform header dm365.h to dm365.c as they are used only in the c file. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com --- arch/arm/mach-davinci/dm365.c | 16 arch/arm/mach

[PATCH v5 02/11] ARM: davinci: dm644x: remove the macros from the header to move to c file

2011-12-13 Thread Manjunath Hadli
move the register base addresses and offsets used only by dm644x platform file from platform header dm644x.h to dm644x.c as they are used only in the c file. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com --- arch/arm/mach-davinci/dm644x.c |7 +++ arch/arm/mach

[PATCH v5 04/11] ARM: davinci: dm646x: remove the macros from the header to move to c file

2011-12-13 Thread Manjunath Hadli
move the register base addresses and offsets used only by dm646x platform file from platform header dm646x.h to dm646x.c as they are used only in the c file. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com --- arch/arm/mach-davinci/dm646x.c |7 +++ arch/arm/mach

[PATCH v5 05/11] ARM: davinci: create new common platform header for davinci

2011-12-13 Thread Manjunath Hadli
patches in the series take advantage of this consolidation for easy implementation of IO_ADDRESS elimination. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com --- arch/arm/mach-davinci/board-dm355-evm.c |2 +- arch/arm/mach-davinci/board-dm355-leopard.c |2 +- arch/arm/mach-davinci

[PATCH v5 08/11] davinci: dm644x: change vpfe capture structure variables for consistency

2011-12-13 Thread Manjunath Hadli
Add SoC and board prefixes to variable names so that it is consistent with the rest of the file. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Acked-by: Sekhar Nori nsek...@ti.com --- arch/arm/mach-davinci/board-dm644x-evm.c | 24 arch/arm/mach-davinci/dm644x.c

[PATCH v5 06/11] davinci: eliminate use of IO_ADDRESS() on sysmod

2011-12-13 Thread Manjunath Hadli
Current devices.c file has a number of instances where IO_ADDRESS() is used for system module register access. Eliminate this in favor of a ioremap() based access. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com --- arch/arm/mach-davinci/davinci.h |9 + arch/arm

[PATCH v5 10/11] davinci: dm644x: add support for v4l2 video display

2011-12-13 Thread Manjunath Hadli
with minimal changes. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com --- arch/arm/mach-davinci/board-dm644x-evm.c |2 +- arch/arm/mach-davinci/davinci.h |7 +- arch/arm/mach-davinci/dm644x.c | 163 +++--- 3 files changed, 154 insertions(+), 18

[PATCH v5 11/11] davinci: dm644x EVM: add support for VPBE display

2011-12-13 Thread Manjunath Hadli
This patch adds support for V4L2 video display to DM6446 EVM. Support for SD and ED modes is provided, along with Composite and Component outputs.Also added vpbe_config as a parameter for dm644x_init_video to allow for registration of vpbe platform devices. Signed-off-by: Manjunath Hadli

[PATCH v4 2/5] ARM: davinci: dm644x: remove the macros from the header to move to c file

2011-12-08 Thread Manjunath Hadli
move the register base addresses and offsets used only by dm644x platform file from platform header dm644x.h to dm644x.c as they are used only in the c file. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com --- arch/arm/mach-davinci/dm644x.c |7 +++ arch/arm/mach

[PATCH v4 1/5] davinci: vpif: remove obsolete header file inclusion

2011-12-08 Thread Manjunath Hadli
remove inclusion of header files from vpif.h and vpif_dispaly.c and add appropriate header file for building. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com --- drivers/media/video/davinci/vpif.h |2 +- drivers/media/video/davinci/vpif_display.c |2 -- 2 files changed, 1

[PATCH v4 0/5] ARM: davinci: re-arrange definitions to have a common davinci header

2011-12-08 Thread Manjunath Hadli
system module base address (DAVINCI_SYSTEM_MODULE_BASE). Changes from previous version: 1. Addressed Shekhar's comments for non-inclusion of mach headers from core. 2. Move the mach header from include to mach Manjunath Hadli (5): davinci: vpif: remove obsolete header file inclusion ARM

[PATCH v4 4/5] ARM: davinci: dm646x: remove the macros from the header to move to c file

2011-12-08 Thread Manjunath Hadli
move the register base addresses and offsets used only by dm646x platform file from platform header dm646x.h to dm646x.c as they are used only in the c file. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com --- arch/arm/mach-davinci/dm646x.c |7 +++ arch/arm/mach

[PATCH v4 5/5] ARM: davinci: create new common platform header for davinci

2011-12-08 Thread Manjunath Hadli
remove the code from individual platform header files for dm365, dm355, dm644x and dm646x and consolidate it into a single and common header file davinci.h. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com --- arch/arm/mach-davinci/board-dm355-evm.c |2 +- arch/arm/mach-davinci

[PATCH v3 1/5] ARM: davinci: dm644x: remove the macros from the header to move to c file

2011-11-17 Thread Manjunath Hadli
move the register base addresses and offsets used only by dm644x platform file from platform header dm644x.h to dm644x.c as they are used only in the c file. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com --- arch/arm/mach-davinci/dm644x.c |7 +++ arch/arm/mach

[PATCH v3 4/5] ARM: davinci: create new common platform header for davinci

2011-11-17 Thread Manjunath Hadli
. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com --- arch/arm/mach-davinci/include/mach/davinci.h | 88 ++ arch/arm/mach-davinci/include/mach/dm355.h | 18 +- arch/arm/mach-davinci/include/mach/dm365.h | 20 +-- arch/arm/mach-davinci/include/mach/dm644x.h

[PATCH v3 0/5] ARM: davinci: re-arrange definitions to have a common davinci header

2011-11-17 Thread Manjunath Hadli
system module base address (DAVINCI_SYSTEM_MODULE_BASE). Changes from previous version(As per Sergei's comments): 1. Renamed davinci_common.h to davinci.h. 2. Added extra line whereever appropriate. 3. removed unnecessary header inclusion. Manjunath Hadli (5): ARM: davinci: dm644x: remove

[PATCH v3 5/5] ARM: davinci: delete individual platform header files and use a common header

2011-11-17 Thread Manjunath Hadli
include davinci_common.h file in files using the platform header file for dm355, dm365, dm644x and dm646x and delete the individual platform header files. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com --- arch/arm/mach-davinci/board-dm355-evm.c |2 +- arch/arm/mach-davinci/board

[PATCH v3 3/5] ARM: davinci: dm646x: remove the macros from the header to move to c file

2011-11-17 Thread Manjunath Hadli
move the register base addresses and offsets used only by dm646x platform file from platform header dm646x.h to dm646x.c as they are used only in the c file. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com --- arch/arm/mach-davinci/dm646x.c |7 +++ arch/arm/mach

[PATCH v3 2/5] ARM: davinci: dm365: remove the macros from the header to move to c file

2011-11-17 Thread Manjunath Hadli
move the register base addresses and offsets used only by dm365 platform file from platform header dm365.h to dm365.c as they are used only in the c file. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com --- arch/arm/mach-davinci/dm365.c | 16 arch/arm/mach

[RESEND RFC PATCH v4 01/15] davinci: vpfe: add dm3xx IPIPEIF hardware support module

2011-11-17 Thread Manjunath Hadli
add support for dm3xx IPIPEIF hardware setup. This is the lowest software layer for the dm3x vpfe driver which directly accesses hardware. Add support for features like default pixel correction, dark frame substraction and hardware setup. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com

[RESEND RFC PATCH v4 00/15] RFC for Media Controller capture driver for DM365

2011-11-17 Thread Manjunath Hadli
These are a updated subset of patches for Media Controller implementation on DM365. A few more implementation patches which include Resizer, Previewer , AEW and AF are added to provide a broader perspective for review. Manjunath Hadli (15): davinci: vpfe: add dm3xx IPIPEIF hardware support

  1   2   3   4   >