Hi, this patch fixes the imx-media-csi driver to work with camera drivers that do not implement the subdev-pad-operation "get_mbus_format". Changelog: v3 -> v4: - Determine the expected mbus_type based on the link topology. If the parallel port is used, try to parse the endpoint as V4L2_MBUS_PARALLEL and as V4L2_MBUS_BT656. v2 -> v3: - Factor out the function "csi_parse_upstream_fw_link_config" for better readability. v1 -> v2: - No changes (I submitted the wrong patch. I'm sorry for that) It's the follow up of this discussion: https://lore.kernel.org/linux-media/Z8AoA6WjbXQufqR6@kekkonen.localdomain/ I tested the changes successfully on an i.MX6DL with an MT9M114 and an MT9V032 camera. They both use the parallel camera interface. Sadly, I don't have the hardware to test with a MIPI CSI-2 camera. Best regards, Mathis Foerst Mathis Foerst (1): media: imx: csi: Parse link configuration from fw_node drivers/staging/media/imx/imx-media-csi.c | 62 +++++++++++++++++++++-- 1 file changed, 58 insertions(+), 4 deletions(-) base-commit: ac9c34d1e45a4c25174ced4fc0cfc33ff3ed08c7 -- 2.34.1