Hello,
where can I find the documentation about the iMX8 CSI controller? IMX8MDQLQRM rev.0 ("i.MX 8M Dual/8M QuadLite/8M Quad
Applications Processors Reference Manual") does not describe this subsystem.
Accordingly Linux kernel sources, it seems to be compatible with i.MX6SX CSI, but driver uses bits which are undocumented and marked as "reserved" in the iMX6SX Reference Manual (IMX6SXRM rev. 3); e.g. driver contains
#define BIT_CSI_ENABLE (0x1 << 31)
#define BIT_MIPI_DATA_FORMAT_RAW8 (0x2a << 25)
#define BIT_MIPI_DATA_FORMAT_RAW10 (0x2b << 25)
#define BIT_MIPI_DATA_FORMAT_YUV422_8B (0x1e << 25)
#define BIT_MIPI_DATA_FORMAT_MASK (0x3F << 25)
#define BIT_MIPI_DATA_FORMAT_OFFSET 25
but manual describes this register as

In iMX8 manuals, it is completely missing.