How to increase the hdmi clock on the imx8Mplus

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

How to increase the hdmi clock on the imx8Mplus

Jump to solution
290 Views
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 Kudos
1 Solution
198 Views
juan_tang
Contributor III

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

View solution in original post

0 Kudos
3 Replies
247 Views
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,

277 Views
shaojun_wang
NXP Employee
NXP Employee

Will check it.

0 Kudos
199 Views
juan_tang
Contributor III

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

0 Kudos