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

2011-12-15 Thread Hadli, Manjunath
Sergei, On Wed, Dec 14, 2011 at 16:06:41, Sergei Shtylyov wrote: > Hello. > > On 13-12-2011 15:23, Manjunath Hadli wrote: > > > Replace hard coded value of vpss register base to a define macro > > DM644X_VPSS_REG_BASE for proper readability > > > Signed-off-by: Manjunath Hadli > > Acked-by: Sek

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

2011-12-15 Thread Hadli, Manjunath
Sergei, On Wed, Dec 14, 2011 at 16:18:40, Sergei Shtylyov wrote: > Hello. > > On 13-12-2011 15:23, Manjunath Hadli wrote: > > > Create platform devices for various video modules like venc,osd, vpbe > > and v4l2 driver for dm644x. Change the dm644x_init_video to make room > > for display config,

[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 --- arch/arm/mach-davinci/dm646x.c |7 +++ arch/arm/mach-davinci/include/mach/dm646x.h

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

2011-12-15 Thread Manjunath Hadli
Re-arrange definitions and remove unnecessary code so that we can have a common header for all davinci platforms. This will enable us to share defines and enable common routines to be used without polluting hardware.h. This is consistent with Russel's pet peaves notes regarding non-pollution of i

[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 Acked-by: Sekhar Nori --- arch/arm/mach-davinci/dm644x.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-davinci/

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

2011-12-15 Thread Manjunath Hadli
Create platform devices for various video modules like venc,osd, vpbe and v4l2 driver for dm644x. Change the dm644x_init_video to make room for display config, and register the vpfe or vpbe devices based on the config pointer validity to make sure boards without vpfe or vpbe can be built with minim

[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 Acked-by

[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 --- arch/arm/mach-dav

[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 Acked-by: Sekhar Nori --- arch/arm/mach-davinci/board-dm644x-evm.c | 24 arch/arm/mach-davinci/dm644x.c | 12 ++-- 2 fil

[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 Cc: Mauro Carvalho Chehab Cc: LMML --- drivers/media/video/davinci/vpif.h |2 +- drivers/media/video/davinci/vpif_display.c |2 -- 2 file

[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 --- arch/arm/mach-davinci/davinci.h |9 + arch/arm/mach-davinci/devices.c

[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 --- arch/arm/mach-davinci/dm365.c | 16 arch/arm/mach-davinci/include/mach/dm3

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

2011-12-15 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. This reduces the pollution in the include/mach and is consistent with Russel's suggestions as part of his "pet peaves" mail. The further pat

[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 --- arch/arm/mach-davinci/dm644x.c |7 +++ arch/arm/mach-davinci/include/mach/dm644x.h

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

[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 Cc: Laurent Pinchart --- include/linux/videodev2.h |6 ++ 1 files changed, 6 inser

[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

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

2011-12-15 Thread Laurent Pinchart
Hi Manjunath, Thanks for the patch. On Thursday 15 December 2011 13:24:58 Manjunath Hadli wrote: > 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:

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

2011-12-15 Thread Laurent Pinchart
Hi Manhunath, Thanks for the patch. On Thursday 15 December 2011 13:24:57 Manjunath Hadli wrote: > 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 NV

Help with gstreamer

2011-12-15 Thread Timothy Bean
Hi Guys I got Gstreamer installed and am getting the gst-rtsp-server going. Got it compiled finally but when I run: ./test-video ./test-video: symbol lookup error: /usr/lib/libgstreamer-0.10.so.0: undefined symbol: g_once_init_enter_impl I Googled and says maybe something wrong with different ve

RE: [PATCH] arm,davinci: configure davinci aemif chipselects through OF

2011-12-15 Thread Nori, Sekhar
Hi Ben, On Wed, Dec 14, 2011 at 20:05:25, Ben Gardiner wrote: > Hello Arnd and Sekhar, > > On Tue, Dec 13, 2011 at 1:34 PM, Nori, Sekhar wrote: > > [...] > > On Thu, Dec 08, 2011 at 21:18:08, Arnd Bergmann wrote: > >> [...] > >> If you want it to provide endpoint devices that are handled by > >>

uboot in nandflash

2011-12-15 Thread vassamsetti gangadhar
Hi, i am gangadhar i am using p2020rdb i am done u-boot in nand flash but in minicom ping is not alive error ,tftp is not working but in my host ping is alive how can i make ping alive in nandflash but in nor flash everything working fine. Thanks&Regards V.Ganagadhar ___

Re: NFS boot help

2011-12-15 Thread Kahle, Steve
Is ethaddr set to a reasonable value in bootargs? From: Chuck Meade [mailto:chuckme...@mindspring.com] Sent: Wednesday, December 07, 2011 06:57 PM To: Timothy Bean Cc: davinci-linux-open-source@linux.davincidsp.com Subject: Re: NFS boot help On 12/07/2011 08:51 PM, Timothy Bean wrote: Here i

RE: [PATCH] ARM: davinci: add missing commas on last members of structure and arrays

2011-12-15 Thread Nori, Sekhar
On Thu, Dec 15, 2011 at 03:30:05, Tony Lindgren wrote: > * Nori, Sekhar [111214 04:42]: > > Hi Akshay, > > > > On Thu, Dec 08, 2011 at 14:35:51, Shankarmurthy, Akshay wrote: > > > This patch adds missing commas on last members of structure and arrays. > > > This makes less harder to add additiona

Log time stamp wraps around to 25

2011-12-15 Thread Karicheri, Muralidharan
Sekhar, On our new SoC that is a using davinci architecture in kernel, we are seeing an issue in which the time stamp displayed by printk wraps around at about 25-26 seconds. We are using a timer clock frequency of 163.84MHz and uses timer64 for implementing clock event and clock source. The c

RE: Log time stamp wraps around to 25

2011-12-15 Thread Karicheri, Muralidharan
Sekhar, I made some searches on the internet. The schedule_clock() must return a monotonous clock. One way to do this is to use cnt32_to_63() to convert the 32bit clock count value to a 64bit value. I have tried this and it seems to work. I am just curious as to how this is working on other dav