Skip to contentSkip to conversation

ARM: dt: tegra: cardhu: Add drm components

PATCH In review Mark Zhang 2 participants 3 messages Nov 20, 2012 – Nov 27, 2012

Subsystems (2)
lore
Share & tools
lore

Mark Zhang

author
#0 lore raw

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

This patch adds the rgb node which is needed by
tegra drm driver.

---
Changes in V2:
- Remove HDMI node in dts. Currently tegra drm driver doesn't work while RGB and HDMI are enabled simultaneously

 arch/arm/boot/dts/tegra30-cardhu.dtsi |   11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
arch/arm/boot/dts/tegra30-cardhu.dtsi +10 -1
index bdb2a66..20af79e 100644
@@ -27,6 +27,15 @@
 	model = "NVIDIA Tegra30 Cardhu evaluation board";
 	compatible = "nvidia,cardhu", "nvidia,tegra30";
 
+	host1x {
+		dc at 54200000 {
+			rgb {
+				status = "okay";
+				nvidia,ddc-i2c-bus = <&rgbddc>;
+			};
+		};
+	};
+
 	memory {
 		reg = <0x80000000 0x40000000>;
 	};
@@ -114,7 +123,7 @@
 		clock-frequency = <408000000>;
 	};
 
-	i2c at 7000c000 {
+	rgbddc: i2c at 7000c000 {
 		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 node which is needed by
tegra drm driver.

This doesn't seem to include all the GPIOs/regulators/... required to enable the panel and backlight.

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

This patch adds the rgb node which is needed by
tegra drm driver.

This doesn't seem to include all the GPIOs/regulators/... required to enable the panel and backlight.

Yep. Actually I don't know much about panel & backlight stuffs and I don't submit these patches.

For panel supporting, seems right now the "Generic Panel Framework" has been changed to version 2 and be renamed as "Common Display Framework"; For backlight, Alex's power sequence patch is on the way.

So my patch just adds the rgb node in the dts.

Mark