Hello,
I am debugging my mipi_csi camera driver on my imx8qm board.
The camera connects imx8qm by ti ub960 through mipi-csi2 interface.
The ub960 registers data can be get by i2c6 port and it seems correctly. The camera and csi2 status registers in ub960 are right.
When i launched the camera check demo, i found the mxc_mipi_csi2 interrupt can`t been triggered,and the dqbuf io function can`t return with the image data.
How can i find the root cause? Does anyone can give me some advice?
Thanks in advance.
Taotao Wang
Hi Igor,
Thanks for your sugguestions.
I add the printk and there isn't any information, it means the mxc_isi_irq_handler doesn't be triggered.
Attached are the related log information.
Would you please give me some advise on why there isn't the interrupt?
B/R
Taotao Wang
Hi Taotao
for debugging may be useful to dump the ISI STS registers to check errors:
static irqreturn_t mxc_isi_irq_handler(int irq, void *priv)
..status = mxc_isi_get_irq_status(mxc_isi);
+ printk("STS = 0x%x\n", status);
Best regards
igor