ADV7280m configuration

We too are struggling with getting an ADV7282A-M integrated with a TX2. Currently we are trying a minimal driver implementation that only sets up the color bar test signal in free run mode, based on ADI’s sample code for the EVAL-ADV7282AMEBZ eval board (Specifically, the 01_Free_Run_Mode/Color_Bars_576i_MIPI_Out script). Then we try to stream out frames using

v4l2-ctl --device /dev/video0 --stream-mmap --stream-to=frame.raw --stream-count=1

However, then we get a SOF timeout issue:

[ 366.183235] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11

Any directions on what we need to change in our dtsi to get this working would be great!
Also, any working code examples from others who have been more successful than us would be greatly appreciated!

The files we are using currently:
adv7282am.c (10.9 KB)
tegra186-camera-adv7282am-a00.dtsi (2.5 KB)

Have anybody already run ADV7180 chip on Xavier NX platform?

Hello.

Could you please explain about MIPI clock.
Should ADV7180 generate CSI clock signals?

I just wanted to share here that we got it working eventually.
Here are our working device tree and the patches that we had to apply to the driver.
tegra186-camera-adv7281am-a00.dtsi (1.9 KB)
adv7180.diff (3.3 KB)

Now we are seeming another issue though, which I have posted about separately here:

Hello @khang.l4es .
Please send driver and example dtsi for jetson xavier(lixobe3@gmail.com).
Thank you

You should find the dts for Xavier NX in the following comment : ADV7280 Video Converter chip stopped working on Jetpack 5.1.2 - #11 by JerryChang

Meanwhile, I do not use any Xavier AGX so no dts for it

1 Like