imx8mp HDMI custom resolution

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

imx8mp HDMI custom resolution

跳至解决方案
1,454 次查看
WillisMao
Contributor I

Hi all, i want the 1024*768 resolution for HDMI. According other reply, maybe you should give me the 1024*768 HDMI PLL in samsung_phy_pll_cfg. Thank you.

0 项奖励
回复
1 解答
1,390 次查看
joanxie
NXP TechSupport
NXP TechSupport

try the patch as below

--- a/drivers/phy/freescale/phy-fsl-samsung-hdmi.c
+++ b/drivers/phy/freescale/phy-fsl-samsung-hdmi.c
@@ -324,6 +324,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,
},
+ }, {
+ 65000000, {
+ 0x00, 0xD1, 0x51, 0x58, 0x8D, 0x04, 0x9A, 0x57,
+ 0x4F, 0x30, 0x33, 0x65, 0x10, 0xBE, 0x24, 0x80,
+ 0x6C, 0xF2, 0x67, 0x00, 0x10, 0x85, 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,
+ },
}, {
67500000, {
0x00, 0xD1, 0x54, 0x52, 0x87, 0x03, 0x80, 0x40,
--

在原帖中查看解决方案

4 回复数
1,444 次查看
joanxie
NXP TechSupport
NXP TechSupport

what pixel clock of your hdmi need?

0 项奖励
回复
1,417 次查看
WillisMao
Contributor I

65000000, thank you. Additionally, how to calculate these base numbers? If you could tell me.

0 项奖励
回复
1,391 次查看
joanxie
NXP TechSupport
NXP TechSupport

try the patch as below

--- a/drivers/phy/freescale/phy-fsl-samsung-hdmi.c
+++ b/drivers/phy/freescale/phy-fsl-samsung-hdmi.c
@@ -324,6 +324,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,
},
+ }, {
+ 65000000, {
+ 0x00, 0xD1, 0x51, 0x58, 0x8D, 0x04, 0x9A, 0x57,
+ 0x4F, 0x30, 0x33, 0x65, 0x10, 0xBE, 0x24, 0x80,
+ 0x6C, 0xF2, 0x67, 0x00, 0x10, 0x85, 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,
+ },
}, {
67500000, {
0x00, 0xD1, 0x54, 0x52, 0x87, 0x03, 0x80, 0x40,
--

1,380 次查看
WillisMao
Contributor I

Great, work well. Thank you.

0 项奖励
回复