ARM: tegra: tamonten: add the display to the Medcom Wide
authorAlban Bedel <alban.bedel@avionic-design.de>
Thu, 19 Jun 2014 13:25:50 +0000 (15:25 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 17 Jul 2014 13:02:10 +0000 (15:02 +0200)
Enable the RGB output and add the panel definition to the Medcom Wide
DTS. Also add a label to the backlight defintion to reference it in
the panel definition.

Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/boot/dts/tegra20-medcom-wide.dts

index 0318b84..1b7c56b 100644 (file)
                status = "okay";
        };
 
+       host1x@50000000 {
+               dc@54200000 {
+                       rgb {
+                               status = "okay";
+                               nvidia,panel = <&panel>;
+                       };
+               };
+       };
+
        i2c@7000c000 {
                wm8903: wm8903@1a {
                        compatible = "wlf,wm8903";
@@ -30,7 +39,7 @@
                };
        };
 
-       backlight {
+       backlight: backlight {
                compatible = "pwm-backlight";
                pwms = <&pwm 0 5000000>;
 
                default-brightness-level = <6>;
        };
 
+       panel: panel {
+               compatible = "innolux,n156bge-l21", "simple-panel";
+
+               power-supply =  <&vdd_1v8_reg>, <&vdd_3v3_reg>;
+               enable-gpios = <&gpio TEGRA_GPIO(B, 2) GPIO_ACTIVE_HIGH>;
+
+               backlight = <&backlight>;
+       };
+
        sound {
                compatible = "ad,tegra-audio-wm8903-medcom-wide",
                             "nvidia,tegra-audio-wm8903";