How can i check the mipi_csi interrup problem of imx8qm?

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

How can i check the mipi_csi interrup problem of imx8qm?

676 Views
wtt
Contributor I

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

0 Kudos
2 Replies

666 Views
wtt
Contributor I

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

 

0 Kudos

671 Views
igorpadykov
NXP Employee
NXP Employee

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);

https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/staging/media/imx/imx8-isi-core.c?...

 

Best regards
igor

0 Kudos