DM6446:DDR and NAND Memory test

2009-12-10 Thread rohan tabish
Hello everyone We are using our on custom board i am able to boot and get to the prompt using the open source git kernel.Now i want to make a simple RAM and NAND test anyone knows how to do that Regard's Rohan Tabish ___

[PATCH v2] mtd-nand: davinci: Correct 4-bit error correction

2009-12-10 Thread Sudhakar Rajashekhara
On TI's DA830/OMAP-L137, DA850/OMAP-L138 and DM365, after setting the 4BITECC_ADD_CALC_START bit in the NAND Flash control register to 1 and before waiting for the NAND Flash status register to be equal to 1, 2 or 3, we have to wait till the ECC HW goes to correction state. Without this wait, ECC

RE: [PATCH v2 2/4] i2c: davinci: Add helper functions

2009-12-10 Thread Chaithrika U S
On Tue, Dec 08, 2009 at 16:54:31, Sergei Shtylyov wrote: Hello. Chaithrika U S wrote: Add i2c reset control and clock divider calculation functions which will be useful for power management features. Signed-off-by: Chaithrika U S chaithr...@ti.com [...] @@ -138,15 +147,6

Re: [PATCH v2 2/4] i2c: davinci: Add helper functions

2009-12-10 Thread Sergei Shtylyov
Hello. Chaithrika U S wrote: Hello. Chaithrika U S wrote: Add i2c reset control and clock divider calculation functions which will be useful for power management features. Signed-off-by: Chaithrika U S chaithr...@ti.com [...] @@ -138,15 +147,6 @@ static int

[PATCH v2 1/3] davinci: add power management support

2009-12-10 Thread Sekhar Nori
This patch adds core power management (suspend-to-RAM) support for DaVinci SoCs. The code depends on the the deepsleep feature to suspend the SoC and saves power by gating the input clock. The wakeup can be based on an external event as supported by the SoC. Assembly code (in sleep.S) is added

[PATCH 2/3] davinci: da850/omap-l138: add support for SoC suspend

2009-12-10 Thread Sekhar Nori
This patch adds support for registering for suspend-to-RAM functionality on da850/omap-l138 SoCs. da850 supports wakeup based on external event and RTC alarm. Currently only RTC alarm based wakeup is supported. Support for wakeup based on external event will be added as later improvements. For

[PATCH 3/3] davinci: da850/omap-l138 EVM: register for suspend support

2009-12-10 Thread Sekhar Nori
Signed-off-by: Sekhar Nori nsek...@ti.com --- arch/arm/mach-davinci/board-da850-evm.c | 17 + 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board-da850-evm.c index 76e4347..411284d 100644 ---

[PATCH - v1 1/6] V4L - vpfe-capture : DM365 vpss enhancements

2009-12-10 Thread m-karicheri2
From: Muralidharan Karicheri m-kariche...@ti.com Enhancements to support DM365 ISP5 and VPSS module configuration. Also cleaned up the driver by removing redundant variables. Signed-off-by: Muralidharan Karicheri m-kariche...@ti.com --- Applies to linux-next v4l-dvb tree

[PATCH - v1 6/6] DaVinci - Adding support for vpfe capture on DM365

2009-12-10 Thread m-karicheri2
From: Muralidharan Karicheri m-kariche...@ti.com Adding platform code for supporting vpfe capture and ISIF driver on DM365. Signed-off-by: Muralidharan Karicheri m-kariche...@ti.com --- arch/arm/mach-davinci/board-dm365-evm.c| 71 +++ arch/arm/mach-davinci/dm365.c

[PATCH - v1 2/6] V4L - vpfe capture - Adding DM365 ISIF driver - header files

2009-12-10 Thread m-karicheri2
From: Muralidharan Karicheri m-kariche...@ti.com This is the header file for ISIF driver on DM365. This has comments incorporated from initial version. ISIF driver is equivalent to CCDC driver on DM355 and DM644x. This driver is tested for YUV capture from TVP514x driver. This patch contains

[PATCH - v1 5/6] V4L - vpfe capture - build environment for ISIF driver

2009-12-10 Thread m-karicheri2
From: Muralidharan Karicheri m-kariche...@ti.com Adding Makefile and Kconfig for ISIF driver Signed-off-by: Muralidharan Karicheri m-kariche...@ti.com --- Applies to linux-next tree drivers/media/video/Kconfig | 15 ++- drivers/media/video/davinci/Makefile |1 + 2

[PATCH - v1 4/6] V4L - vpfe_capture bug fix and enhancements

2009-12-10 Thread m-karicheri2
From: Muralidharan Karicheri m-kariche...@ti.com Added a experimental IOCTL, to read the CCDC parameters. Default handler was not getting the original pointer from the core. So a wrapper function added to handle the default handler properly. Also fixed a bug in the probe() in the linux-next tree

[PATCH - v1 3/6] V4L-vpfe-capture-Adding ISIF driver for DM365 - source

2009-12-10 Thread m-karicheri2
From: Muralidharan Karicheri m-kariche...@ti.com This is the source file for ISIF driver for DM365. This has comments incorporated from initial version. ISIF driver is equivalent to CCDC driver on DM355 and DM644x. This driver is tested for YUV capture from TVP514x driver. This patch contains

Re: [PATCH 2/2] davinci: add support for DM6467T EVM

2009-12-10 Thread Kevin Hilman
Nori, Sekhar nsek...@ti.com writes: On Tue, Dec 08, 2009 at 05:09:37, Kevin Hilman wrote: Sekhar Nori nsek...@ti.com writes: [...] diff --git a/arch/arm/mach-davinci/Kconfig b/arch/arm/mach-davinci/Kconfig index 033bfed..0ebe185 100644 --- a/arch/arm/mach-davinci/Kconfig +++

Re: [PATCH - v1 5/6] V4L - vpfe capture - build environment for ISIF driver

2009-12-10 Thread Sergei Shtylyov
Hello. m-kariche...@ti.com wrote: From: Muralidharan Karicheri m-kariche...@ti.com Adding Makefile and Kconfig for ISIF driver Signed-off-by: Muralidharan Karicheri m-kariche...@ti.com --- Applies to linux-next tree drivers/media/video/Kconfig | 15 ++-

Re: [GIT PULL] davinci platform updates for v2.6.33

2009-12-10 Thread Kevin Hilman
FYI for davinci list... Linus has now merged this series for 2.6.33. Thanks to all the folks listed in the pull request for helping get DaVinci support to mainline! Kevin On Mon, Dec 7, 2009 at 2:35 PM, Kevin Hilman khil...@deeprootsystems.com wrote: Linus, Please pull the davinci platform

Re: [PATCH - v1 1/2] V4L - vpfe capture - make clocks configurable

2009-12-10 Thread Kevin Hilman
Karicheri, Muralidharan m-kariche...@ti.com writes: Kevin, +/** + * vpfe_disable_clock() - Disable clocks for vpfe capture driver + * @vpfe_dev - ptr to vpfe capture device + * + * Disables clocks defined in vpfe configuration. + */ static void vpfe_disable_clock(struct vpfe_device

Re: [PATCH - v1 1/2] V4L - vpfe capture - make clocks configurable

2009-12-10 Thread Kevin Hilman
Karicheri, Muralidharan m-kariche...@ti.com writes: Kevin, I think I have figured it out... First issue was that I was adding my entry at the end of dm644x_clks[] array. I need to add it before the CLK(NULL, NULL, NULL) secondly, your suggestion didn't work as is. This is what I had to

RE: [PATCH - v1 1/2] V4L - vpfe capture - make clocks configurable

2009-12-10 Thread Karicheri, Muralidharan
I thought following is correct:- Probe() clk_get() followed by clk_enable() Remove() clk_disable() followed by clk_put() Suspend() clk_disable() Resume() clk_enable() Yes, that is correct. I didn't look at the whole driver. My concern was that if the driver was enhanced to more

RE: [PATCH - v1 1/2] V4L - vpfe capture - make clocks configurable

2009-12-10 Thread Karicheri, Muralidharan
Kevin, I think I have figured it out... First issue was that I was adding my entry at the end of dm644x_clks[] array. I need to add it before the CLK(NULL, NULL, NULL) secondly, your suggestion didn't work as is. This is what I had to do to get it working... static struct clk