Camera Driver porting in linux-imx bsp

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

Camera Driver porting in linux-imx bsp

620 Views
kamalesh
Contributor II

Hi,

I am facing difficulties to create the video node. I am using kernel 5.10.72-dirty. I have loaded my driver, makefile,Kconfig under /driver/media/i2c and updated my device tree node details in /arch/arm64/boot/dts/freescale/imx8mq-evk.dts.

After successful flashing, Already four video node have created. But first two nodes are mx6s-csi. next some nodes are different.

Is my placing driver file is the right place for my camera? Why my video node creation is not happening?

Regards,
Kamalesh

0 Kudos
Reply
2 Replies

610 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

Which camera are you porting? which device? You can take you project as the appnote:

https://www.nxp.com/docs/en/user-guide/iMX8MP_CAMERA_DISPLAY_GUIDE.pdf

 

Since our bsp have camera driver is already on our BSP:

https://www.nxp.com/design/design-center/software/embedded-software/i-mx-software/embedded-linux-for...

 

Regards

 

0 Kudos
Reply

608 Views
kamalesh
Contributor II
Hi Bio,

Actually I am using kernel 5.10.72.
Here there are two places is there to load a driver.
1) drivers/media/i2c/
2) drivers/media/platform/mxc/capture/

After loading the driver under i2c and flashed the image. Four nodes are already created. First two nodes are created base on the mx6s-csi driver.
Here where i have to update my camera details in device tree?

Earlier i have done the changes under i2c1 node and mipi_csi_1 node. what is the purpose of mxc drivers? why here it is using?

Please these below queries.

Regards,
kamalesh
0 Kudos
Reply