Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

media: uapi: Add MEDIA_BUS_FMT_RGB888_3X8_DELTA media bus format

Add media bus format for 24-bit panels that expect their pixel data to
be sent serially on a 8-bit bus, in RGB ordering on odd lines, and in
GBR ordering on even lines (aka delta-RGB).

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20201101093150.8071-4-paul@crapouillou.net

+2 -1
+2 -1
include/uapi/linux/media-bus-format.h
··· 34 34 35 35 #define MEDIA_BUS_FMT_FIXED 0x0001 36 36 37 - /* RGB - next is 0x101d */ 37 + /* RGB - next is 0x101e */ 38 38 #define MEDIA_BUS_FMT_RGB444_1X12 0x1016 39 39 #define MEDIA_BUS_FMT_RGB444_2X8_PADHI_BE 0x1001 40 40 #define MEDIA_BUS_FMT_RGB444_2X8_PADHI_LE 0x1002 ··· 56 56 #define MEDIA_BUS_FMT_RGB888_2X12_BE 0x100b 57 57 #define MEDIA_BUS_FMT_RGB888_2X12_LE 0x100c 58 58 #define MEDIA_BUS_FMT_RGB888_3X8 0x101c 59 + #define MEDIA_BUS_FMT_RGB888_3X8_DELTA 0x101d 59 60 #define MEDIA_BUS_FMT_RGB888_1X7X4_SPWG 0x1011 60 61 #define MEDIA_BUS_FMT_RGB888_1X7X4_JEIDA 0x1012 61 62 #define MEDIA_BUS_FMT_ARGB8888_1X32 0x100d