Skip to contentSkip to conversation

ARM: tegra: Add missing HDMI +5V regulator

PATCH New Thierry Reding 2 participants 2 messages Apr 24, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: tegra: Add missing HDMI +5V regulator

From: Thierry Reding <[email protected]>

Commit fb50a116bbbc ("drm/tegra: hdmi - Add connector supply support") introduced a new supply for HDMI connectors that is used to control the voltage on the +5V pin. Not all boards have had the corresponding supply added to their device tree files, causing the following warning message during boot:

	[    0.859698] 54280000.hdmi supply hdmi not found, using dummy regulator

Add such a regulator to the Seaboard DTS to enable the driver to control this voltage and get rid of the warning.

---
Hi Stephen,

This is completely untested because I don't have a Seaboard. But this is based on the schematics and I think it should work, so it'd be great if you could test it.

Thanks,
Thierry

 arch/arm/boot/dts/tegra20-seaboard.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)
arch/arm/boot/dts/tegra20-seaboard.dts +12 -0
index e2fed2712249..aea8994b35f2 100644
@@ -31,6 +31,7 @@
 
 			vdd-supply = <&hdmi_vdd_reg>;
 			pll-supply = <&hdmi_pll_reg>;
+			hdmi-supply = <&vdd_hdmi>;
 
 			nvidia,ddc-i2c-bus = <&hdmi_ddc>;
 			nvidia,hpd-gpio = <&gpio TEGRA_GPIO(N, 7)
@@ -893,6 +894,17 @@
 			gpio = <&gpio TEGRA_GPIO(W, 0) GPIO_ACTIVE_HIGH>;
 			enable-active-high;
 		};
+
+		vdd_hdmi: regulator at 6 {
+			compatible = "regulator-fixed";
+			reg = <6>;
+			regulator-name = "VDDIO_HDMI";
+			regulator-min-microvolt = <5000000>;
+			regulator-max-microvolt = <5000000>;
+			gpio = <&gpio TEGRA_GPIO(V, 5) GPIO_ACTIVE_HIGH>;
+			enable-active-high;
+			vin-supply = <&vdd_5v0_reg>;
+		};
 	};
 
 	sound {
Signature · 1 line
2.3.5
#1 lore raw

PATCH 1/1 ARM: tegra: Add missing HDMI +5V regulator

Quoted 13 lines · Thierry Reding

From: Thierry Reding <[email protected]>

Commit fb50a116bbbc ("drm/tegra: hdmi - Add connector supply support") introduced a new supply for HDMI connectors that is used to control the voltage on the +5V pin. Not all boards have had the corresponding supply added to their device tree files, causing the following warning message during boot:

	[    0.859698] 54280000.hdmi supply hdmi not found, using dummy regulator

Add such a regulator to the Seaboard DTS to enable the driver to control this voltage and get rid of the warning.

Quoted 8 lines

---
Hi Stephen,

This is completely untested because I don't have a Seaboard. But this is based on the schematics and I think it should work, so it'd be great if you could test it.