hi weidong.sun
thanks you
"
(2)we planed that CSI0 use VADC and CSI1 use TW9900 at the same time. is it possible?
No, CSI0/CSI1 can't be used simultaneously. We don't have ready-made solution.
"
1) does your comment mean imx6sx use only one csi between CSI0 and CSI1 for capture?
2) we want to use two cameres(NTSC) for capture on our custom board.
For example,
CSI0 <- VADC <- CAM1
CSI1 <- TW9900 <- CAM2
First We use CSI0 for capture from CAM1.
Second After caputreing on CAM1, We use CSI1 for capture from CAM2
Third After caputreing on CAM2, We use CSI0 for capture from CAM1
Fourth After caputreing on CAM1, We use CSI1 for capture from CAM2
(continue...)
is it possilbe on I.MX6 SoloX?
3) In CSI_v4l2_capture.c,
I think if we use VADC, we select csi_capture_inputs[1] and if we use TW9900, we select csi_capture_inputs[0].
because in csi_input_selct func, It enables tvdec(vadc) depend on csi_capture_inputs.name. So if we use TW9900, we select csi_capture_inputs[0].

Is it right?
4) In fsl_csi.c,
we planed TW9900 output format is BT656 and interlaced mode. so, I revised FALSE case in csi_tvdec_enable func .

Is it right?
5) In csi_v4l2_capture.c,
I found setting bufstride and deinterlaced_mode, deinterlaced_enable in csi_v4l_s_std function .

we tested original source. but application is stopped. I don't know why application is stopped.

so I revised it

and i captured from tw9900(Bt656, interlaced ).

but caputred image is not corrected. What is wrong?