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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

1,334 Views
Anonymous
Deactivated User

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.

Labels (1)
0 Kudos
2 Replies

1,008 Views
igorpadykov
NXP Employee
NXP Employee

Hi Abhishek

one can try with nxp bsps from official source.codeaurora.org/external/imx/linux-imx  repository :

imx8mq-evk-lcdif-rm67191.dts\freescale\dts\boot\arm64\arch - linux-imx - i.MX Linux kernel 

Documentation

Embedded Linux for i.MX Applications Processors | NXP 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

1,008 Views
Anonymous
Deactivated User

Hi Igor,

Issue got resolved after adding sync-pol =<1> in dts. But weston GUI is not coming although I get openembedded logo.

Thanks & Regards,
Abhishek Hegde

0 Kudos