Two different camera on MIPI-CSI using mux

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Two different camera on MIPI-CSI using mux

424 Views
ajita02
Contributor IV

Hi all,

We want to use two different cameras on single MIPI-CSI port using MUX with IMX8MM linux. At a time only one camera module will be active in runtime. How to make dts entries for this? Can someone guide us achieve this objective?

Thanks & Regards,

Ajita

#imx8mm #linux

Labels (1)
0 Kudos
Reply
5 Replies

358 Views
ajita02
Contributor IV

@jack_mao @joanxie Please help

0 Kudos
Reply

348 Views
joanxie
NXP TechSupport
NXP TechSupport

maybe you can refer to this topic, with switch NX3DV642

bring up dual Camera under single mipi csi - NXP Community

 

0 Kudos
Reply

68 Views
ajita02
Contributor IV

Hi @joanxie @Bio_TICFSL ,

We have tried to implement the patch shared by @joanxie. We made changes in these files "https://github.com/nxp-imx/linux-imx/blob/lf-6.1.y/drivers/staging/media/imx/imx8-mipi-csi2-sam.c" and "“https://github.com/nxp-imx/linux-imx/blob/lf-6.1.y/drivers/staging/media/imx/imx8-media-dev.c” . But IMX8MM is not using any of these files. So as a result its only probing first endpoint mentioned in dts and ignoring second endpoint of camera.

Can you provide us a lead?

Thanks & Regards,

Ajita

0 Kudos
Reply

408 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

Even you connect convert board, but imx8mm doesn't have virtual channel to handle this, if you need dual camera, maybe you can use MIPI CSI+ usb camera

 

Regards

0 Kudos
Reply

383 Views
ajita02
Contributor IV

Hi @Bio_TICFSL ,

Can we use single channel used by mux as at a time single camera will be in use? Mux select line will be handle by GPIO.

Thanks & Regards,

Ajita

0 Kudos
Reply