AnsweredAssumed Answered

LCD and HDMI interface not working together !

Question asked by Jemish Patel on Jan 30, 2016
Latest reply on Jun 7, 2016 by Jemish Patel

Hi All,

 

We are using imx6q based custom board for our product. We are using wandboard based kernel (Kernel variant : imx_3.14.28).

For our product requirement we want to run LCD and HDMI interface together.

In our dtsi file below is default configuration.

 

        mxcfb1: fb@0 {

                compatible = "fsl,mxc_sdc_fb";

                disp_dev = "hdmi";

                interface_pix_fmt = "RGB24";

                mode_str ="1920x1080M@60";

                default_bpp = <32>;

                int_clk = <0>;

                late_init = <0>;

                status = "disabled";

        };

        mxcfb2: fb@1 {

                compatible = "fsl,mxc_sdc_fb";

                disp_dev = "ldb";

                interface_pix_fmt = "RGB666";

                mode_str ="LDB-XGA";

                default_bpp = <16>;

                int_clk = <0>;

                late_init = <0>;

                status = "disabled";

        };

        mxcfb3: fb@2 {

                compatible = "fsl,mxc_sdc_fb";

                disp_dev = "lcd";

                interface_pix_fmt = "RGB24";

                mode_str ="CLAA-WVGA";

                default_bpp = <24>;

                int_clk = <0>;

                late_init = <0>;

                status = "disabled";

        };

        mxcfb4: fb@3 {

                compatible = "fsl,mxc_sdc_fb";

                disp_dev = "ldb";

                interface_pix_fmt = "RGB666";

                mode_str ="LDB-XGA";

                default_bpp = <16>;

                int_clk = <0>;

                late_init = <0>;

                status = "disabled";

        };

With this configuration HDMI video and audio is working. We can see data on HDMI display. But LCD is not working with this configuration.

 

To make LCD working we made below changes in dtsi file.

        mxcfb1: fb@0 {

                compatible = "fsl,mxc_sdc_fb";

                disp_dev = "lcd";

                interface_pix_fmt = "RGB24";

                mode_str ="CLAA-WVGA";

                default_bpp = <24>;

                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 = <32>;

                int_clk = <0>;

                late_init = <0>;

                status = "disabled";

 

        };

        mxcfb3: fb@2 {

                compatible = "fsl,mxc_sdc_fb";

                disp_dev = "ldb";

                interface_pix_fmt = "RGB666";

                mode_str ="LDB-XGA";

                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";

                mode_str ="LDB-XGA";

                default_bpp = <16>;

                int_clk = <0>;

                late_init = <0>;

                status = "disabled";

        };

 

Based on above experiments individually both interface LCD and HDMI are working. It indicates that hardware is working fine.

But both interfaces together are not working. 

So it's looks like only "fb0" is working either with LCD or HDMI.

Any suggestions for this issue would be appreciated. Let us know if anything required from our side.

 

Thanks,

Jemish

Outcomes