Mipi Display support on imx8mq during uboot

cancel
Showing results for 
Search instead for 
Did you mean: 

Mipi Display support on imx8mq during uboot

133 Views
dennis3
Contributor IV

In the uboot sources I'm using for Android 10 (2.3.0), there is mipi bridge drivers, but not necessarily for the imx8mq.  It seems that part of the DTS files has not been updated.

Example:

  imx8mq.dtsi

 

			mipi_dsi: mipi_dsi@30a00000 {
				#address-cells = <1>;
				#size-cells = <0>;
				compatible = "fsl,imx8mq-nwl-dsi";
	

 

In the drivers directory, there is no driver that is compatible with imx8mq-nwl-dsi.  Also missing is a driver for the dphy (imx8mq-mipi-dphy)

There is however drivers for 

  • dcss (drivers/video/imx/imx8m_dcss.c)
  • lcdif (drivers/video/mxsfb.c)

There are however drivers that seem to be close:

  • northwest,mipi-dsi (drivers/video/imx/mipi_dsi_northwest.c)
  • fsl,imx7ulp-mipi-dsi (drivers/video/imx/nw_dsi_imx.c)

Are any of the existing drivers compatible with the imx8mq cores?  Has anyone already done this work to bring up the imx8 mipi display during uboot?

 

Tags (2)
0 Kudos
4 Replies

126 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello dennis3,

There are support for MIPI on MX8MMini the dtb is for MIPI-DSI OLED display, it works for Linux and Android 10.

 

Regards

 

0 Kudos

120 Views
dennis3
Contributor IV

Thanks for the reply.  When I looked at those drivers it gave the impression the mini had different IP and used different drivers.  Are you saying the imx8mq is compatible with those drivers?

0 Kudos

113 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Yes, for the MIPI OLED it works

 

0 Kudos

103 Views
dennis3
Contributor IV

Here is the imx8mm.dtsi section for mipi_dsi:

 

 

            mipi_dsi: mipi_dsi@32e10000 {
                #address-cells = <1>;
                #size-cells = <0>;
                compatible = "fsl,imx8mm-mipi-dsim";
 

 

 

The address block for  the mipi controller on the imx8mq is 30a00000.  I think I'm missing how these are compatible and how the mm driver can work on the mq.  Am I looking at the right file/driver/documentation?

The sec_dsim_imx driver lists the following as compatible controllers:

 

    { .compatible = "fsl,imx8mm-mipi-dsim" },
    { .compatible = "fsl,imx8mn-mipi-dsim" },
    { .compatible = "fsl,imx8mp-mipi-dsim" },

 

Suggests to me this is compatible with the nano and the plus, but not the imx8m quad? 

0 Kudos