Hi Mustafa
one can connect XCE to gpio and set it in linux/arch/arm/mach-imx/mach-imx6q.c
linux-imx.git - i.MX Linux Kernel
then try to reuse existing mipi driver described in attached Linux Manual
Chapter 20 MIPI CSI2 Driver
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------