Camera driver only probes after modifying the OVERLAY_DTB_FILE before flashing the device

I have a camera driver on Jetson Orin. The driver only probes successfully when I reduce the OVERLAY_DTB_FILE list in jetson-agx-orin-devkit.conf to L4TConfiguration.dtbo, tegra234-carveouts.dtbo, tegra-optee.dtbo, tegra234-p3737-camera-imx185-overlay.dtbo.

If I use the default configurations, the driver fails to probe. No error is shown in dmesg except that the driver’s probe function is never called.

After removing the overlays, the driver probes successfully and video capture works.

What could be causing this? Is it a device tree resource conflict (e.g., GPIO, I2C address, CSI ports) between my dtb and the dtbs in the list? How can I make them coexist without modifying the flash configuration?

I added these lines to /boot/extlinux/extlinux.conf in the both systems and I can see my device nodes:

FDT /boot/dtb/kernel_tegra234-p3737-0000+p3701-0000-nv.dtb
OVERLAYS /boot/tegra234-p3737-0000+p3701-0000-dynamic.dtbo

So my dtbo is valid for sure.

Do you dump the device tree to confirm?

sudo dtc -I fs -O dts -o extracted_proc.dts /sys/firmware/devicetree/base

Hi Shame

Yes

Do you check the status?

I think you need to add the status = “okay” in your device tree node for it.

OK, I will try.

By the way, I want to confirm, if I reduce the OVERLAY_DTB_FILE list in jetson-agx-orin-devkit.conf to L4TConfiguration.dtbo, tegra234-carveouts.dtbo, tegra-optee.dtbo, tegra234-p3737-camera-imx185-overlay.dtbo
The driver works fine even there is no status=“okay” in my dtso, so it is a necessary change if I use the default jetson-agx-orin-devkit.conf ?

It could be the reducing file have the status = “disable” then you need to add okay to over write it to enable your sensor.

Thanks

It works, thanks a lot