How to increase the hdmi clock on the imx8Mplus

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

How to increase the hdmi clock on the imx8Mplus

跳至解决方案
324 次查看
juan_tang
Contributor III

How to increase the HDMI clock in the samsung_phy_pll_cfg function in the drivers/phy/freescale/phy-fsl-samsung-hdmi.c file, given the screen resolution is 800x480 and the clock is 32MHz.

0 项奖励
1 解答
232 次查看
juan_tang
Contributor III

Shaojun,the problem has been resolved. Thanks for your support.

在原帖中查看解决方案

0 项奖励
3 回复数
281 次查看
shaojun_wang
NXP Employee
NXP Employee

Please apply below patch

You may need to add "video=HDMI-A-1:800x480@60" in uboot command line.

diff --git a/drivers/phy/freescale/phy-fsl-samsung-hdmi.c b/drivers/phy/freescale/phy-fsl-samsung-hdmi.c
index d1e93e5b9207..221e71ae2341 100644
--- a/drivers/phy/freescale/phy-fsl-samsung-hdmi.c
+++ b/drivers/phy/freescale/phy-fsl-samsung-hdmi.c
@@ -136,6 +136,15 @@ const struct phy_config samsung_phy_pll_cfg[] = {
0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0xE0, 0x83, 0x0F, 0x3E, 0xF8, 0x00, 0x00,
},
+ }, {
+ 32000000, {
+ 0x00, 0xD1, 0x36, 0x70, 0xAD, 0xA0, 0x85, 0x42,
+ 0x4F, 0x30, 0x33, 0x65, 0x00, 0xC1, 0x24, 0x80,
+ 0x6C, 0xF2, 0x67, 0x00, 0x10, 0x87, 0x30, 0x3A,
+ 0x74, 0x8F, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00,
+ 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0xE0, 0x83, 0x0F, 0x3E, 0xF8, 0x00, 0x00,
+ },
}, {
33750000, {
0x00, 0xD1, 0x70, 0xF4, 0x82, 0x01, 0x80, 0x40,

311 次查看
shaojun_wang
NXP Employee
NXP Employee

Will check it.

0 项奖励
233 次查看
juan_tang
Contributor III

Shaojun,the problem has been resolved. Thanks for your support.

0 项奖励