AnsweredAssumed Answered

How to configure the uboot args and device tree when configuring the DISP0_DAT0-17 parallel output ports for rgb666 display?

Question asked by Edward Fu on Jan 23, 2018
Latest reply on Jan 23, 2018 by igorpadykov

Hi, team, I want  i.MX6 output RGB666 format via parallel DISP0_DAT0-23 ports, and my display interface is:

DISP0_DAT0:DISP0_DAT5 - B0-B5
DISP0_DAT6:DISP0_DAT11 - G0-G5
DISP0_DAT12:DISP0_DAT17 - R0-R5

 

and my uboot args is:

video=mxcfb0:dev=lcd,HUD-WVGA,if=RGB666,bpp=16

 

device tree configuration is:

mxcfb1: fb@0 {
        compatible = "fsl,mxc_sdc_fb";
        disp_dev = "lcd";
        interface_pix_fmt = "RGB666";
        mode_str ="HUD-WVGA";
        default_bpp = <18>;
        int_clk = <0>;
        late_init = <0>;
        status = "disabled";
    };

 

lcd@0 {
        compatible = "fsl,lcd";
        ipu_id = <0>;
        disp_id = <0>;
        default_ifmt = "RGB666";
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_ipu1>;
        status = "okay";
    };

 

But, when application development engineer runs a QT program, the Red and Blue color reverse and the Green color is OK.

 

I don`t know how to resolve it.

 

 

Thank you very much!

Outcomes