[v2,0/2] pipeline: imx8-isi: Add multicamera support
mbox series

Message ID 20250618124541.2340270-1-antoine.bouyer@nxp.com
Headers show
Series
  • pipeline: imx8-isi: Add multicamera support
Related show

Message

Antoine Bouyer June 18, 2025, 12:45 p.m. UTC
Hi

This is second patchset for adding support of multicamera into imx8-isi
pipeline handler. As with v1 version, ISI routing is moved from configure
to match. Number of cameras is computed at beginning, so as number of
pipes. Then same amount of pipes are assigned to each camera, with
dedicated routes.

This patchset integrates all comments from previous v1:
 - Rephrase some comments as suggested by Laurent.
 - Reflow text to 80 columns in comments.
 - Add error log when camera count is not as expected.
 - Move link-enable into match instead of configure.

As agreed during previous review, I keep using same amount of pipes per
camera instead of using all available pipes when division factor is not
an integer value, and any misconfiguration keep returning error during
match.

Antoine Bouyer (2):
  pipeline: imx8-isi: Add constexpr for maximum pipeline and resize if
    needed
  pipeline: imx8-isi: Add multicamera support

 src/libcamera/pipeline/imx8-isi/imx8-isi.cpp | 121 +++++++++++++------
 1 file changed, 81 insertions(+), 40 deletions(-)