imx8m mini change the mipi_CLK

cancel
Showing results for 
Search instead for 
Did you mean: 

imx8m mini change the mipi_CLK

233 Views
qiaoweibiao
Contributor III

imx8m mini  LPDDR4  # 4.17.78   

As follow codes,

when i change the pixclk :.clock  there is nothing change about the MIPI_CLK.

where should i change if i want to change the MIPI_CLK.

static const struct drm_display_mode default_mode = {
.clock = 90000,
.hdisplay = 1920,
.hsync_start = 1920 + 2,
.hsync_end = 1920 + 2 + 2,
.htotal = 1920 + 2 + 2 + 2,
.vdisplay = 1280,
.vsync_start = 1280 + 4,
.vsync_end = 1280 + 4 + 4,
.vtotal = 1280 + 4 + 4 + 4,
.vrefresh =36,
.width_mm = 61,
.height_mm = 110,
.flags = DRM_MODE_FLAG_NHSYNC |
DRM_MODE_FLAG_NVSYNC,

0 Kudos
3 Replies

140 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi giao

for clock one can look at line 530

panel-raydium-rm67191.c\panel\drm\gpu\drivers - linux-imx - i.MX Linux kernel 

and line 1283

sec-dsim.c\bridge\drm\gpu\drivers - linux-imx - i.MX Linux kernel 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

140 Views
qiaoweibiao
Contributor III

Now i try to change PHY_REF_CLK  27000000  to 2400000  the  lane MIPI_CLK have changed  ,but i want know why there is 27Mhz rather than 24Mhz ? M_XI  in the datesheet  13.6.8.4  means 27Mhz??Should i change my hardware ?pastedImage_2.png

pastedImage_3.png

Now the clkin1 and clkin2 is NC 

0 Kudos

140 Views
qiaoweibiao
Contributor III

Thanks for you answer,I have tried to change the code from the two places.But there is also no change about the MIPI_CLK  (about 450Mhz)。Is there any other place should I to change?

0 Kudos