Message ID | 20200310160633.950-9-laurent.pinchart@ideasonboard.com |
---|---|
State | New |
Headers | show |
Series | [v2,01/10] media: imx: imx7_mipi_csis: Power off the source when stopping streaming | expand |
diff --git a/drivers/staging/media/imx/imx-media-utils.c b/drivers/staging/media/imx/imx-media-utils.c index bc20fcc88267..fae981698c49 100644 --- a/drivers/staging/media/imx/imx-media-utils.c +++ b/drivers/staging/media/imx/imx-media-utils.c @@ -161,7 +161,11 @@ static const struct imx_media_pixfmt rgb_formats[] = { .bayer = true, }, { .fourcc = V4L2_PIX_FMT_GREY, - .codes = {MEDIA_BUS_FMT_Y8_1X8}, + .codes = { + MEDIA_BUS_FMT_Y8_1X8, + MEDIA_BUS_FMT_Y10_1X10, + MEDIA_BUS_FMT_Y12_1X12, + }, .cs = IPUV3_COLORSPACE_RGB, .bpp = 8, .bayer = true,
10-bit and 12-bit greyscale input data to the CSI can be written as 8-bit data to memory. Support this. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> --- drivers/staging/media/imx/imx-media-utils.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)