summaryrefslogtreecommitdiff
path: root/include/uapi/linux/media-bus-format.h
diff options
context:
space:
mode:
authorPaul Cercueil <paul@crapouillou.net>2020-11-01 12:31:49 +0300
committerPaul Cercueil <paul@crapouillou.net>2020-11-17 16:59:55 +0300
commit63ee07d5a8d7f279187984dbdf6bbfd571c937dd (patch)
tree962938c3ee92ccf5ddfa0a29f538c95d2830edb3 /include/uapi/linux/media-bus-format.h
parente366a644c69d0909cb3ff3921c9c9ef4cff9a41d (diff)
downloadlinux-63ee07d5a8d7f279187984dbdf6bbfd571c937dd.tar.xz
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
Diffstat (limited to 'include/uapi/linux/media-bus-format.h')
-rw-r--r--include/uapi/linux/media-bus-format.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/uapi/linux/media-bus-format.h b/include/uapi/linux/media-bus-format.h
index 84fa53ffb13f..5d905ad6dbb2 100644
--- a/include/uapi/linux/media-bus-format.h
+++ b/include/uapi/linux/media-bus-format.h
@@ -34,7 +34,7 @@
#define MEDIA_BUS_FMT_FIXED 0x0001
-/* RGB - next is 0x101d */
+/* RGB - next is 0x101e */
#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
@@ -56,6 +56,7 @@
#define MEDIA_BUS_FMT_RGB888_2X12_BE 0x100b
#define MEDIA_BUS_FMT_RGB888_2X12_LE 0x100c
#define MEDIA_BUS_FMT_RGB888_3X8 0x101c
+#define MEDIA_BUS_FMT_RGB888_3X8_DELTA 0x101d
#define MEDIA_BUS_FMT_RGB888_1X7X4_SPWG 0x1011
#define MEDIA_BUS_FMT_RGB888_1X7X4_JEIDA 0x1012
#define MEDIA_BUS_FMT_ARGB8888_1X32 0x100d