A set of patches that fixes some bugs with capturing from an interlaced source, and incompatibilites between IDMAC interlace interweaving and 4:2:0 data write reduction. History: v2: - update media driver doc. - enable idmac interweave only if input field is sequential/alternate, and output field is 'interlaced*'. - move field try logic out of *try_fmt and into separate function. - fix bug with resetting crop/compose rectangles. - add a patch that fixes a field order bug in VDIC indirect mode. - remove alternate field type from V4L2_FIELD_IS_SEQUENTIAL() macro Suggested-by: Nicolas Dufresne <nicolas@xxxxxxxxxxxx>. - add macro V4L2_FIELD_IS_INTERLACED(). Steve Longerbeam (10): media: imx-csi: Pass sink pad field to ipu_csi_init_interface gpu: ipu-csi: Check for field type alternate media: videodev2.h: Add macros V4L2_FIELD_IS_{INTERLACED|SEQUENTIAL} media: imx: interweave only for sequential input/interlaced output fields media: imx: interweave and odd-chroma-row skip are incompatible media: imx: Fix field setting logic in try_fmt media: imx-csi: Allow skipping odd chroma rows for YVU420 media: imx: vdic: rely on VDIC for correct field order media: imx-csi: Move crop/compose reset after filling default mbus fields media: imx.rst: Update doc to reflect fixes to interlaced capture Documentation/media/v4l-drivers/imx.rst | 51 +++++++++---- drivers/gpu/ipu-v3/ipu-csi.c | 3 +- drivers/staging/media/imx/imx-ic-prpencvf.c | 51 +++++++++++-- drivers/staging/media/imx/imx-media-csi.c | 114 ++++++++++++++++++---------- drivers/staging/media/imx/imx-media-vdic.c | 12 +-- include/uapi/linux/videodev2.h | 7 ++ 6 files changed, 165 insertions(+), 73 deletions(-) -- 2.7.4