Skip to contentSkip to conversation

ARM: tegra: Enable HDMI on Tamonten carriers

PATCH New Thierry Reding 2 participants 5 messages Nov 16, 2012

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

cover ARM: tegra: Enable HDMI on Tamonten carriers

The three patches in this series enable the HDMI output on Plutux and TEC. The Medcom-Wide only has an LVDS output and the TEC has an LVDS output as well, but since they depend on the videomode helpers and the power-sequences patch series, they will only be enabled in subsequent patches.

Thierry

Thierry Reding (3):
ARM: tegra: tamonten: Add host1x support
ARM: tegra: plutux: Enable HDMI output
ARM: tegra: tec: Enable HDMI output

 arch/arm/boot/dts/tegra20-plutux.dts    |  6 ++++++
 arch/arm/boot/dts/tegra20-tamonten.dtsi | 16 +++++++++++++---
 arch/arm/boot/dts/tegra20-tec.dts       |  6 ++++++
 3 files changed, 25 insertions(+), 3 deletions(-)
Signature · 1 line
1.8.0
#1 lore raw

PATCH 1/3 ARM: tegra: tamonten: Add host1x support

Hook up the required regulators, I2C DDC adapter and hotplug detect GPIO to the Tamonten HDMI output. Carrier boards still need to explicitly enable the output to use it.

---
 arch/arm/boot/dts/tegra20-tamonten.dtsi | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)
arch/arm/boot/dts/tegra20-tamonten.dtsi +13 -3
index 95df80e..a239ccd 100644
@@ -8,6 +8,16 @@
 		reg = <0x00000000 0x20000000>;
 	};
 
+	host1x {
+		hdmi {
+			vdd-supply = <&hdmi_vdd_reg>;
+			pll-supply = <&hdmi_pll_reg>;
+
+			nvidia,ddc-i2c-bus = <&hdmi_ddc>;
+			nvidia,hpd-gpio = <&gpio 111 0>; /* PN7 */
+		};
+	};
+
 	pinmux {
 		pinctrl-names = "default";
 		pinctrl-0 = <&state_default>;
@@ -292,7 +302,7 @@
 		pinctrl-1 = <&state_i2cmux_pta>;
 		pinctrl-2 = <&state_i2cmux_idle>;
 
-		i2c at 0 {
+		hdmi_ddc: i2c at 0 {
 			reg = <0>;
 			#address-cells = <1>;
 			#size-cells = <0>;
@@ -407,13 +417,13 @@
 					regulator-max-microvolt = <2850000>;
 				};
 
-				ldo7 {
+				hdmi_vdd_reg: ldo7 {
 					regulator-name = "vdd_ldo7,avdd_hdmi";
 					regulator-min-microvolt = <3300000>;
 					regulator-max-microvolt = <3300000>;
 				};
 
-				ldo8 {
+				hdmi_pll_reg: ldo8 {
 					regulator-name = "vdd_ldo8,avdd_hdmi_pll";
 					regulator-min-microvolt = <1800000>;
 					regulator-max-microvolt = <1800000>;
Signature · 1 line
1.8.0
#2 lore raw

PATCH 2/3 ARM: tegra: plutux: Enable HDMI output

In reply to Thierry Reding

Enable the HDMI output found on Plutux boards.

---
 arch/arm/boot/dts/tegra20-plutux.dts | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm/boot/dts/tegra20-plutux.dts +6 -0
index 331a3ef..2894800 100644
@@ -6,6 +6,12 @@
 	model = "Avionic Design Plutux board";
 	compatible = "ad,plutux", "ad,tamonten", "nvidia,tegra20";
 
+	host1x {
+		hdmi {
+			status = "okay";
+		};
+	};
+
 	i2c at 7000c000 {
 		wm8903: wm8903 at 1a {
 			compatible = "wlf,wm8903";
Signature · 1 line
1.8.0
#3 lore raw

PATCH 3/3 ARM: tegra: tec: Enable HDMI output

In reply to Thierry Reding

Enable the HDMI output found on Tamonten Evaluation Carrier boards.

---
 arch/arm/boot/dts/tegra20-tec.dts | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm/boot/dts/tegra20-tec.dts +6 -0
index 916bec1..402b210 100644
@@ -6,6 +6,12 @@
 	model = "Avionic Design Tamonten Evaluation Carrier";
 	compatible = "ad,tec", "ad,tamonten", "nvidia,tegra20";
 
+	host1x {
+		hdmi {
+			status = "okay";
+		};
+	};
+
 	i2c at 7000c000 {
 		wm8903: wm8903 at 1a {
 			compatible = "wlf,wm8903";
Signature · 1 line
1.8.0
#4 lore raw

cover ARM: tegra: Enable HDMI on Tamonten carriers

In reply to Thierry Reding
Quoted 5 lines · Thierry Reding

The three patches in this series enable the HDMI output on Plutux and TEC. The Medcom-Wide only has an LVDS output and the TEC has an LVDS output as well, but since they depend on the videomode helpers and the power-sequences patch series, they will only be enabled in subsequent patches.

Thanks, I've applied the series to Tegra's for-3.8/dt branch.