mbox series

[v2,0/1] media: imx: csi: Parse link configuration from fw_node

Message ID 20250314144609.219486-1-mathis.foerst@mt.com (mailing list archive)
Headers show
Series media: imx: csi: Parse link configuration from fw_node | expand

Message

Mathis Foerst March 14, 2025, 2:46 p.m. UTC
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:
v1 -> v2:
- Factor out the function "csi_parse_upstream_fw_link_config" for better
readability.

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 | 36 ++++++++++++++++++++---
 1 file changed, 32 insertions(+), 4 deletions(-)


base-commit: ac9c34d1e45a4c25174ced4fc0cfc33ff3ed08c7