Dear NXP member,
We use i.MX8MQ with Linux 4.14.98_2.0.0 BSP.
The original codebase (drivers/media/platform/mxc/capture/mx6s_capture.c) doesn't implement RGB888 format capture.
After adding RGB888 format related code then we can capture RGB888 pixel data, but there exists zero packing.
Try some CSI control registers but in vain, the ZERO_PACK_EN is useless.
Also searching in NXP community, we find out the issue is the same as RGB888 pixel data: disable zero-byte padding?
How to disable zero packing with MIPI CSI2 RGB888 pixel data?
How to configure the correct CSI control register for MIPI CSI2 RGB888 pixel data capture?