Hi Yuri,
Since we're working in MIPI/CSI-2 mode and not in parallel, the bit-fields CSI0_DATA_WIDTH and CSI0_SENS_DATA_FORMAT of register
IPUx_CSI0_SENS_CONF are ignored. Because all relevant information should be supplied to IPU from MIPI controller by the help of MCT_DI bus.
As result, we can't supply any frame data size or any kind of data format.
What we should configure is -
CSI0 Data Identifier Register (IPUx_CSI0_DI) and its configured for 1st Channel with value 0x30 - which means that incoming MIPI data type is JPEG.
From IMX6DQRM.pdf:
"37.4.3.2.2
High-speed serial interface - MIPI (Mobile Industry Processor
Interface).
In MIPI interface two values arrive in each cycle. Each value is 8 bit wide, which means
16 MSB bits of the data bus input are treated, while 4 LSB bits are ignored.
When working in this mode, the CSI can handle up to 4 streams of data. Each stream is
identified with DI (data identifier) that includes the virtual channel and the data type of
this stream. Each stream that is handled is defined in registers MIPI_DI0-3. Only the
main stream (MIPI_DI0) can be sent to all destination units while the other streams are
sent only to the SMFC as generic data.
In this mode SENS_DATA_FORMAT and DATA_WIDTH registers are ignored, since
this information is coming to the CSI via the MCT_DI bus."
Thanks a lot,
Yan