Camera driver porting, probe success but no /dev/video

I’m using Xavier AGX Orin develop kit and trying to make it works with imx477 camera sensor.
Between the develop kit, there is a expansion board with an I2C mux pca9548.
By modify the device tree, now I can see the pca9548 is working, the I2C can communicate with the imx477, and the nv_imx477 driver is loaded. But the issue that, there is no video device under /dev/video*, I would like to know if something missing or incorrect settings?

dmesg:

[   13.532171] imx477 30-001a: probing v4l2 sensor at addr 0x1a
[   13.532235] imx477 30-001a: avdd, iovdd and/or dvdd reglrs. not present, assume sensor powered independently
[   13.532293] imx477 30-001a: tegracam sensor driver:imx477_v2.0.6
[   13.532295] imx477 30-001a: imx477_power_on: power on
[   13.842053] imx477 30-001a: imx477_power_off: power off
[   13.842116] imx477 30-001a: detected imx477 sensor

tegra234-camera-csimx477-a00.dtsi (14.1 KB)
tegra234-p3737-0000-camera-imx477-veye.dtsi (4.8 KB)
tegra234-p3737-camera-modules.dtsi (14.9 KB)

Hi Samuel,

I had the same problem moving from jetpack4 to jetpack5.
threads are the following:

the bottom line was to add “vc-id = 0” in the DTS and “vc_id = 0” in the mode sections.
in my case, I’m not using virtual channels so using 0 will work. I don’t know about your particular case though.

Hope this helps,
Alain

May need to trace into the tegracam_device_register() to figure it out.

Thanks

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.