i.MX8MQ DSI/DPI Horizontal timing parameters

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

i.MX8MQ DSI/DPI Horizontal timing parameters

890 Views
STHansen
Contributor I

Hi

According to the i.MX8M datasheet section 13.6.9 MIPI DSI HOST DPI INTFC horizontal timing parameters are measured in bytes.

Looking in the linux driver nwl-dsi.c it seems as if the parameters are given in pixels, as all other places in the DRM subsystem.

Anyone out there who can clarify this?

Thanks in advance

Steen

Labels (3)
0 Kudos
Reply
2 Replies

882 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

The regmap_write will help us convert int to byte

0 Kudos
Reply

878 Views
STHansen
Contributor I

One pixel is 3 bytes, so if you ned 20 pixels for Hsync and write 20 into the 

MIPI_DSI_HOST_DPI_INTFC_DSI_HOST_CFG_DPI_HSA register then you only get a Hsync pulse of 20/3 pixels, as far as I can see.

Or am I totally wrong?

0 Kudos
Reply