2012-11-20 07:28:52

by Mark Zhang

[permalink] [raw]
Subject: [PATCH V2] ARM: dt: tegra: cardhu: Add drm components

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

Signed-off-by: Mark Zhang <[email protected]>
---
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(-)

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>;
};
--
1.7.9.5


2012-11-26 23:17:31

by Stephen Warren

[permalink] [raw]
Subject: Re: [PATCH V2] ARM: dt: tegra: cardhu: Add drm components

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.

2012-11-27 03:23:09

by Mark Zhang

[permalink] [raw]
Subject: Re: [PATCH V2] ARM: dt: tegra: cardhu: Add drm components

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