The first two patches add mbus_code filtering support to VIDIOC_ENUM_FMT implementation, and VIDIOC_ENUM_FRAMESIZES support. The minimum and the maximum frame size values are deduced from __video_try_fmt() code. The third patch replaces harcoded limits in __video_try_fmt() with the definitions introduced by the second patch. Andrey Konovalov (3): media: camss: Make use of V4L2_CAP_IO_MC media: camss: add support for vidioc_enum_framesizes ioctl media: camss: __video_try_fmt(): don't use hardcoded constants .../media/platform/qcom/camss/camss-video.c | 112 +++++++++++++++--- 1 file changed, 95 insertions(+), 17 deletions(-) -- 2.17.1