AnsweredAssumed Answered

MIPI Virtual channel 1

Question asked by JOE MENARD on Apr 24, 2017
Latest reply on Apr 24, 2017 by igorpadykov

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

Outcomes