Dear Support Team,
I'm working on a custom iMX8MQ board with an image sensor sending RBG888 data over MIPI lanes. After reading the iMX8 reference manual and the NXP Community forum I have some doubts on MIPI-CSI Host Controller and CSI-bridge drivers concerning the RGB888 support. Below you can find a list of questions:
I modified the mx6_capture.c driver to support the RGB888:
CSI_CR18 register: MIPI_DATA_FORMAT bits set to 0x24 (RGB8888), RGB888A_FORMAT_SELECTION bit set to 0 (I want the padding byte at most significant part of image data), PARALLEL24_EN bit set to 1.
CSI_CR3 register: SENSOR_16BITS set to 0
Added a new internal CSI-bridge format as follows (I used BGR because my camera is sending data in this order, user space app will interpret them accordingly):
Hello,
thanks for your reply. I'm not experiencing any particular issue so far. I just wanted to double check the correct configuration.
Thanks
Gianfranco