Message ID | 1353396472-24167-1-git-send-email-markz@nvidia.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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.
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
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>; };
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(-)