AnsweredAssumed Answered

imx6dl parallel RGB display could not work on linux5.4.3

Question asked by qiu huashan on Jun 5, 2020
Latest reply on Jun 8, 2020 by qiu huashan

Hi,all

   I'm using a imx6dl custom board with  RGB parallel lcd. The lcd can work correctly on kernel 4.1.15,  u-boot bootargs like this:

console=tty1 console=ttymxc0,115200 root=/dev/mmcblk1p2 rw video=mxcfb0:dev=lcd,CLAA-WVGA,if=RGB565

CLAA-WVGA display setting could be found in mxc_lcdif.c: 

"CLAA-WVGA", 57, 800, 480, 37037, 40, 60, 10, 10, 20, 10,
But when i try linux5.4.3_1.0.0_2.0.0, LCD display nothing:(Backlight OK)
dmesg | grep fb
[ 0.405838] mxc_sdc_fb fb@0: NO mxc display driver found!
[ 0.405934] mxc_sdc_fb fb@1: NO mxc display driver found!
[ 0.406015] mxc_sdc_fb fb@2: NO mxc display driver found!
And i can't find CLAA-WVGA display setting, there is no mxc_lcdif.c in 5.4.3, how it decided the lcd's infomation?
Kindly help , thanks .
Qiu
below settings in dtsi file:
mxcfb1fb@0 {
        compatible = "fsl,mxc_sdc_fb";
        disp_dev = "lcd";
        interface_pix_fmt = "RGB666";
        mode_str ="CLAA-WVGA";
        default_bpp = <16>;
        int_clk = <0>;
        late_init = <0>;
        status = "okay";
    };

    mxcfb2fb@1 {
        compatible = "fsl,mxc_sdc_fb";
        disp_dev = "hdmi";
        interface_pix_fmt = "RGB24";
        mode_str ="1920x1080M@60";
        default_bpp = <24>;
        int_clk = <0>;
        late_init = <0>;
        status = "okay";
    };

    mxcfb3fb@2 {
        compatible = "fsl,mxc_sdc_fb";
        disp_dev = "ldb";
        interface_pix_fmt = "RGB666";
        default_bpp = <16>;
        int_clk = <0>;
        late_init = <0>;
        status = "okay";
    };

    mxcfb4fb@3 {
        compatible = "fsl,mxc_sdc_fb";
        disp_dev = "ldb";
        interface_pix_fmt = "RGB666";
        default_bpp = <16>;
        int_clk = <0>;
        late_init = <0>;
        status = "disabled";
    };
    lcd@0 {
        compatible = "fsl,lcd";
        ipu_id = <0>;
        disp_id = <0>;
        default_ifmt = "RGB565";
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_ipu1>;
        status = "okay"        
         }; 

Outcomes