Two different camera on MIPI-CSI using mux

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Two different camera on MIPI-CSI using mux

2,213 次查看
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

标签 (1)
0 项奖励
回复
5 回复数

2,147 次查看
ajita02
Contributor IV

@jack_mao @joanxie Please help

0 项奖励
回复

2,137 次查看
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 项奖励
回复

1,857 次查看
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 项奖励
回复

2,197 次查看
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 项奖励
回复

2,172 次查看
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 项奖励
回复