With TI engineer's help, i made these setting as following
1: set tvp5158 register
tvp5158_audio_write_B(0xfe, 0x01); //
tvp5158_audio_write_B(0xff, 0x01); //
tvp5158_audio_write_B(0x0d, 0x02); //
tvp5158_audio_write_B(0xa9, 0x44); //
tvp5158_audio_write_B(0xfe, 0x02); //
tvp5158_audio_write_B(0xff, 0x02); //
tvp5158_audio_write_B(0x0d, 0x02); //
tvp5158_audio_write_B(0xa9, 0x44); //
tvp5158_audio_write_B(0xfe, 0x04); //
tvp5158_audio_write_B(0xff, 0x04); //
tvp5158_audio_write_B(0x0d, 0x02); //
tvp5158_audio_write_B(0xa9, 0x44); //
tvp5158_audio_write_B(0xfe, 0x08); //
tvp5158_audio_write_B(0xff, 0x08); //
tvp5158_audio_write_B(0x0d, 0x02); //
tvp5158_audio_write_B(0xa9, 0x44); //
2: update linux kernel files under the lsp_patch_1GHZ folder
3: modify and add debugging message in MCVIP_demuxRun() function in the mcvip_demux.c file
at last, i start to run my program without video input and find the line number of odd field is 287 and the line number of even field is 245,thus, this frame is invaild frame for dm6467,so that the frame data can not put into buffer in tvp5158 driver,and my program is blocked in mcvip_getbuf() funtion.
look for your help, anyone know this tvp5158 issue or any wrong with tvp5158 setting?
by the way, how to attach mcvip_demux.c file here? thus anyone will check this code.
thanks