[patch davinci-git] Simplify code to calculate MMC/SD memory clock divide

2009-05-08 Thread Steve Chen
From: Steve Chen sc...@mvista.com Simplify code to calculate MMC/SD memory clock divide. In the original code, much of the logic were dedicated to rounding up the memory clock divide (mmc_push_pull). The code can be simplified by rounding up in the algorithm itself. Original code has

RE: DM355 mpeg4 encoding performance

2009-05-08 Thread JayaKumar, PremKumar
Hi Andre, SPRS488e.pdf defines the performance measurement procedure. Please follow it for reproducing the numbers. According to it, the first I and P frame process call's numbers needs to be excluded while averaging. Also, the measurement should not be done for the first instance that is run

[PATCH v3 0/4] ARM: DaVinci: DM646x Video: DM646x display driver

2009-05-08 Thread Chaithrika U S
Display driver for TI DM646x EVM Signed-off-by: Manjunath Hadli m...@ti.com Signed-off-by: Brijesh Jadav brijes...@ti.com Signed-off-by: Chaithrika U S chaithr...@ti.com These patches add the display driver support for TI DM646x EVM. This patch set has been tested for basic display functionality

[PATCH v3 2/4] ARM: DaVinci: DM646x Video: VPIF driver

2009-05-08 Thread Chaithrika U S
Video Port Interface driver Add VPIF driver for DM646x. This code be used by the display and capture drivers. This version has some incorporated the review comments. Signed-off-by: Manjunath Hadli m...@ti.com Signed-off-by: Brijesh Jadav brijes...@ti.com Signed-off-by: Chaithrika U S

[PATCH] Subject: [PATCH v3 1/4] ARM: DaVinci: DM646x Video: Platform and board specific setup

2009-05-08 Thread Chaithrika U S
Platform specific display device setup for DM646x EVM Add platform device and resource structures. Also define a platform specific clock setup function that can be accessed by the driver to configure the clock and CPLD. This patch is dependent on a patch submitted earlier, which adds Pin Mux and

[PATCH v3 3/4] ARM: DaVinci: DM646x Video: Add VPIF display driver

2009-05-08 Thread Chaithrika U S
Display driver for VPIF Adds the VPIF display driver and the associated header file. The patch includes the review comments like adding macors for the debug statements. The subdevice registering now uses v4l2_i2c_new_probed_subdev(). Some other updates are simplification of the ISR and merging of

[PATCH v3 4/4] ARM: DaVinci: DM646x Video: Makefile and config files modifications for Display

2009-05-08 Thread Chaithrika U S
Makefile and Kconfig changes Modifies and adds the video Makefiles and Kconfig files to support DM646x Video display device Signed-off-by: Manjunath Hadli m...@ti.com Signed-off-by: Brijesh Jadav brijes...@ti.com Signed-off-by: Chaithrika U S chaithr...@ti.com --- Applies v4l-dvb repository

RE: wiki suspended ??

2009-05-08 Thread Maupin, Chase
Andrea, We are looking into this now. Thanks for the heads up. Sincerely, Chase Maupin Software Applications Catalog DSP Products e-mail: chase.mau...@ti.com phone: (281) 274-3285 -Original Message- From: davinci-linux-open-source-boun...@linux.davincidsp.com

ATA write speed issue

2009-05-08 Thread Gopal Sukumar
Hi all, We are using DM6446 based board in the project. We have an issue with the write speed through the ATA. On the other end of the bus is an ATA-SATA converter connected to a SATA-DVD writer. The required write speed we need is close 10 M bits/sec, whereas we are getting only 2.8 M

To avoid memcpy

2009-05-08 Thread Gopal Sukumar
Hi all, I am using a DM6446 based board. In my application, I have allocated buffers for the Video Capture and Video Resizer devices through the ioctls. I have mmap'd those buffers too. When I take a frame from the Capture to Resizer, I am left only with a memcpy option. As it has its

RE: ATA write speed issue

2009-05-08 Thread Subbrathnam, Swaminathan
Gopal, ATA on DaVinci can very well do 25MBps provided the device can sustain it. Pl. refer to the LSP data sheets for further information. There seems something definitely wrong w.r.t 2.8Mbps figure that you are quoting. Have you checked that the device supports DMA ? regards swami

Problem with dm355

2009-05-08 Thread António Silva
Hi all, We are experiencing a strange behavior in our system. We have a DVR and streaming board that uses for that purposes a dm355 board with the latest updates from Texas. The problem we have is that from times to times we cannot reach the board for telnet, the board does not respond to ping.

SPI on DM355

2009-05-08 Thread Kieran Bingham
Hi guys, I'm using the Montavista kernel for 2.6.18_pro500, but this is more of a generic SPI question. I'm trying to write a peripheral driver which uses the SPI. I have set up the SPI bus on SPI1, and I can initiate transfers over the wires (Logic analyser shows me line states) However, the

Re: SPI on DM355

2009-05-08 Thread Steve Chen
On Fri, 2009-05-08 at 17:41 +0100, Kieran Bingham wrote: Hi guys, I'm using the Montavista kernel for 2.6.18_pro500, but this is more of a generic SPI question. I'm trying to write a peripheral driver which uses the SPI. I have set up the SPI bus on SPI1, and I can initiate transfers over

Re: SPI on DM355

2009-05-08 Thread David Brownell
On Friday 08 May 2009, Kieran Bingham wrote: The following 8bits will clock the value of the register back to the master i.e.: to read the value 0x02 from register 0x03 the following transaction would occur MOSI: 0x03## MISO 0x##02 where ## are don't cares I can't seem to get this

Urgent -- CSD for SD 2.0 Version

2009-05-08 Thread Davinci Developer
Hi all, I am trying to write a driver for SD ver. 2.0 in which the structure of CSD (Card Specific Data) is different from SD Ver. 1.0. Can anybody please tell me what is the new structure of CSD for SD 2.0 Version because some of the fields in Ver. 2.0 are dropped, some are extended and

To avoid memcpy

2009-05-08 Thread Jerry Johns
Why don't you setup the capture/resizer hardware in continuous mode so that the resizer and capture blocks are linked together? This way, the resizer hardware gets the frame directly from the capture block (as opposed to doing each as a separate operation and tying them together through DDR

Re: Urgent -- CSD for SD 2.0 Version

2009-05-08 Thread David Brownell
On Friday 08 May 2009, Davinci Developer wrote: I am trying to write a driver for SD ver. 2.0 Doesn't the current Linux driver already handle that? ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com

Re: DM355 and DM9000 Ethernet

2009-05-08 Thread Kevin Hilman
Tom Wheeler twhee...@control4.com writes: Kevin, Here is an interesting bit of info. I masked the bank0 interrupt in EINT1 and the dm9000 is still running. This should eliminate the bank0 interrupt from being generated to the core. That partially solves the problem, but if any other

Programming the Nand Flashes in DM355 based products

2009-05-08 Thread Vijay Soni
Can anyone please tell me how can we program the Nand Flashes during production cycle. The nand flash has to be programmed before it is mounted on board and it must be programmed with all - ubl, uboot, kernel, filesystem using some kind of binary file that combines all of them. -Vijay

GPIO interrupt problems

2009-05-08 Thread Kevin Hilman
After a bit more debugging on the GPIO interrupt issues, I think there is a fundamental hardware limitation in having flexibility of using GPIO bank interrupts and direct interrupts at the same time. In order to configure a GPIO as an interrupt (either banked or direct), you have to set the

RE: DM355 and DM9000 Ethernet

2009-05-08 Thread Narnakaje, Snehaprabha
Kevin, I had tried Tom's patch to use the direct interrupts and it worked fine (no netdev transmit errors) until recently. But it stopped working with the latest on linux-davinci git (has GPIO driver changes from Dave). Basically the link itself is not getting detected. Thanks Sneha

Re: GPIO interrupt problems

2009-05-08 Thread David Brownell
On Friday 08 May 2009, Kevin Hilman wrote: After a bit more debugging on the GPIO interrupt issues, I think there is a fundamental hardware limitation in having flexibility of using GPIO bank interrupts and direct interrupts at the same time. And to clarify: a bank is 16 interrupts, and the

Re: DM355 and DM9000 Ethernet

2009-05-08 Thread David Brownell
On Friday 08 May 2009, Narnakaje, Snehaprabha wrote: I had tried Tom's patch to use the direct interrupts and it worked fine (no netdev transmit errors) until recently. But it stopped working with the latest on linux-davinci git (has GPIO driver changes from Dave). Basically the link itself