sensor driver - v4l2 - MEDIA_BUS_FMT

Hi All,

We are trying to 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

#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.

thanks in advance

You can reference to tc358840