Skip to contentSkip to conversation

ARM: dt: tegra: cardhu: Add drm components

PATCH In review Mark Zhang 3 participants 3 messages Nov 30, 2012 – Dec 3, 2012

Subsystems (2)
lore
Share & tools
lore

Mark Zhang

author
#0 lore raw

PATCH 1/1 ARM: dt: tegra: cardhu: Add drm components

This patch adds the RGB & HDMI nodes in Tegra 30 cardhu's dts. This makes the LVDS & HDMI working.

---
Changes:
- This patch depcrates the patch:
"[PATCH V2] ARM: dt: tegra: cardhu: Add drm components" Because the issue that LCD and HDMI can't work at the same time has been fixed by Thierry's patch:
"drm: tegra: Use framebuffer pitch as line stride"

 arch/arm/boot/dts/tegra30-cardhu.dtsi |   23 +++++++++++++++++++++--
 1 file changed, 21 insertions(+), 2 deletions(-)
arch/arm/boot/dts/tegra30-cardhu.dtsi +21 -2
index bdb2a66..9b33bfb 100644
@@ -27,6 +27,25 @@
 	model = "NVIDIA Tegra30 Cardhu evaluation board";
 	compatible = "nvidia,cardhu", "nvidia,tegra30";
 
+	host1x {
+		dc at 54200000 {
+			rgb {
+				status = "okay";
+				nvidia,ddc-i2c-bus = <&rgb_ddc>;
+			};
+		};
+
+		hdmi {
+			status = "okay";
+
+			vdd-supply = <&sys_3v3_reg>;
+			pll-supply = <&vio_reg>;
+
+			nvidia,hpd-gpio = <&gpio 111 0>; /* PN7 */
+			nvidia,ddc-i2c-bus = <&hdmi_ddc>;
+		};
+	};
+
 	memory {
 		reg = <0x80000000 0x40000000>;
 	};
@@ -114,7 +133,7 @@
 		clock-frequency = <408000000>;
 	};
 
-	i2c at 7000c000 {
+	rgb_ddc: i2c at 7000c000 {
 		status = "okay";
 		clock-frequency = <100000>;
 	};
@@ -137,7 +156,7 @@
 		};
 	};
 
-	i2c at 7000c700 {
+	hdmi_ddc: i2c at 7000c700 {
 		status = "okay";
 		clock-frequency = <100000>;
 	};
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 2 lines · Mark Zhang

This patch adds the RGB & HDMI nodes in Tegra 30 cardhu's dts. This makes the LVDS & HDMI working.

This still doesn't add any of the backlight/panel GPIO programming, which I believe is required before we enable any LCDs. We could add the HDMI node without that though.

#2 lore raw
Quoted 7 lines · Stephen Warren
Quoted 2 lines · Mark Zhang

This patch adds the RGB & HDMI nodes in Tegra 30 cardhu's dts. This makes the LVDS & HDMI working.

This still doesn't add any of the backlight/panel GPIO programming, which I believe is required before we enable any LCDs. We could add the HDMI node without that though.

Okay. So I think I may misunderstood your words several days ago, when I submitted the v1 and v2 version for this patch.

So let's hold on this and wait for the backlight/panel working on cardhu.

Quoted 5 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html