This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Questions on TVP5158 Multi Channel Video Input Port Capture Driver for Linux/DVSDK 3.x on DM36x

Other Parts Discussed in Thread: TVP5158

HI,

I am brand new to Davinci and am trying to port the TVP5158 driver to a version 4 DVSDK for the DM365.  I have a few questions that perhaps someone has already run into:

1. The kernel patch file references a non-existant archive file /sound/soc/soc-core.c.  What is the status of this file?  It wasn't mentioned in a previous post.

2. The kernel patch file does not reference the following files that are included in the archive: vpif.*, vpif_capture.c, davinci_mcasp.*.  I assume that the changes to these files are relevant?

3. The driver configuration does not appear to support simultaneous audio and video encoding.  Is this a performance issue? 

4. There are numerous compiler warnings generated, like the return codes of interruptible system calls not being checked.

5. The driver causes a kernel exception through a null pointer access in vpfe_capture. Is the CCDC device dependency properly handled by vpfe_initialize_device()?

6. I2C read errors and segmentation fault occurs when running the mcvip_test program.  Does the driver support a hardware configuration with only a single TVP5158 with 2 D1 inputs?

Both the i2c and dma test programs seem to execute correctly (although the DRV_dmaTestDemux() test only fills have of the output buffer).

Thanks

P.S. I only seem to be able to post in Explorer 9 "Compatibility View".  Did I miss this information somewhere?