I'm just working on a project, that requires support for RGB888 video data over the i.MX8's CSI interface.
Unfortunately the current drivers don't support RGB888 data, so I tried to add support to the kernel.
What I did:
1. Modified mx6s_capture.c to add support for RGB888
2.Modified mxc_mipi_csi.c to add format support
With the 24bit RGB888 format, the MIPI CSI controller should switch to 32-bit mode, using a 32bit databus instead of a 16bit bus between MIPI CSI and the CSI bridge.
Unfortunately this doesn't seem work and I fail to get all the bytes correctly.
Either I get complete bs or in some constellations the green channel is correct, while blue and red are messed up.
Here is a quick example:
Transmitted: 55CCF0 AA330F 55CCF0 AA330F ...
Received: EA3343 EA3343 EA3343 EA3343 ...
Has anybody used the RGB888 24-bit mode of the CPU or any compatible CPU?