HDMI hotplug for OrinNx(8G)

[Orin NX - L4T 35.3.1]
Our customized OrinNx carrier board changes the display from DP to HDMI.
I reference the bring up to change the tegra234-p3767-0000-p3768-0000-a0.dts from dp to hdmi.
"- include “tegra234-dcb-p3767-0000-dp.dtsi”
"+ include “tegra234-dcb-p3767-0000-hdmi.dtsi”
The (TEGRA234_MAIN_GPIO(M, 0) is already in tegra234-mb1-bct-gpio-p3767-hdmi-a03.dtsi, so I don’t
modify it.
From the xrandr, it shows HDMI-0 connected, and I can also use it on 4K monitor.
But we have two issues by using this modification.
1.The HDMI hotplug does not work when I remove or plug in the cable
2.If I set resolution to 4kp60, then change to 1080p monitor.
No image will show unless I change back to 1080p60 resolution on 4K monitor before change to 1080p60 monitor.

Both of the issues seems related to HDMI hot-plug.

[Xavier NX-L4T 35.3.1]
I program Xavier NX by SDK manager on our Orin NX customized board
When I remove or plug in the HDMI cable, dmesg will have some messages about HDMI.
[ 337.410605] Extcon HDMI: HPD disabled
[ 337.410615] tegradc 15200000.display: hdmi: unplugged
[ 337.430621] tegradc 15200000.display: blank - powerdown

And the two issues does not appear by using Xavier NX on our Orin NX customized board.
How could I let the hot-plug work on Orin NX module ?
1_log_dmesg.txt (69.1 KB)
2_log_xrandr.txt (636 Bytes)
3_log_xavier_nx.txt (75.7 KB)

please directly flash your custom board with p3509-a02-p3767 board config. This has everything you need.

“tegra234-dcb-p3767-0000-hdmi.dtsi” and tegra234-mb1-bct-gpio-p3767-hdmi-a03.dtsi are not sufficient.

Check other users’ posts to see how many check items.

I use the command to flash orin nx
./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1
-c tools/kernel_flash/flash_l4t_external.xml -p -c bootloader/t186ref/cfg/flash_t234_qspi.xml --no-systemimg
–showlogs --network usb0 p3509-a02+p3767-0000 internal

I have two questions by using this config
1.When I plug in or remove the HDMI cable, the WARNING message “drivers/gpio/gpio-tegra186.c” appers in dmesg. Is it OK ?

2.Only 2 PCIe interfaces are avaliable(Gen4x4, Gen4x1), the Gen4x2 is disappeared.
How could I let the PCIe Gen4x2 workable ?
putty_nx_hdmi.log (163.7 KB)

1.When I plug in or remove the HDMI cable, the WARNING message “drivers/gpio/gpio-tegra186.c” appers in dmesg. Is it OK ?

It is ok.

2.Only 2 PCIe interfaces are avaliable(Gen4x4, Gen4x1), the Gen4x2 is disappeared.

We don’t discuss a PCIe issue on a HDMI topic. Please file a new topic.

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