报 ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0。
平台 imx6q,内核版本3.14
mipi配置如下:
&mipi_csi {
status = "okay";
ipu_id = <0>;
csi_id = <1>;
v_channel = <1>;
lanes = <1>;
};
adv7280: adv7280@20 {
compatible = "ad,adv7280";
reg = <0x20>;
clocks = <&clks 201>;
clock-names = "csi_mclk";
csi_id = <1>;
mclk = <24000000>;
mclk_source = <0>;
};
adv7280m驱动配置为 Color Bars 576p MIPI Out ;
相关寄存器 mipi_csi2_dphy_status = 0x300
mipi_csi2_error1 = 0x0000
mipi_csi2_error2 = 0x0000
CSI_SENS_CONF = 0x00000A00
CSI_ACT_FRM_SIZE = 0x020C02CF
CONF = 0x00000000
INT_STAT_1 = 0x00000200
CSI0_SENS_FRM_SIZE = 0x027002CF
IPU_CONF = 0x00000000
IPU_CHA_DB_MODE_SEL0 = 0x00000000
mipi_csi2_reset(mipi_csi2_info,0x14);
clk mode : IPU_CSI_CLK_MODE_GATED_CLK。
总是获取数据超时,中断无反应。请求大神或者调过的前辈指导一番。
将mipi 配置到 channel0 上, ipu0 csi0上,图像采到了。没问题。。。我的板子是双摄像头,一个用CSI0-IPU1 去采BT656 MIPI 去采 ADV7280的。。MIPI为什么用在其他通道 采不到呢。。底层哪里配置有问题了
Please refer to this : iMX6DQ ISL79985/79987 MIPI CSI2 CVBS camera surround view solution for Linux BSP
There is a 0001-IPU-update-IPU-capture-driver-to-support-up-to-four-.patch to add support for 4 virtual channel.