[PATCH v3 0/1] media: imx: csi: Parse link configuration from fw_node

From: Mathis Foerst
Date: Fri Mar 14 2025 - 11:01:40 EST


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:
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 | 45 +++++++++++++++++++++--
1 file changed, 42 insertions(+), 3 deletions(-)


base-commit: ac9c34d1e45a4c25174ced4fc0cfc33ff3ed08c7
--
2.34.1