Re: [PATCH v2] media: i2c: alvium: cleanup media bus formats
From: Martin Hecht
Date: Thu Sep 11 2025 - 11:11:44 EST
Hi Sakari,
On 9/11/25 14:14, Sakari Ailus wrote:
Hi Martin,
On Tue, Sep 09, 2025 at 03:59:37PM +0200, Martin Hecht wrote:
This patch removes MEDIA_BUS_FMT_RBG888_1X24 and MEDIA_BUS_FMT_BGR888_1X24
as of that formats are not supported by Alvium currently.
The missing and supported MEDIA_BUS_FMT_RGB565_1X16 has been added.
What's the pixel order used by the format in Alvium case?
The Alvium has a fixed pixel order currently what should be BGR during transmission of any RGB format as described in MIPI-CSI2 spec 1.3. We tested with MEDIA_BUS_FMT_RGB888_1X24 as well as MEDIA_BUS_FMT_RGB888_3X8 for RGB24 in several SoCs like imx8mm, imx8mp and Xilinx CSI2RX subsystem on ZynqMP and Versal.
Does that answer your question?
BR Martin