Analogue Devices HDMI to CSI ADV7480 not supported

Developing an ORIN NX carrier need to support HDMI camera. Used Analogue Devices HDMI to CSI ADV7480 but it is not working. which component is supported?

hello ngoldfisher,

you may refer to Lontium LT6911UXC HDMI-CSI bridge driver.
there’s reference driver from Jetpack-5.1.3/ r35.5.0, please visit jetson-linux-r3550 page to download [Driver Package (BSP) Sources] for public release sources.
the path of the driver is…
$public_sources/kernel_src/kernel/nvidia/drivers/media/i2c/lt6911uxc.c

Hi,
This is in reference also to this post (which is still not solved): HDMI Camera - ADV7480 - CSI - ORIN NX - #9 by JerryChang

I reiterate what I have send on the e-mail on June 13th, as requested, here in the forum:

There is a need to connect a HDMI camera to an ORIN NX module CSI interface.
There is an ADV7480 that is supposed to interface the Camera with the ORIN.
Upon following the official documentation and asking on the forum about such a setup, the best situation that we could came across was to be able to successfully load the ADV748x driver at boot time. This was confirmed by the output of the dmesg command:
image

The steps done to reach this step were to add the specific device tree nodes in a separate dts file that was included in the chain of the device tree files.

The issue at hand is that even though the driver seems to be loaded correctly, there is still no mapping of the /dev/video0.

Clearly the steps we took ware successful up to a point since the kernel was able to load the necessary module.

However, not having a /dev/video0 char device, we cannot use it.

What steps have been taken:

Adding CONFIG_VIDEO_ADV748X in defconfig
The dtsi file done is attached. It was based on another dtsi so there might still be some things that are not used.
The activation was done via an overlay compiled into an dtbo and used in p3509-a02+p3767-0000.conf

The questions raised would be:

  1. First, is there an incompatibility of the ADV7480 with Nvidia?
  2. Is there a similar example from where we could start from or to have as reference?
  3. Is this linked to the device tree? I mean e.g. could this be a problem with the e.g. mode0 settings of the node we created?
  4. Do we need more information from Analog Devices for point 3.?
  5. Do we need other Kconfig in defconfig?
  6. The provided answer above suggests taking the lt6911 driver as reference. That is a driver and not an approach of integrating it in the device tree. As you can see, the ADV7480 driver is already loaded. I am not sure what to do with this lt6911 driver. Could you please clarify the suggestion further?
  7. We worked with 5.1.1. Do we need to change to 5.1.3?

camera-adv748x-overlay.dts.txt (2.8 KB)
tegra234-camera-adv748x.dtsi.txt (23.7 KB)

Thank you

hello velorin0,

>> Q1. First, is there an incompatibility of the ADV7480 with Nvidia?
as you can see in the public release sources, ADV7480 is not supported by default.

>> Q2. Is there a similar example from where we could start from or to have as reference?
as mentioned in previous comment #3. you may see-also Lontium LT6911UXC HDMI-CSI bridge driver.

>>Q3. Is this linked to the device tree? I mean e.g. could this be a problem with the e.g. mode0 settings of the node we created?

here’s an example for sensor probing and register to linux kernel,
it’s not only device probing, but also Detected IMX274 sensor should be reported.
for instance,

[   13.551951] imx274 30-001a: probing v4l2 sensor.
[   13.552815] imx274 30-001a: tegracam sensor driver:imx274_v2.0.6
[   13.575282] tegra-camrtc-capture-vi tegra-capture-vi: subdev imx274 30-001a bound
[   13.576299] imx274 30-001a: Detected IMX274 sensor

>> Q4. Do we need more information from Analog Devices for point 3.?
yes,
please also enable the debug prints to gather more details.

>> Q5. Do we need other Kconfig in defconfig?
it should not, but, you may setting to y to force built-in the kernel driver.

>> Q6. … I am not sure what to do with this lt6911 driver.
actually, there’s device tree of lt6911,
please check following for reference,
$public_sources/r35.5.0/Linux_for_Tegra/source/public/hardware/nvidia/platform/t23x/mandalore/kernel-dts/cvb/tegra234-camera-p3715.dtsi

>> Q7. We worked with 5.1.1. Do we need to change to 5.1.3?
there’re some camera bug fixes, please moving to the latest release version if that’s feasible.

Hello Nvidia guys

I must admit your answer does not comply with the Nvidia standards I would imagine a billion dollar company’s worth such as Nvidia’s.

We do not have any way to receive HDMI video from our product – and you are not helping us on that issue.

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

Hello ngoldfisher/velorin0, are you able to provide more details for further analysis, as requested by Jerry?

  1. Can you share your test pipeline and relevant error logs?
  2. Are you able to share the debug prints (Q4)?
  3. Did you try JP5.1.3 and face the same issue(Q7)?

Thanks