IMX8MQ Uboot cannot read or write the MIPI DSI register

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

IMX8MQ Uboot cannot read or write the MIPI DSI register

1,209 次查看
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

标签 (1)
0 项奖励
4 回复数

1,204 次查看
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 项奖励

1,159 次查看
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 项奖励

1,187 次查看
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 项奖励

1,008 次查看
my_name_lyl
Contributor I

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

0 项奖励