AnsweredAssumed Answered

How do I configure the device tree for a display (1366x768, 60Hz)

Question asked by Oliver Kasten on Apr 12, 2016
Latest reply on Apr 15, 2016 by Oliver Kasten

I'm trying to configure the device tree for a new display (1366x768, 60hz). I want to use it under Linux 3.10.53 as framebuffer device. With the following configuration I get a distored image:

 

display_fb1: fb@0 {

    compatible = "fsl,mxc_sdc_fb";

    disp_dev = "ldb";

    interface_pix_fmt = "RGB24";

    default_bpp = <32>;

    int_clk = <0>;

    late_init = <0>;

    status = "okay";

};

 

&ldb {

    status = "disabled";

 

    lvds-channel@1 {

        crtc = "ipu2-di1";

        fsl,data-mapping = "spwg";

        fsl,data-width = <24>;

        status = "okay";

        primary;

 

        display-timings {

            AUO15Zoll1366x768: AUOG156XW01V1 {

                clock-frequency = <76000000>;

                hactive = <1366>;

                vactive = <768>;

 

                hback-porch = <0>;

                hfront-porch = <0>;

                vback-porch = <0>;

                vfront-porch = <0>;

 

                hsync-len = <194>;

                vsync-len = <38>;

                de-active = <1>;

            };

        };

    };

};

 

If I only change the hactive value to 1364 or 1368 for example the image looks okay. How do I get it to work with a value of 1366?

Outcomes