summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMickael Guene <mickael.guene@st.com>2019-04-09 02:15:47 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-04-22 11:35:43 -0400
commite3521f5687b34f5e007d170f029d98f3cb846955 (patch)
treec9f2cf9b2bd9b48da1c4f16f3219745d7229e6b1 /include
parent384538bda10913e5c94ec5b5d34bd3075931bcf4 (diff)
downloadlinux-stable-e3521f5687b34f5e007d170f029d98f3cb846955.tar.gz
linux-stable-e3521f5687b34f5e007d170f029d98f3cb846955.tar.bz2
linux-stable-e3521f5687b34f5e007d170f029d98f3cb846955.zip
media: uapi: Add MEDIA_BUS_FMT_BGR888_3X8 media bus format
This patch adds MEDIA_BUS_FMT_BGR888_3X8 used by STM MIPID02 CSI-2 to PARALLEL bridge driver when input format is MEDIA_BUS_FMT_BGR888_1X24. Signed-off-by: Mickael Guene <mickael.guene@st.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'include')
-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 d6a5a3bfe6c4..2a6b253cfb05 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 0x101b */
+/* RGB - next is 0x101c */
#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
@@ -50,6 +50,7 @@
#define MEDIA_BUS_FMT_RGB666_1X24_CPADHI 0x1015
#define MEDIA_BUS_FMT_RGB666_1X7X3_SPWG 0x1010
#define MEDIA_BUS_FMT_BGR888_1X24 0x1013
+#define MEDIA_BUS_FMT_BGR888_3X8 0x101b
#define MEDIA_BUS_FMT_GBR888_1X24 0x1014
#define MEDIA_BUS_FMT_RGB888_1X24 0x100a
#define MEDIA_BUS_FMT_RGB888_2X12_BE 0x100b