Switch to sync registration for the IPU internal sub-devices, re-organize modules, and a few other miscellaneous cleanups. History: v4: - Add **cc arg to __capture_try_fmt_vid_cap() to validate colorspace, instead of calling ipu_pixelformat_to_colorspace(). - Add error message if capture format validation failed. v3: - A couple patches did not compile/link. All patches now build so the series is fully bisectable. No functional changes. v2: - Added a patch that improves the pipeline upstream/downstream search functions, which no longer require the media device. - Add a patch to remove getting media device from v4l2_dev driver data. Steve Longerbeam (8): media: staging/imx: Switch to sync registration for IPU subdevs media: staging/imx: Pass device to alloc/free_dma_buf media: staging/imx: Move add_video_device into capture_device_register Revert "media: imx: Set capture compose rectangle in capture_device_set_format" media: staging/imx: Remove capture_device_set_format media: staging/imx: Re-organize modules media: staging/imx: Improve pipeline searching media: staging/imx: Don't set driver data for v4l2_dev drivers/staging/media/imx/Makefile | 18 +- drivers/staging/media/imx/imx-ic-common.c | 68 +-- drivers/staging/media/imx/imx-ic-prp.c | 36 +- drivers/staging/media/imx/imx-ic-prpencvf.c | 88 ++-- drivers/staging/media/imx/imx-ic.h | 6 +- drivers/staging/media/imx/imx-media-capture.c | 90 ++-- drivers/staging/media/imx/imx-media-csi.c | 45 +- .../staging/media/imx/imx-media-dev-common.c | 346 +++++++++++++- drivers/staging/media/imx/imx-media-dev.c | 449 +----------------- drivers/staging/media/imx/imx-media-fim.c | 9 - .../staging/media/imx/imx-media-internal-sd.c | 357 ++++++-------- drivers/staging/media/imx/imx-media-of.c | 41 +- drivers/staging/media/imx/imx-media-utils.c | 170 +++---- drivers/staging/media/imx/imx-media-vdic.c | 84 +--- drivers/staging/media/imx/imx-media.h | 113 +++-- drivers/staging/media/imx/imx7-media-csi.c | 43 +- 16 files changed, 857 insertions(+), 1106 deletions(-) -- 2.17.1