Head1::vdd_hdmi_5v0-supply configuration is ovveride by head0::vdd_hdmi_5v0-supply

Hi,

Can you just tell me what did you do in your test?

Actually, from that log, I still see no log triggered from display driver.

Also, I still have no idea about what is your exact problem. If you are just wondering why you see “vdd-hdmi2-5v0: disabling” log. Then I need to say this question is a little pointless.

But if you are trying to ask the monitor is not able to get detected, then it is worth debugging.

Hi

The problem is that we are 2 HDMI connections on our board. each HDMI has it’s own regulator.
Our purpose is to make both display connections operational.
The problem is that the 5V pin at HDMI connector which controlled by p2822_vdd_hdmi2_5v0 is not active this is cause to that the connector is always inactive and if we connect a monitor there is not going to be monitor detection.
During our debugging process we tried to figure out why this HDMI is not working and we figure out that the 5V pin is 0.
Because of that we began to debug the regulator and its related HW and we found that the tegra does not enable the regulator even though the display is active which cause to detection malfunction.
In order to verify that this is the problem we forced the regulator to always active what cause to the HDMI to be functional.
After verfiy that the inactive regulator cause the issue we decided to disable head0 and to debug only head 1.
After that the regulator was active which cause to the display to be active.
After that we reactive head0 and again the display which was related to head1 was not functional beacuse the regulator output was which cause to the HDMI 5v pin to be 0 which indicates to inactive HDMI.

In order to verify that the regulator is ok we crossed between the 2 regulators while the 2 displayes were active and then we got that opposite results.
This indicated us that the regulator ok but there is some issue with the display configuration which cause to head0 regulator to be active head1 regulators not active which cause to issue with SOR2 display

Can you directly convert your dtb back to dts and attach it here?

Just want to confirm the status of your issue.

  1. disable head0, enable head 1 → head1 is working fine

  2. Enable both heads → only head0 can work.

Also, is this a typo again? SOR1 is not in use if I understand your case correctly.

head1 regulator is not active which cause to issue with SOR1 display

Ye you are correct
I am using Sor0 and sor2 while sor1 is disable

So please share the full dts.

Hi,

Please review the dts if do you find anything?

tegra194-p2888-0001-p2822-0000.dts (321.6 KB)

I just had a quick check but didn’t see any obvious error.

Can you give me the dmesg for each case?

  1. enable both nvdisplay

  2. enable only first head

  3. enable only the second head

BTW, what is the case for your previous log?

Hi
Please review all dts files.

During the test we encounter a strange behavior which was that if all screens were disable SOR0 send an image (nvidia logo during startup) even when the HDMI enable was inactive.

bothDisable (58.8 KB)
sor2Active0Disable (66.1 KB)
bothActive (67.3 KB)
sor0Active2Disable (66.2 KB)

That has nothing strange. The boot logo is controlled by the bootloader but not kernel.

Hi,

What are the hpd gpio that assigned to each display head?

Also, may I know why did you mention DVI 0 in this debug log? Are you using a DVI monitor to test?

[ 3.560942] Kaka tegra_hdmi_is_connected DVI 0
[ 3.560949] Camero forcing to dvi only!!!

I think the problem is the HPD here somehow gets disabled and the sor0 won’t enable the display.

[ 3.561357] extcon-disp-state external-connection:disp-state: cable 48 state 0
[ 3.561359] Extcon AUX2(HDMI) disable

Hi,
[ 3.560942] Kaka tegra_hdmi_is_connected DVI 0
[ 3.560949] Camero forcing to dvi only!!!

Are for debug purpose only and in the past there was force dvi during debug process but only prnt was left by mistake.

For the second thing do you have any idea how can I debug it?
[ 3.561357] extcon-disp-state external-connection:disp-state: cable 48 state 0
[ 3.561359] Extcon AUX2(HDMI) disable

Yes but why there is Illegal hdmi image display when both displays are disable.
The illegal output we verified by using quantum 780

Yes but why there is Illegal hdmi image display when both displays are disable.
The illegal output we verified by using quantum 780

No need to worry about it. This will be gone after you do a full flash.

For the second thing do you have any idea how can I debug it?
[ 3.561357] extcon-disp-state external-connection:disp-state: cable 48 state 0
[ 3.561359] Extcon AUX2(HDMI) disable

Can you reply my question first? What are the hpg gpio in use here?

Also, for these two GPIOs, did you ever change their pinmux setting?

Hi

When both displays were active the is:

[    3.412444] extcon-disp-state external-connection:disp-state: cable 48 state 1
[    3.412449] Extcon AUX2(HDMI) enable

according to the pinmux:
Jetson_AGX_Series_DevKit_Pinmux_Configuration_TemplateX1000_SOM1Debug.xlsx (955.3 KB)

I don’t know what you try to say here.

You already shared both-active log and in the end this extcon will be disabled. Read your log again and you will find it out…

Also, please just tell me what is your gpio for hpd that you write in your device tree.

Sorry my mistake :(
At pinmux
DP_AUX_CH1_HPD is inactive (according to oure scheme)
while
DP_AUX_CH0_HPD and DP_AUX_CH2_HPD are enable and configure as hpd

Please set the vdd regulator as always-on and see if this can make sure both HDMI work.

When I set regulators to next configuration both displays are active:


		p2822_vdd_hdmi2_5v0: regulator@106 {
			compatible = "regulator-fixed";
			reg = <106>;
			regulator-name = "vdd-hdmi2-5v0";
			regulator-min-microvolt = <5000000>;
			regulator-max-microvolt = <5000000>;
			gpio = <&tegra_main_gpio TEGRA194_MAIN_GPIO(A, 0) 0>;
      regulator-alway-on;
			//enable-active-high;
		};


		p2822_vdd_hdmi_5v0: regulator@112 {
			compatible = "regulator-fixed";
			reg = <112>;
			regulator-name = "vdd-hdmi-5v0";
			regulator-min-microvolt = <5000000>;
			regulator-max-microvolt = <5000000>;
			gpio = <&tegra_main_gpio TEGRA194_MAIN_GPIO(A, 3) 0>;
			enable-active-high;
		};