We have a custom carrier card for an Orin NX SOM that utilizes HDMI. Our previous Xavier NX Carrier card utilized the extcon functionality to trigger a udev event when HDMI hotplug was detected. This does not work on Orin for some reason (extcon shows up in /sys/class/ but extcon0 is not there), does someone have a workaround for this?
I have applied the following changes to try to get this working:
- Switched DCB by including “tegra234-dcb-p3767-0000-hdmi.dtsi”
- Updated pinmux to make GPIO M0 an input (hpd pin)
- Added display@13800000 to the device tree:
display@13800000 {
+ status = "okay";
+ os_gpio_hotplug_a = <&tegra_main_gpio TEGRA234_MAIN_GPIO(M, 0) GPIO_ACTIVE_LOW>;
+ };
- added external connection to the device tree:
external-connection {
+ disp-state {
+ compatible = "extcon-disp-state";
+ #extcon-cells = <1>;
+ };
+ };
- Applied the SCR patch described in https://developer.download.nvidia.com/embedded/L4T/r35_Release_v4.1/docs/Jetson_Linux_Release_Notes_r35.4.1.pdf
Any help would be extremely useful