AnsweredAssumed Answered

MIPI DSI driven by LCDIF is not working in i.MX8MQ

Question asked by Abhishek Hegde on Jul 7, 2020
Latest reply on Jul 7, 2020 by Abhishek Hegde

I am using Linux 4.14.98 BSP. I'm using panel raydium 67198 which supports 1080p resolution. My display works fine if I use DCSS as input source for MIPI DSI. If I change it to LCDIF, frame buffer is created. But nothing comes up on display and there is no error print either.
I verified the clocks as well.
1)In case of DCSS, IMX8MQ_CLK_DC_PIXEL is 120MHz, IMX8MQ_VIDEO_PLL1_OUT is 1200MHz.
2)In case of LCDIF, IMX8MQ_CLK_LCDIF_PIXEL is 120MHz, IMX8MQ_VIDEO_PLL1_OUT is 1200MHz.


1) Device tree in case of DCSS:-


&dcss {
        status = "okay";

        disp-dev = "mipi_disp";

         /*Here clock configuration is there in my dts*/

        dcss_disp0: port@0 {
                reg = <0>;

                dcss_disp0_mipi_dsi: mipi_dsi {
                        remote-endpoint = <&mipi_dsi_in>;
                };
        };
};

 

&mipi_dsi {
        status = "okay";
        port@1 {
                mipi_dsi_in: endpoint {
                        remote-endpoint = <&dcss_disp0_mipi_dsi>;
                };
        };

};

2) Device tree in case of LCDIF:-

 

&lcdif {
        status = "okay";
        max-res = <1080>, <1920>;
        port@1 {
                lcdif_mipi_dsi: mipi-dsi-endpoint {
                        remote-endpoint = <&mipi_dsi_in>;
                };
        };
};


&mipi_dsi {
        status = "okay";
        as_bridge;
        pwr-delay = <10>;
        port@1 {
                mipi_dsi_in: endpoint {
                        remote-endpoint = <&lcdif_mipi_dsi>;
                };
        };
};


Note:- I'm testing same panel and I have no issues with DCSS as input source.

Outcomes