ARM: dts: nitrogen6x: use simple-panel instead of display-timings for LVDS0
authorEric Nelson <eric.nelson@boundarydevices.com>
Tue, 19 May 2015 15:50:15 +0000 (08:50 -0700)
committerShawn Guo <shawn.guo@linaro.org>
Wed, 3 Jun 2015 07:04:32 +0000 (15:04 +0800)
Also add label for backlight_lvds and connect it to the display.

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi

index 08218120e770af744b45b56b759898d57eb55d64..3af16dfe417be4bb6ec89a2f870e05f1b2df3214 100644 (file)
                status = "okay";
        };
 
-       backlight_lvds {
+       backlight_lvds: backlight_lvds {
                compatible = "pwm-backlight";
                pwms = <&pwm4 0 5000000>;
                brightness-levels = <0 4 8 16 32 64 128 255>;
                power-supply = <&reg_3p3v>;
                status = "okay";
        };
+
+       panel {
+               compatible = "hannstar,hsd100pxn1";
+               backlight = <&backlight_lvds>;
+
+               port {
+                       panel_in: endpoint {
+                               remote-endpoint = <&lvds0_out>;
+                       };
+               };
+       };
 };
 
 &audmux {
                fsl,data-width = <18>;
                status = "okay";
 
-               display-timings {
-                       native-mode = <&timing0>;
-                       timing0: hsd100pxn1 {
-                               clock-frequency = <65000000>;
-                               hactive = <1024>;
-                               vactive = <768>;
-                               hback-porch = <220>;
-                               hfront-porch = <40>;
-                               vback-porch = <21>;
-                               vfront-porch = <7>;
-                               hsync-len = <60>;
-                               vsync-len = <10>;
+               port@4 {
+                       reg = <4>;
+
+                       lvds0_out: endpoint {
+                               remote-endpoint = <&panel_in>;
                        };
                };
        };