AnsweredAssumed Answered

integration of MIPI LCD on imx6DL Nougat Source

Question asked by Prasanna Kulkarni on May 3, 2018
Latest reply on May 6, 2018 by igorpadykov

Hi All,

        We want to integrate mipi lcd display on our imx6dl custom board. 5 years back I have made it work successfully on ICS Source. but now bcoz of DTS concept in kernel am little confused. Currently kernel logo is getting displayed properly but it gets spoiled when android bootanimation comes up. I have shared the pics of both kindly help in solving the issue.

        In imx6qdl-sabresd.dtsi all fb are disabled with that only it is working this much. even i tried to map fb0 to mipi_dsi dev but no effect. so i have kept it very minimal.

 

this is my dtsi file wrt mipi. no change is made wrt to dtsi file. only I have added the appropriate mipi display timings in drivers/video/fbdev/mxc/mxcfb_hx8369_wvga.c file thats all. and bootargs am using like this.

 

"setenv bootargs console=ttymxc0,115200 init=/init video=mxcfb0:dev=mipi_dsi video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off vmalloc=128M androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=freescale cma=448M"

 

reg_mipi_dsi_pwr_on: mipi_dsi_pwr_on {
                        compatible = "regulator-fixed";
                        regulator-name = "mipi_dsi_pwr_on";
                        gpio = <&gpio6 14 0>;
                        enable-active-high;
                };

&mipi_dsi {
        dev_id = <0>;
        disp_id = <1>;
        lcd_panel = "TRULY-WVGA";
        disp-power-on-supply = <&reg_mipi_dsi_pwr_on>;
        reset-gpios = <&gpio6 11 GPIO_ACTIVE_LOW>;
        reset-delay-us = <50>;
        status = "okay";
};

mxcfb1: fb@0 {
                compatible = "fsl,mxc_sdc_fb";
                disp_dev = "ldb";
                interface_pix_fmt = "RGB666";
                default_bpp = <16>;
                int_clk = <0>;
                late_init = <0>;
                status = "disabled";
        };

 

        mxcfb2: fb@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 = "disabled";
        };

 

        mxcfb3: fb@2 {
                compatible = "fsl,mxc_sdc_fb";
                disp_dev = "lcd";
                interface_pix_fmt = "RGB565";
                mode_str ="CLAA-WVGA";
                default_bpp = <16>;
                int_clk = <0>;
                late_init = <0>;
                status = "disabled";
        };

 

        mxcfb4: fb@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 = "disabled";
        };
 

Outcomes