Hi,
I am using the latest EZSDK, 5_05_02_00 for DM8168 board. If I want to use TVP5150 as a capture device, what changes needs to be done in the source code. By default the TVP7002 chip is used for capture.
Thanks in advance.
Regards,
Salih
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.
Hi Salih,
Are you planning to use V4L2 or OMX for capturing?
For V4L2, sub-device driver for tvp5158 is not available. You need to write kernel driver for the same and integrate to V4L2.
Please refer below link
http://processors.wiki.ti.com/index.php/DM81xx_AM38xx_Adding_External_Decoders_to_V4L2_Capture_Driver
If you are planning to use OMX for capture, non-mux capture using TVP5158 support is already availble.
Currently captrue_encode configures TVP7002 decoder. You need to configure TVP5158 video decoder.
Refer the OMX useGuide for CTRL-TVP component.
Thanks
Hi Ram,
I want to use V4L2 only for capturing. But I have seen that TVP5150 driver is available in the drivers/media/video/tvp5150.c.
Whether this driver will work with V4L2 layer.? Whether the driver for TVP5158 and TVP5150 are same or we have to use separate driver for each
Thanks in advance.
Regards,
Salih
Hello,
TVP5150 driver is available as a part of Linux kernel under ezsdk/board-support/linux-2.6.37-psp04.04.00.01/drivers/media/video/tvp5150.c. You just need to hook this up to V4L2 capture driver. You should follow the user guide which Ram Prasad has linked.
Best Regards,
Margarita
HI Margarita,
Thank you very much for your input. But, the TVP7002 is connected through IO Expander. I want to know if I want to use this TVP5150, it should be connected through IO expander as like TVP7002 chip. Whether it is in-built with the processor to access VPSS layer?.
Thanks in advance.
Regards,
Salih
Hi,
Any updates on this. Should I map this TVP5150 chip IO expander in order to make it work as like TVP7002. Because I am using my customized daughter board. The chip is mounted in the daughter card.
Thanks in advance.
Regards,
Salih
Hi,
Any updates on this?. I want how to configure MUX pins for the same TVP chip. Do I have to do any customization in the platform side?.
Thanks in advance.
Regards,
Salih
Hi Margarita,
Thanks for your response. I have referred the section as per your suggestion. I need one clarification regarding this DEI.
I want to know where I have to change this settings in my capture driver?. There are 3 modes in DEI. By default, which mode is setting in the capture driver?. And if I want to change it to some other mode where I need to change it in my Capture driver?.
I am attaching the types of mode in DEI which are mentioned in the Reference manual.
Thanks in advance.
Regards,
Salih