From: Adam Pigg <adam@xxxxxxxxxxx> This 3 patch set adds V4L2_CAP_IO_MC and vidioc_enum_framesizes support to the sun6i-csi driver, allowing the Pinephone rear camera (ov5640) to be supported. These have been developed with the guidance of Laurent Pinchart, and been tested by capturing frames from the libcamera cam utility. In addition to these, a patch to change the v4l gain mode in the ov5640 driver, and the 2 format propagation patches all by Laurnet are required. Adam Pigg (3): media: sun6i-csi: merge sun6i_csi_formats and sun6i_csi_formats_match media: sun6i-csi: implement V4L2_CAP_IO_MC media: sun6i-csi: implement vidioc_enum_framesizes .../sunxi/sun6i-csi/sun6i_csi_capture.c | 215 +++++++++--------- .../sunxi/sun6i-csi/sun6i_csi_capture.h | 6 +- 2 files changed, 103 insertions(+), 118 deletions(-) -- 2.39.0