AnsweredAssumed Answered

[Yocto BSP 1.8] i.MX6DP Display issue on LVDS dual channel panel

Question asked by charles huang on Mar 10, 2016
Latest reply on Mar 24, 2016 by charles huang

u-boot setting:

setenv mmcargs setenv bootargs console=${console},${baudrate} ${smp} root=${mmcroot} ${bootargs} video=mxcfb0:dev=ldb,if=RGB24 fbmem=24M

 

LVDS dual channel setting in dts file:

&ldb {

  status = "okay";

};

 

&mxcfb1 {

  status = "okay";

};

 

&mxcfb2 {

  disp_dev = "ldb";

  mode_str ="1280x1024M@60";

  status = "okay";

};

 

&mxcfb3 {

  disp_dev = "ldb";

  mode_str ="1280x1024M@60";

  status = "okay";

};

 

&ldb {

  ext_ref = "true";

  status = "okay";

  split-mode;

 

  lvds-channel@0 {

  fsl,data-mapping = "spwg";

  fsl,data-width = <24>;

  crtc = "ipu2-di0";

  primary;

  status = "okay";

 

  display-timings {

                        native-mode = <&timing0>;

                        timing0: g190eg01v1 {

                                clock-frequency = <54000000>;

                                hactive = <640>;

                                vactive = <1024>;

                                hback-porch = <108>;

                                hfront-porch = <40>;

                                vback-porch = <3>;

                                vfront-porch = <29>;

                                hsync-len = <68>;

                                vsync-len = <7>;

                        };

                };

  };

 

  lvds-channel@1 {

                fsl,data-mapping = "spwg";

                fsl,data-width = <24>;

                crtc = "ipu1-di1";

                status = "okay";

 

  display-timings {

                        native-mode = <&timing1>;

                        timing1: g190eg01v1 {

                                clock-frequency = <54000000>;

                                hactive = <640>;

                                vactive = <1024>;

                                hback-porch = <108>;

                                hfront-porch = <40>;

                                vback-porch = <3>;

                                vfront-porch = <29>;

                                hsync-len = <68>;

                                vsync-len = <7>;

                        };

                };

  };

};

 

When the device display QT window on LVDS dual channel panel (1280*1024 resolution), the quality of the image is very poor.

Please see attached file.

Can you tell me how to modify dts file?

 

Thank you.

Original Attachment has been moved to: lvds_pictures.zip

Outcomes