media-bus: Add SRGB888 media bus format

The output timing described at [1], focus at s888 mode and
s888 dummy mode:

[1] https://patchwork.kernel.org/patch/9992241/

Change-Id: I1bcc6d64ede243d89807acc7e842bcc7fd120c26
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
This commit is contained in:
Sandy Huang
2019-03-19 10:28:11 +08:00
committed by Tao Huang
parent ecccc04d21
commit 1dfe019d6a

View File

@@ -33,7 +33,7 @@
#define MEDIA_BUS_FMT_FIXED 0x0001
/* RGB - next is 0x101c */
/* RGB - next is 0x1022 */
#define MEDIA_BUS_FMT_RGB444_1X12 0x1016
#define MEDIA_BUS_FMT_RGB444_2X8_PADHI_BE 0x1001
#define MEDIA_BUS_FMT_RGB444_2X8_PADHI_LE 0x1002
@@ -61,6 +61,12 @@
#define MEDIA_BUS_FMT_RGB121212_1X36 0x1019
#define MEDIA_BUS_FMT_RGB161616_1X48 0x101a
#define MEDIA_BUS_FMT_RGB666_1X7X3_JEIDA 0x101b
#define MEDIA_BUS_FMT_SRGB888_3X8 0x101c
#define MEDIA_BUS_FMT_SBGR888_3X8 0x101d
#define MEDIA_BUS_FMT_SRBG888_3X8 0x101e
#define MEDIA_BUS_FMT_SRGB888_DUMMY_4X8 0x101f
#define MEDIA_BUS_FMT_SBGR888_DUMMY_4X8 0x1020
#define MEDIA_BUS_FMT_SRBG888_DUMMY_4X8 0x1021
/* YUV (including grey) - next is 0x202c */
#define MEDIA_BUS_FMT_Y8_1X8 0x2001