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.

Developing Linux Kernel Driver for media Codec Driver based on vip of am5728

i am developing a linux kernel driver for a 4-CH AHD2.0 RX and 9-CH  Audio Codec which is named nvp6124I .
below are few of its characteristics:
it digitizes and decodes ntsc/pal/comet/AHD1.0/AHD2.O video signal into digita video components 
4ch analog video input and output 4ch digital signal, each channal has 8 data ports and a clk clock port
i want to submit the driver, but i have some problem on the below points:
1.I have write a v4l2-subdevice for this media codec,and it register /dev/videox sucsessed,but when i run a opencv captrue deom
I get a error information:select time_out.is there any body know what is the reason casused this,and how can i solve this problem.
2.
just see the video interface ,i know i2c port can binding below the i2c node, but, how can i bind other data port and clock signal port
       with device trees?

[ 134.278046] nvp6124_get_fmt
[ 134.280892] width:1920,height:1080
[ 134.284433] nvp6124_get_fmt
[ 134.289900] nvp6124 set fmt
[ 134.292715] nvp6124_try_frame_size
[ 134.300849] width:1920,height:1080
[ 134.304653] nvp6124_get_fmt
[ 134.308190] nvp6124 set fmt
[ 134.311165] nvp6124_try_frame_size
[ 134.323408] width:1920,height:1080
[ 134.328894] nvp6124_get_fmt
[ 134.332401] nvp6124 set fmt
[ 134.335204] nvp6124_try_frame_size
start captrue

[ 134.348043] width:1920,height:1080
select timeout

6371.driver code and dts.rar