HDMI custom resolution and clock setting

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

HDMI custom resolution and clock setting

1,327 Views
lsg5131420
Contributor III

Hi

I want to add support for 1280*800 and 1366*768 resolution with hdmi display on imx8mq. By reading the code,I found the pixel clock 85.5M(1366*768) and 71.1M(1280*800)  was not  supported. i am afraid  i shouled modify table 8(t28hpc_hdmitx_clock_control_table_pixel_out[]) and table 9(t28hpc_hdmitx_pll_tuning_table_pixel_out[]) to support 85.5M and 71.M. and I have read the IMX8MDQLQRM datesheet. and it does not describe about this. How can I to config these tables?

BR

Liu

0 Kudos
7 Replies

1,181 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

The resolutions 3840x2160,1920x1080, 1280x720, 720x480 are support in our default BSP. For the other resolutions work you need to change the clocks accordingly to the display requirements.

Here I found the patch based on the Linux 4.14.78-1.0.0_ga version BSP. Hope can do help for you.

0 Kudos

1,181 Views
lsg5131420
Contributor III

Hi Rita

Thanks for your reply. I use the BSP version is Linux 4.14.98. I found my quesiton  is answered on HDMI DRM custom resolution and clock frequency . They use  HDMI - pixel clock calculation tools to generate coustom hdmi pixel clock. But I can not download the tools because of no authorization. Please send the tools to me, if that is convinent.

Thanks very much.

Best regards

Shiguang Liu

0 Kudos

1,181 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

I have email to you, please check.

0 Kudos

1,181 Views
lsg5131420
Contributor III

Hi Rita

Thank you very much. It is useful to me.

Best regards.

Shiguang Liu

0 Kudos

1,181 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

You are welcome~~

0 Kudos

1,181 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Hi Shiguang,

OK, I will do confirm it and then give you reply.

Have a nice day

Best regards

Rita

0 Kudos

1,181 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Which version of BSP are you using?

0 Kudos