media: stm32-dcmi: add 8-bit Bayer formats support
Subsystems (2)
PATCH 1/1 media: stm32-dcmi: add 8-bit Bayer formats support
From: Alain Volmat <[email protected]>
Add BA81, GBRG, GRBG, RGGB formats in the list of
supported capture formats.
Signed-off-by Alain Volmat <[email protected]>
Acked-by Hugues FRUCHET <[email protected]>
Reviewed-by Philippe CORNU <[email protected]>
--- drivers/media/platform/stm32/stm32-dcmi.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)
drivers/media/platform/stm32/stm32-dcmi.c +16 -0
@@ -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, }, };
Signature · 1 line
2.7.4