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?