Also add V4L2_COLORSPACE_RAW to the colorspaces[]. Signed-off-by: Yong Zhi <yong.zhi@xxxxxxxxx> --- utils/media-ctl/libv4l2subdev.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/utils/media-ctl/libv4l2subdev.c b/utils/media-ctl/libv4l2subdev.c index a989efb..46668eb 100644 --- a/utils/media-ctl/libv4l2subdev.c +++ b/utils/media-ctl/libv4l2subdev.c @@ -855,6 +855,7 @@ static const struct { enum v4l2_mbus_pixelcode code; } mbus_formats[] = { #include "media-bus-format-names.h" + { "FIXED", MEDIA_BUS_FMT_FIXED}, { "Y8", MEDIA_BUS_FMT_Y8_1X8}, { "Y10", MEDIA_BUS_FMT_Y10_1X10 }, { "Y12", MEDIA_BUS_FMT_Y12_1X12 }, @@ -965,7 +966,9 @@ static struct { { "srgb", V4L2_COLORSPACE_SRGB }, { "oprgb", V4L2_COLORSPACE_OPRGB }, { "bt2020", V4L2_COLORSPACE_BT2020 }, + { "raw", V4L2_COLORSPACE_RAW }, { "dcip3", V4L2_COLORSPACE_DCI_P3 }, + }; const char *v4l2_subdev_colorspace_to_string(enum v4l2_colorspace colorspace) -- 2.7.4