02-28-2024, 05:01 AM
(This post was last modified: 02-28-2024, 05:32 AM by cringeops.
Edit Reason: DTS screenshot
)
I'm trying to figure out missing pieces in the endeavor of making cameras work. I see that the kernel module for OV5648 is present in 6.6.13-danctnix1-1-pinetab2 kernel and it's linked to the v4l2 subsystem, however none of the /dev/video* devices are operational. Maybe some of you, guys, have already investigated it.
The dmesg suggest that the driver expects 168000000 clock rate, but cannot find it in the device-tree.
UPD: I found the DTS used for the device, and indeed, the clock rate is 400000.
Code:
➜ ~ lsmod | grep ov5648
ov5648 32768 0
v4l2_fwnode 28672 1 ov5648
v4l2_async 28672 3 v4l2_fwnode,dw9714,ov5648
videodev 339968 8 v4l2_async,v4l2_fwnode,videobuf2_v4l2,dw9714,hantro_vpu,rockchip_rga,ov5648,v4l2_mem2mem
mc 77824 8 v4l2_async,videodev,videobuf2_v4l2,dw9714,hantro_vpu,videobuf2_common,ov5648,v4l2_mem2mem
➜ ~ cat /sys/bus/platform/devices/fe5b0000.i2c/i2c-2/2-0036/name
ov5648
➜ ~ sudo dmesg | grep ov5648
[ 8.541190] ov5648 2-0036: failed to find 168000000 clk rate in endpoint link-frequencies
The dmesg suggest that the driver expects 168000000 clock rate, but cannot find it in the device-tree.
UPD: I found the DTS used for the device, and indeed, the clock rate is 400000.