linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] ARM: tegra: enable HDMI port on various boards
@ 2012-12-07  0:28 Stephen Warren
  2012-12-07  0:28 ` [PATCH 1/3] ARM: tegra: seaboard: enable HDMI port Stephen Warren
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Stephen Warren @ 2012-12-07  0:28 UTC (permalink / raw)
  To: Stephen Warren; +Cc: linux-arm-kernel, linux-kernel, Stephen Warren

From: Stephen Warren <swarren@nvidia.com>

When tegradrm came along, I chose not to allow HDMI ports to be enabled
on boards that had built-in LCDs, since tegradrm had issues when multiple
outputs were enabled, and I wanted to bias towards internal LCDs working
first. However, that bug has now been squashed, so we can now enable HDMI
anywhere it works. In fact, enabling the LCD outputs may be delayed a
while, as we sort out power sequences vs. generic panel drivers vs. ...

Note that if you have a bootloader that turns on the LCD, and the kernel
doesn't have the LCD output enabled (which is always true right now), the
kernel doesn't disable the LCD scanout. I've filed a bug internally for
Mark Zhang to look into this. However, the HDMI output should still work
fine; the LCD will just display various odd things.

In theory, we could enable HDMI on Cardhu, but I haven't in this series
because doing so causes memory fetch underflow (at least for some external
display resolutions) (since the LCD is enabled too, and not turned off)
since we aren't programming the memory controller correctly yet. As such,
HDMI doesn't actually work well on Cardhu yet.

Stephen Warren (3):
  ARM: tegra: seaboard: enable HDMI port
  ARM: tegra: ventana: enable HDMI port
  ARM: tegra: paz00: enable HDMI port

 arch/arm/boot/dts/tegra20-paz00.dts    |   18 +++++++++++++++---
 arch/arm/boot/dts/tegra20-seaboard.dts |   18 +++++++++++++++---
 arch/arm/boot/dts/tegra20-ventana.dts  |   18 +++++++++++++++---
 3 files changed, 45 insertions(+), 9 deletions(-)

-- 
1.7.10.4


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/3] ARM: tegra: seaboard: enable HDMI port
  2012-12-07  0:28 [PATCH 0/3] ARM: tegra: enable HDMI port on various boards Stephen Warren
@ 2012-12-07  0:28 ` Stephen Warren
  2012-12-07  0:28 ` [PATCH 2/3] ARM: tegra: ventana: " Stephen Warren
  2012-12-07  0:28 ` [PATCH 3/3] ARM: tegra: paz00: " Stephen Warren
  2 siblings, 0 replies; 4+ messages in thread
From: Stephen Warren @ 2012-12-07  0:28 UTC (permalink / raw)
  To: Stephen Warren; +Cc: linux-arm-kernel, linux-kernel, Stephen Warren

From: Stephen Warren <swarren@nvidia.com>

Signed-off-by: Stephen Warren <swarren@nvidia.com>
---
 arch/arm/boot/dts/tegra20-seaboard.dts |   18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)

diff --git a/arch/arm/boot/dts/tegra20-seaboard.dts b/arch/arm/boot/dts/tegra20-seaboard.dts
index 4204598..f9e3ad4 100644
--- a/arch/arm/boot/dts/tegra20-seaboard.dts
+++ b/arch/arm/boot/dts/tegra20-seaboard.dts
@@ -10,6 +10,18 @@
 		reg = <0x00000000 0x40000000>;
 	};
 
+	host1x {
+		hdmi {
+			status = "okay";
+
+			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>;
@@ -345,7 +357,7 @@
 		pinctrl-1 = <&state_i2cmux_pta>;
 		pinctrl-2 = <&state_i2cmux_idle>;
 
-		i2c@0 {
+		hdmi_ddc: i2c@0 {
 			reg = <0>;
 			#address-cells = <1>;
 			#size-cells = <0>;
@@ -463,13 +475,13 @@
 					regulator-max-microvolt = <1800000>;
 				};
 
-				ldo7 {
+				hdmi_vdd_reg: ldo7 {
 					regulator-name = "vdd_ldo7,avdd_hdmi,vdd_fuse";
 					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>;
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/3] ARM: tegra: ventana: enable HDMI port
  2012-12-07  0:28 [PATCH 0/3] ARM: tegra: enable HDMI port on various boards Stephen Warren
  2012-12-07  0:28 ` [PATCH 1/3] ARM: tegra: seaboard: enable HDMI port Stephen Warren
@ 2012-12-07  0:28 ` Stephen Warren
  2012-12-07  0:28 ` [PATCH 3/3] ARM: tegra: paz00: " Stephen Warren
  2 siblings, 0 replies; 4+ messages in thread
From: Stephen Warren @ 2012-12-07  0:28 UTC (permalink / raw)
  To: Stephen Warren; +Cc: linux-arm-kernel, linux-kernel, Stephen Warren

From: Stephen Warren <swarren@nvidia.com>

Signed-off-by: Stephen Warren <swarren@nvidia.com>
---
 arch/arm/boot/dts/tegra20-ventana.dts |   18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)

diff --git a/arch/arm/boot/dts/tegra20-ventana.dts b/arch/arm/boot/dts/tegra20-ventana.dts
index adc4754..2ccb26c 100644
--- a/arch/arm/boot/dts/tegra20-ventana.dts
+++ b/arch/arm/boot/dts/tegra20-ventana.dts
@@ -10,6 +10,18 @@
 		reg = <0x00000000 0x40000000>;
 	};
 
+	host1x {
+		hdmi {
+			status = "okay";
+
+			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>;
@@ -335,7 +347,7 @@
 		pinctrl-1 = <&state_i2cmux_pta>;
 		pinctrl-2 = <&state_i2cmux_idle>;
 
-		i2c@0 {
+		hdmi_ddc: i2c@0 {
 			reg = <0>;
 			#address-cells = <1>;
 			#size-cells = <0>;
@@ -446,13 +458,13 @@
 					regulator-max-microvolt = <1800000>;
 				};
 
-				ldo7 {
+				hdmi_vdd_reg: ldo7 {
 					regulator-name = "vdd_ldo7,avdd_hdmi,vdd_fuse";
 					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>;
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 3/3] ARM: tegra: paz00: enable HDMI port
  2012-12-07  0:28 [PATCH 0/3] ARM: tegra: enable HDMI port on various boards Stephen Warren
  2012-12-07  0:28 ` [PATCH 1/3] ARM: tegra: seaboard: enable HDMI port Stephen Warren
  2012-12-07  0:28 ` [PATCH 2/3] ARM: tegra: ventana: " Stephen Warren
@ 2012-12-07  0:28 ` Stephen Warren
  2 siblings, 0 replies; 4+ messages in thread
From: Stephen Warren @ 2012-12-07  0:28 UTC (permalink / raw)
  To: Stephen Warren; +Cc: linux-arm-kernel, linux-kernel, Stephen Warren

From: Stephen Warren <swarren@nvidia.com>

Signed-off-by: Stephen Warren <swarren@nvidia.com>
---
 arch/arm/boot/dts/tegra20-paz00.dts |   18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)

diff --git a/arch/arm/boot/dts/tegra20-paz00.dts b/arch/arm/boot/dts/tegra20-paz00.dts
index 6a93d14..1062798 100644
--- a/arch/arm/boot/dts/tegra20-paz00.dts
+++ b/arch/arm/boot/dts/tegra20-paz00.dts
@@ -10,6 +10,18 @@
 		reg = <0x00000000 0x20000000>;
 	};
 
+	host1x {
+		hdmi {
+			status = "okay";
+
+			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>;
@@ -252,7 +264,7 @@
 		};
 	};
 
-	i2c@7000c400 {
+	hdmi_ddc: i2c@7000c400 {
 		status = "okay";
 		clock-frequency = <400000>;
 	};
@@ -367,13 +379,13 @@
 					regulator-max-microvolt = <1800000>;
 				};
 
-				ldo7 {
+				hdmi_vdd_reg: ldo7 {
 					regulator-name = "+3.3vs_ldo7,avdd_hdmi";
 					regulator-min-microvolt = <3300000>;
 					regulator-max-microvolt = <3300000>;
 				};
 
-				ldo8 {
+				hdmi_pll_reg: ldo8 {
 					regulator-name = "+1.8vs_ldo8,avdd_hdmi_pll";
 					regulator-min-microvolt = <1800000>;
 					regulator-max-microvolt = <1800000>;
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-12-07  0:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-07  0:28 [PATCH 0/3] ARM: tegra: enable HDMI port on various boards Stephen Warren
2012-12-07  0:28 ` [PATCH 1/3] ARM: tegra: seaboard: enable HDMI port Stephen Warren
2012-12-07  0:28 ` [PATCH 2/3] ARM: tegra: ventana: " Stephen Warren
2012-12-07  0:28 ` [PATCH 3/3] ARM: tegra: paz00: " Stephen Warren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).