How to change the HDMI pixel clock and change the panel resolution

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

How to change the HDMI pixel clock and change the panel resolution

How to change the HDMI pixel clock and change the panel resolution

Our default BSP code can support below resolution:

      https://github.com/nxp-imx/linux-imx/blob/cbfe1a744dc4a794e79396c7079339a54f89c8f2/drivers/phy/frees...

If customer want to add new pixel clock about their  panel, they can ask our support to generate the new parameters about it, and then add the result to below struct:

const struct phy_config samsung_phy_pll_cfg[] = {}.

After add the result to the struct, you need to re-compile the kernel and boot your board, then run the "modetest -c" command Check whether the changes are effective

when you run the modetest -c command, the following code show as below, You can see all the resolutions currently supported by your monitor.

pengyong_zhang_0-1752116836936.png

 

How to change the panel display resolution:

1) Run the below command at the uboot period:

setenv mmcargs 'setenv bootargs console=${console} root=${mmcroot} video=HDMI-A-1:1920x1080-32@30'

video=HDMI-A-1:3840x2160-32@30:

Set video output parameters:

HDMI-A-1: Specifies the use of the HDMI interface.

3840x2160: The resolution is 3840x2160 (4K).

-32: The color depth is 32 bits.

@30: The refresh rate is 30Hz.

saveenv

boot

2) Change the westom.ini file at the /etc/xdg/weston location, Change the resolution you want in [output] part.

[output]

#name=HDMI-A-1

#mode=640x480@60

#transform=rotate-90

3)Reboot the board, and run the "modetest -p" command see if your change is effective

No ratings
Version history
Last update:
‎07-09-2025 08:08 PM
Updated by: