Commit 734f0b01 authored by Alain Volmat's avatar Alain Volmat Committed by Mauro Carvalho Chehab

media: stm32-dcmi: add 8-bit Bayer formats support

Add BA81, GBRG, GRBG, RGGB formats in the list of
supported capture formats.
Signed-off-by: default avatarAlain Volmat <alain.volmat@st.com>
Acked-by: default avatarHugues FRUCHET <hugues.fruchet@st.com>
Reviewed-by: default avatarPhilippe CORNU <philippe.cornu@st.com>
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent ab32b2c3
......@@ -1574,6 +1574,22 @@ static const struct dcmi_format dcmi_formats[] = {
.fourcc = V4L2_PIX_FMT_JPEG,
.mbus_code = MEDIA_BUS_FMT_JPEG_1X8,
.bpp = 1,
}, {
.fourcc = V4L2_PIX_FMT_SBGGR8,
.mbus_code = MEDIA_BUS_FMT_SBGGR8_1X8,
.bpp = 1,
}, {
.fourcc = V4L2_PIX_FMT_SGBRG8,
.mbus_code = MEDIA_BUS_FMT_SGBRG8_1X8,
.bpp = 1,
}, {
.fourcc = V4L2_PIX_FMT_SGRBG8,
.mbus_code = MEDIA_BUS_FMT_SGRBG8_1X8,
.bpp = 1,
}, {
.fourcc = V4L2_PIX_FMT_SRGGB8,
.mbus_code = MEDIA_BUS_FMT_SRGGB8_1X8,
.bpp = 1,
},
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment