CSI2 Bridge Driver for IMX8MM on Linux Kernel V6.6

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

CSI2 Bridge Driver for IMX8MM on Linux Kernel V6.6

389 Views
alexval1323
Contributor I

I am trying to implement a (any) CSI2 driver on the IMX8M Mini from Compulab and have been having issues getting the Media Pipeline setup correctly. Looking over the imx8mm.dtsi i see the bridge is supported by the following drivers.

compatible = "fsl,imx8mm-csi", "fsl,imx8mq-csi", "fsl,imx6s-csi";

When i search through the kernel sources for "fsl,imx8mm-csi" nothing returns. Seems as if this driver doesn't exist in the 6.6 kernel as the grep command only comes up with a few dtsi files.

When I boot, i see that the imx7-csi driver (compatible="fsl,imx8mq") tries to probe the bridge but fails due to "mclk" not being defined although by default it is in the imx8mm.dtsi. 

Kernel continues to the imx6s-csi driver where it claims the bridge is initializing but then never returns anything seeming as if it hung somewhere.

 

At this point I have no /dev/media0 node and when my camera driver binds correctly, I am still unable to load get any frames to user space. What is the correct setup for this that will allow the entire bridge to probe correctly?

0 Kudos
Reply
3 Replies

313 Views
pengyong_zhang
NXP Employee
NXP Employee

Hi @alexval1323 

Please share your dts file. and the boot log file. 

B.R

0 Kudos
Reply

357 Views
pengyong_zhang
NXP Employee
NXP Employee

Hi @alexval1323 

what is your camera? please share me your boot full log file.

B.R

344 Views
alexval1323
Contributor I

I am trying to set up two different cameras and have the same issue with both.

A) I am using an SiOnyx XQE-1350, it is as SCC complaint device so I have been working with the scc-generic drivers (Written for kernel v5.10, and I have ported to v6.6) - still need to finish implementation on this.

B) Using the Allied Vision 1500 C501-c camera with their supplied Alvium Drivers (written for kernel v5.15 and i have ported to v6.6)

Because the SiOnyx drivers are still being worked on I have attached the boot log with the DT using the Alvium Drivers. Note the camera is not plugged at boot time thus the driver does not load but I want the media pipeline initialize correctly.

Thank you.

0 Kudos
Reply