imx8m mini MIPI

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

imx8m mini MIPI

714 Views
darcyxu
Contributor II

IMX8M MINI MIPI interface:

when we use RGB888 mode, a pixel needs 24bit (3byte). For the MIPI interface of iMX8M Mini, if it can transmit 4/3 pixel (4 byte mode) or 1 pixel (3 byte mode) per one MIPI CLK? Or support both methods? Which register can be used for the corresponding setting?

if LCD_DATABUS_WIDTH= 0x3 is OK?

darcyxu_0-1617693168748.png

 

Labels (1)
0 Kudos
Reply
1 Reply

704 Views
joanxie
NXP TechSupport
NXP TechSupport

refer to the reference manual:

LCDIF_CTRL[WORD_LENGTH]=3 indicates that the input frame-buffer is RGB
24 bits per pixel (RGB 888). If LCDIF_CTRL1[BYTE_PACKING_FORMAT] is
0x7, it indicates that there is only one pixel per 32-bit word and there is no restriction
on LCDIF_TRANSFER_COUNT[H_COUNT].
Limitation: If LCDIF_CTRL1[BYTE_PACKING_FORMAT] is 0xF, it indicates
that the pixels are packed, that is, there are 4 pixels in 3 words or 12 bytes and
LCDIF_TRANSFER_COUNT[H_COUNT] must be a multiple of 4 pixels.

refer to the source code of mipi , you can find :

case MIPI_DSI_FMT_RGB888:
		return COL_FMT_24BPP;

"https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/gpu/drm/panel/panel-raydium-rm6719..."

 

0 Kudos
Reply