On Wed, Apr 11, 2018 at 03:33:50PM +0530, asadpt iqroot wrote:
> Hi All,
> We are trying develop a sensor driver code for hdmi2csi adapter.
> Reguired data format is RGB888. But in media format header file, we
> could see three macros related to RGB888. Hardware connection is mipi
> csi2.
> #define MEDIA_BUS_FMT_RGB888_1X24 0x100a
> #define MEDIA_BUS_FMT_RGB888_2X12_BE 0x100b
> #define MEDIA_BUS_FMT_RGB888_2X12_LE 0x100c
> How to decide whether we go for RGB888_1X24 or RGB888_2X12 macros.

Originally when support was added for serial busses, we did not create new
formats for these busses but instead re-used the ones intended for parallel
busses. Please use the single-sample variant of the format.

Sakari Ailus
e-mail: sakari.ai...@iki.fi

Reply via email to