2328652_en-US

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

2328652_en-US

2328652_en-US

Support Needed for Enabling OV5647 Camera on i.MX93 FRDM

Hi,

I am currently working on enabling the OV5647 camera module on the i.MX93 FRDM board. I have added the OV5647 node in the device tree and configured the appropriate clock source. The camera sensor is detected, and I am able to provide a 25 MHz clock on CCMSRCGPCMIX CLKO3.

However, the /dev/video0 and media0 nodes are not appearing on the target board.

Could you please assist me in identifying the possible cause of this issue or suggest steps to resolve it?

Screenshot from 2026-03-05 14-34-48.png

DTS file and some required information snapshot attached in below

Thank you for your support.

Best regards,
Bharath GC

Re: Support Needed for Enabling OV5647 Camera on i.MX93 FRDM

you can refer to the ov5640 dts file

https://github.com/nxp-imx-support/meta-imx-frdm/blob/lf-6.6.36-2.1.0/meta-imx-bsp/recipes-kernel/li...

pls check if your camera need  PW pin or not

Re: Support Needed for Enabling OV5647 Camera on i.MX93 FRDM

Hello @joanxie ,

Thanks for your immediate response,

As requested, I am sharing the OV5647 driver currently used in our build.
The driver is taken from the kernel source in our Yocto build environment.

Please find the attached driver ov5647.c file in the attachment 

This is the driver being used for the camera integration on our system based on the i.MX93.


driver is enabled for CONFIG_VIDEO_OV5647=y

the kernel Version 6.6.36-lts-next-gb1d63f58897b-dirty


Regards

Bharath GC


Re: Support Needed for Enabling OV5647 Camera on i.MX93 FRDM

pls send the ov5647 driver you use, let me double check it

Re: Support Needed for Enabling OV5647 Camera on i.MX93 FRDM

Hello @joanxie ,

I also tried making some changes by referring to the OV5640 DTS file, but there is still no change on the target side. The same error is appearing.

I have attached the updated DTS file, which I modified based on the OV5640 camera module DTS configuration.

The power-domain pin is enabled by default, and I confirmed this by forcing it to active-low using a gpio-hog. If I add the below structure, the camera does not come up, which indicates that the power-domain is functioning.

pcal6524:gpio@22 {

......

       camera_pwdn {

            gpio-hog;

           gpios = <22 GPIO_ACTIVE_LOW>;

           output-high;

          line-name = "camera_pwdn";

     };

};

Please find the modified DTS file attached for your reference. Kindly help in resolving this issue.

Thank you.



Tags (1)
No ratings
Version history
Last update:
‎03-14-2026 03:29 AM
Updated by: