MLK-13787 Revert "ARM: dts: imx6qdl-sabresd: Pass the hannstar panel compatible string"
authorOctavian Purdila <octavian.purdila@nxp.com>
Fri, 20 Jan 2017 11:40:50 +0000 (13:40 +0200)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:58:06 +0000 (14:58 -0500)
This reverts commit e0884948a48013bb2097f3e61c4f2122b22f6eb1.

The internal fbdev driver does not use the DRM infrastructure hence we
can't use the DRM simple panel driver, we have to stich with display
timings from device tree.

Signed-off-by: Octavian Purdila <octavian.purdila@nxp.com>
arch/arm/boot/dts/imx6qdl-sabresd.dtsi

index 3d854c8..52b91eb 100644 (file)
                status = "okay";
        };
 
-       backlight_lvds: backlight-lvds {
+       backlight {
                compatible = "pwm-backlight";
                pwms = <&pwm1 0 5000000>;
                brightness-levels = <0 4 8 16 32 64 128 255>;
                status = "okay";
        };
 
-       panel {
-               compatible = "hannstar,hsd100pxn1";
-               backlight = <&backlight_lvds>;
-
-               port {
-                       panel_in: endpoint {
-                               remote-endpoint = <&lvds0_out>;
-                       };
-               };
-       };
-
        v4l2_out {
                compatible = "fsl,mxc_v4l2_output";
                status = "okay";
                fsl,data-width = <18>;
                status = "okay";
 
-               port@4 {
-                       reg = <4>;
-
-                       lvds0_out: endpoint {
-                               remote-endpoint = <&panel_in>;
+               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>;
                        };
                };
        };