Our default BSP code can support below resolution:
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.
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