Switch IPU/CSI Mutltiplex during runtime

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

Switch IPU/CSI Mutltiplex during runtime

785 Views
swendt
Contributor II

Is it possible to have 3 video inputs on the iMX6DL IPU/CSI ?

So 16-Bit parallel YUV on CSI0, 8-Bit YUV parallel on CSI1 and an HDMI receiver on MIPI-CSI and then e.g. switch between CSI0 und MIPI-CSI during runtime by setting IOMUXC_GPR13 bits ? (Stop Video Stream, reset GPR13 bits, start stream again) ?

How would a DTS file look like ? And what needs to be done else ?

Is it possible to have 3 /dev/video entries ?

Labels (1)
0 Kudos
2 Replies

724 Views
swendt
Contributor II

I solved it by loading / unloading the modules and keep all 3 entries in the device tree.

0 Kudos

724 Views
igorpadykov
NXP Employee
NXP Employee

Hi Sebastian

yes this possible in theory, but such case is not supported in nxp bsps.

In general after switching csi sources, it is necessary fully reinitialize ipu.

For dts probably one can try overlays:

https://www.kernel.org/doc/Documentation/devicetree/overlay-notes.txt 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos