Hi,all
ov5640 used ipu0 + csi1,and the virtual channel is 1 ,like this:
ov5640_set_virtual_channel(ov5640_data.csi); |
but,why the mipi_csi virtual channel is 0? and no matter I set 0 or 1 ,the ov5640_mipi was run normal,why?
thanks for your reply!
Hello,
For MX6DQ:
IPU0-CSI0: can be connected to parallel interface(GPR1 bit19 is 1) or
to mipi-csi2 virtual channel0(GPR1 bit19 is 0).
IPU0-CSI1: can only be connected to mipi-csi2 virtual channel1.
IPU1-CSI0: can only be connected to mipi-csi2 virtual channel2.
IPU1-CSI1: can be connected to parallel interface(GPR1 bit20 is 1) or
to mipi-csi2 virtual channel3(GPR1 bit 20 is 0).
For MX6DL:
IPU-CSI0:
GPR13 bit0-2 connection
000 mipi-csi2 virtual channel0
001 mipi-csi2 virtual channel1
010 mipi-csi2 virtual channel2
011 mipi-csi2 virtual channel3
100 parallel interface
IPU-CSI1:
GPR13 bit3-5 connection
000 mipi-csi2 virtual channel0
001 mipi-csi2 virtual channel1
010 mipi-csi2 virtual channel2
011 mipi-csi2 virtual channel3
100 parallel interface
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
HI,Yuri
I know IPU0-CSI1: can only be connected to mipi-csi2 virtual channel1. and the ov5640 vc also set 1, but the devise tree of the imx6qdl-sabresd.dtsi about mipi_csi vc=0,why?