IMX8MQ Uboot cannot read or write the MIPI DSI register

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

IMX8MQ Uboot cannot read or write the MIPI DSI register

1,421 Views
Dio_HUI
Contributor I

Our products use IMX8MQ, we hope to achieve MIPI DSI output display in the UBOOT phase. It was found that IMX8MQ could not read or write directly to the registers of the MIPI DSI, which would cause the direct chip reset and then enter the wireless loop.

In the uboot-imx/board/freescale/imx8mq_evk/imx8mq_evk.c,We tested reads and writes in the board_init function

mmexport1601456982682.pngEZPE)0Z{(OVIIJ9$E6N%CLL.png

Labels (1)
0 Kudos
4 Replies

1,416 Views
igorpadykov
NXP Employee
NXP Employee

Hi Dio_HUI

 

for example one can look at uboot mipi-dsi driver

https://source.codeaurora.org/external/imx/uboot-imx/tree/drivers/video/mipi_dsi_northwest.c?h=imx_v...

 

Best regards
igor

0 Kudos

1,371 Views
Dio_HUI
Contributor I

Hi igorpadykov

I don't know which register the sim_base address in mipi_dsi_northwest.c points to

 

Best regards
Dio_HUI

0 Kudos

1,399 Views
coindu
Contributor IV

hi: igorpadykov

    int mipi_dsi_northwest_setup(u32 base_addr, u32 sim_addr){

   dsi_info->sim_base = sim_addr;

}

   I donot know which register is match the sim_addr on i.MX8MQ platform, can you point it out?

 

0 Kudos

1,220 Views
my_name_lyl
Contributor I

IMX8MQ 的 mipi-dsi 的寄存器地址 is 0x30a00000 ,可以参考linux内核的设备树文件(dtb)

0 Kudos