imx8mp HDMI custom resolution

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

imx8mp HDMI custom resolution

Jump to solution
1,468 Views
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 Kudos
Reply
1 Solution
1,404 Views
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,
--

View solution in original post

4 Replies
1,458 Views
joanxie
NXP TechSupport
NXP TechSupport

what pixel clock of your hdmi need?

0 Kudos
Reply
1,431 Views
WillisMao
Contributor I

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

0 Kudos
Reply
1,405 Views
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,394 Views
WillisMao
Contributor I

Great, work well. Thank you.

0 Kudos
Reply