Hello, This patch series completes (for now :-)) my rework of the CSI-2 receiver found in the i.MX7 SoCs. Patches 01/14 and 02/14 have already been tested and acked. The next four patches (03/14 to 06/14) fix format handling by adding missing formats and removing unsupported formats, and patches 07/14 to 09/14 then clean up and fix image width alignment handling. The next three patches (10/14 to 12/14) are again miscellaneous cleanups. Patch 13/14 removes usage of the only imx-media-utils helper used in this driver as the helper isn't compatible with the i.MX7 CSI-2 receiver formats. Patch 14/14 finally implements the subdev .enum_mbus_code() pad operation to allow enumeration of media bus codes from userspace. The patches have been tested on an i.MX7Q with a 10-bit greyscale MIPI CSI-2 sensor. Laurent Pinchart (14): media: imx: imx7-mipi-csis: Cleanup and fix subdev pad format handling media: imx: imx7-mipi-csis: Centralize initialization of pad formats media: imx: imx7-mipi-csis: Add missing RAW formats media: imx: imx7-mipi-csis: Expose correct YUV formats media: imx: imx7-mipi-csis: Fix MEDIA_BUS_FMT_UYVY8_2X8 data alignment media: imx: imx7-mipi-csis: Add MEDIA_BUS_FMT_UYVY10_2X10 support media: imx: imx7-mipi-csis: Rename data_alignment field to width media: imx: imx7-mipi-csis: Align image width based on format media: imx: imx7-mipi-csis: Never set MIPI_CSIS_ISPCFG_ALIGN_32BIT media: imx: imx7-mipi-csis: Align macro definitions media: imx: imx7-mipi-csis: Remove link setup on source pad media: imx: imx7-mipi-csis: Cleanup includes media: imx: imx7-mipi-csis: Don't use imx-media-utils helpers media: imx: imx7-mipi-csis: Implement the .enum_mbus_code() operation drivers/staging/media/imx/imx7-mipi-csis.c | 446 +++++++++++++-------- 1 file changed, 274 insertions(+), 172 deletions(-) -- Regards, Laurent Pinchart