Integration of himax hi8394D 10.1" (800x1280) MIPI Display with iMX8MM

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

Integration of himax hi8394D 10.1" (800x1280) MIPI Display with iMX8MM

672 Views
prasannakulkarni
Contributor IV

Hi all

Recently I have tried to integrate himax hi8394D 10.1" (800x1280) MIPI Display over iMX8MM Processor running Android 10. As usual made use of "panel-raydium-rm67191.c" reference driver.  In the reference driver there is an array, push_cmd_list[], wherein we need to keep display manufactures specific command list. 

1. Few displays would be having <cmd, data> format lists for that mipi_dsi_generic_write(dsi, cmd,1) worked fine.

ssize_t mipi_dsi_generic_write (struct mipi_dsi_device * dsi, const void * payload, size_t size);

2. But for this current display hi8394D, command list was like <cmd, data1, data2, data3......> upto maximum of 45 data. In this case when we used mipi_dsi_generic_write(dsi, cmd, <number of data>). It used to take the command list but display was not coming up, No errors also. Tried for 2-3 days without any clue.  Tried to read mipi reg, It was not giving back the written data at all. Then we have concluded that "write" is not happening. After debugging deeper,  I have tried to use below function instead of mipi_dsi_generic_write.

ssize_t mipi_dsi_dcs_write_buffer (struct mipi_dsi_device * dsi, const void * data, size_t len);

   Yes This time Display was up. mipi_dsi_dcs_write_buffer successfully could write to MIPI device with user defined data length. This could be useful for others.

1 Reply

657 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

This is a great case and is valuable to others!

 

0 Kudos
Reply