AnsweredAssumed Answered

i.MX6 LVDS resolution issue on Yocto 3.14.28_1.0.0

Question asked by charles huang on Sep 29, 2015
Latest reply on Oct 5, 2015 by Yuri Muhin

a) dts file setting:

mxcfb3: fb@2 {

    compatible = "fsl,mxc_sdc_fb";

    disp_dev = "ldb";

    interface_pix_fmt = "RGB24";

    mode_str ="800x480M@60";

    default_bpp = <16>;

    int_clk = <0>;

    late_init = <0>;

    status = "okay";

};

 

mxcfb4: fb@3 {

    compatible = "fsl,mxc_sdc_fb";

    disp_dev = "ldb";

    interface_pix_fmt = "RGB24";

    mode_str ="800x480M@60";

    default_bpp = <16>;

    int_clk = <0>;

    late_init = <0>;

    status = "okay";

};

 

&ldb {

    ext-ref = "true";

    status = "okay";

 

    lvds-channel@0 {

        fsl,data-mapping = "spwg";

        fsl,data-width = <24>;

        crtc = "ipu2-di0";

        primary;

        status = "okay";

        display-timings {

            native-mode = <&timing0>;

            timing0: g070vw01v0 {

                clock-frequency = <29500000>;

                hactive = <800>;

                vactive = <480>;

                hback-porch = <96>;

                hfront-porch = <24>;

                vback-porch = <3>;

                vfront-porch = <10>;

                hsync-len = <72>;

                vsync-len = <7>;

            };

        };

    };

 

    lvds-channel@1 {

        fsl,data-mapping = "spwg";

        fsl,data-width = <24>;

        crtc = "ipu1-di1";

        status = "okay";

        display-timings {

            native-mode = <&timing0>;

            timing0: g070vw01v0 {

                clock-frequency = <29500000>;

                hactive = <800>;

                vactive = <480>;

                hback-porch = <96>;

                hfront-porch = <24>;

                vback-porch = <3>;

                vfront-porch = <10>;

                hsync-len = <72>;

                vsync-len = <7>;

            };

        };

    };

};

 

b) Console log:

    1) # fbset -fb /dev/fb0

          mode "800x480-59"

        # D: 29.500 MHz, H: 29.738 kHz, V: 59.476 Hz

        geometry 800 480 800 480 16

        timings 33898 96 24 3 10 72 7

        rgba 5/11,6/5,5/0,0/0

        endmode

 

  2) # cat /sys/class/graphics/fb0/mode

      U:800x480p-59

 

I use above dts file on 3.10.53_1.1.0, LVDS resolution is correct for  lvds-channel@0. But I use above dts file on 3.14.28_1.0.0, LVDS resolution is incorrect for  lvds-channel@0.

Attached files are LVDS display pictures on 3.10.53_1.1.0 and 3.14.28_1.0.0.

Can you help me to solve this issue?

 

Thank you.

 

Best Regards,

Alex Cheng

Outcomes