diff mbox

[V2] ARM: dt: tegra: cardhu: Add drm components

Message ID 1353396472-24167-1-git-send-email-markz@nvidia.com
State Superseded, archived
Headers show

Commit Message

Mark Zhang Nov. 20, 2012, 7:27 a.m. UTC
This patch adds the rgb node which is needed by
tegra drm driver.

Signed-off-by: Mark Zhang <markz@nvidia.com>
---
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(-)

Comments

Stephen Warren Nov. 26, 2012, 11:17 p.m. UTC | #1
On 11/20/2012 12:27 AM, Mark Zhang wrote:
> 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Mark Zhang Nov. 27, 2012, 3:22 a.m. UTC | #2
On 11/27/2012 07:17 AM, Stephen Warren wrote:
> On 11/20/2012 12:27 AM, Mark Zhang wrote:
>> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm/boot/dts/tegra30-cardhu.dtsi b/arch/arm/boot/dts/tegra30-cardhu.dtsi
index bdb2a66..20af79e 100644
--- a/arch/arm/boot/dts/tegra30-cardhu.dtsi
+++ b/arch/arm/boot/dts/tegra30-cardhu.dtsi
@@ -27,6 +27,15 @@ 
 	model = "NVIDIA Tegra30 Cardhu evaluation board";
 	compatible = "nvidia,cardhu", "nvidia,tegra30";
 
+	host1x {
+		dc@54200000 {
+			rgb {
+				status = "okay";
+				nvidia,ddc-i2c-bus = <&rgbddc>;
+			};
+		};
+	};
+
 	memory {
 		reg = <0x80000000 0x40000000>;
 	};
@@ -114,7 +123,7 @@ 
 		clock-frequency = <408000000>;
 	};
 
-	i2c@7000c000 {
+	rgbddc: i2c@7000c000 {
 		status = "okay";
 		clock-frequency = <100000>;
 	};