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?
DTS file and some required information snapshot attached in below
Thank you for your support.
Best regards,
Bharath GC
you can refer to the ov5640 dts file
pls check if your camera need PW pin or not
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
pls send the ov5647 driver you use, let me double check it
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.