Unable to set the pinmux value correctly fo DP1_HPD (GPIO M.1) in L4T 35.3.1

I have the same problem as this post, the difference is that I used L4T 35.3.1.

1.Create a new flash directory
2.chage ‘pinmux.0x02440038 = 0x00000450;’ in file tegra19x-mb1-pinmux-p3668-a01.cfg
3.sudo ./flash.sh jetson-xavier-nx-devkit-emmc mmcblk0p1

4.Enter the system and read the pinmux value for GPIO M.1) is 0x150 (not 0x450).

GPIO configuraiton has higher priority than pinmux setting. So you have to prevent

  1. There should be no gpio high or gpio low setting in the device tree.

  2. There should be no driver tries to configure this pin as GPIO.

I searched the source code of this project and found no abnormal settings。

DP1_HDP by default is using HDMI driver.
Have you configured to use DP driver?

如果你聽不懂上面說的意思, 這邊講更直接一點
今天如果還是在使用HDMI driver, 它會無視你的pinmux設置. 強制把你的M1 pin設成GPIO.

After setting it to DP driver in the device tree, it works normally.
Thanks a lot.

1 Like

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