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.

how to modify VPFE driver to realize BT.656 decoder on DM355 EVM?

Other Parts Discussed in Thread: TVP5146

hi,all

   I want to realize the following function on the base of DM355 :

           I want to replace TVP5146 by TW2835 on DM355 EVM,BT656 sigal of TW2835 is connected to CCDC module of DM355.thus,I need to modify vpfe driver of DM355 EVM,whether you give me to hint?Thank you!

        

  • The TVP5146 is controlled by V4L2 driver located at

       .../ti-davinci/drivers/media/video/davinci

    You will need to replace the TVP5146 references (mostly in davinci_vpfe.c and tvp5146.c) with references to your new device.

  • I now replace TVP5146 with TW2835,but TW2835 is controlled by microprocessor ,dm355 do not controll with TW2835,BT656 output signal of TW2835 is connected with Yc signal of CCDC module of DM355.

    so I modify vpfe driver of DM355 EVM.whether you hint me how to modify vpfe driver to realize above function? Thank you!   

  • stanlerwang said:

    I now replace TVP5146 with TW2835,but TW2835 is controlled by microprocessor ,dm355 do not controll with TW2835,

     

    What is controlling the TW2835 (e.g. TVP5146 is being controlled by DM355 ARM9 via I2C interface).

    stanlerwang said:

    whether you hint me how to modify vpfe driver to realize above function? Thank you!   

    The files I pointed to above (davinci_vpfe.c and tvp5146.c) is where you can find the source code for tvp5146; unfortunately, I am not familiar with TW2835 so I cannot recommend how to begin writing that driver. 

  • Have you finished the drivers of tw2535,?And can you give me some hint? Thank you very much!!

  • 1. read the tw2835 datasheet

    2. use tvp5146.c as a template, write tw2835.c

    3. modify ccdc_dm**.c if it's necessary