media: Add MEDIA_BUS_FMT_RGB101010_1X7X5_SPWG/JEIDA media bus code definitions

This patch adds a new RGB media bus formats that describe
30-bit samples transferred over an LVDS bus with five
differential data pairs, serialized into 7 time slots,
using standard VESA/JEIDA data ordering.

Change-Id: I922a48c70f96727f0292004bb38dabab99f6a918
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com>
This commit is contained in:
Guochun Huang
2019-12-02 16:17:26 +08:00
committed by Tao Huang
parent b007d60ce6
commit 369e075aff

View File

@@ -34,7 +34,7 @@
#define MEDIA_BUS_FMT_FIXED 0x0001
/* RGB - next is 0x1022 */
/* RGB - next is 0x1024 */
#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
@@ -68,6 +68,8 @@
#define MEDIA_BUS_FMT_SRGB888_DUMMY_4X8 0x101f
#define MEDIA_BUS_FMT_SBGR888_DUMMY_4X8 0x1020
#define MEDIA_BUS_FMT_SRBG888_DUMMY_4X8 0x1021
#define MEDIA_BUS_FMT_RGB101010_1X7X5_SPWG 0x1022
#define MEDIA_BUS_FMT_RGB101010_1X7X5_JEIDA 0x1023
/* YUV (including grey) - next is 0x202d */
#define MEDIA_BUS_FMT_Y8_1X8 0x2001