MIPI Virtual channel 1

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MIPI Virtual channel 1

1,528 Views
joemenard
Contributor I

linux 3.0.35, imx6 dual

I have a mipi camera working on virtual channel 0 but I can't get it to work on any of the other virtual channels. Below is the board file setup I try to use for virtual channel 1. I may not have the mipi camera setup correctly but is there anything else I would need to change on the imx6 side? The mipi camera chip is Toshiba TC358746

If I run the mxc_v4l2_still.out utilitly I get:

ERROR: v4l2 capture: mxc_v4l_read timeout counter 0
imx-ipuv3 imx-ipuv3.0: Not a CSI channel
v4l2 read error.

static struct mipi_csi2_platform_data mipi_csi2_pdata = {
.ipu_id = 0,
.csi_id = 1,
.v_channel = 1,
.lanes = 2,
.dphy_clk = "mipi_pllref_clk",
.pixel_clk = "emi_clk",
.init = ghi_csi2_io_init,
};

static struct fsl_mxc_capture_platform_data capture_data[] = {
.csi = 1,
.ipu = 0,
.mclk_source = 0,
.is_mipi = 1,
};

Thank You

Labels (2)
0 Kudos
1 Reply

795 Views
igorpadykov
NXP Employee
NXP Employee

Hi joe

for L3.0.35 one can look at VC3 configuration example:

Sample code for iMX6 SabreSD to use MIPI CSI camera with virtual channel 3 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos