From 215ac770e223060cc23d8c6cbaaaa847fdddf34a Mon Sep 17 00:00:00 2001 From: Algea Cao Date: Tue, 25 Jan 2022 14:50:40 +0800 Subject: [PATCH] phy: rockchip-samsung-hdptx-hdmi: Fix slight deviation of some frequencies HDMI phy pll Ksub can't set to 0, or some frequencies may have slight deviation. Signed-off-by: Algea Cao Change-Id: I5e9b6faf7a4397b2b43beea7094fbd3f4b4cb46b --- drivers/phy/rockchip/phy-rockchip-samsung-hdptx-hdmi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/phy/rockchip/phy-rockchip-samsung-hdptx-hdmi.c b/drivers/phy/rockchip/phy-rockchip-samsung-hdptx-hdmi.c index 741b39f5f88d..62df7c155e36 100644 --- a/drivers/phy/rockchip/phy-rockchip-samsung-hdptx-hdmi.c +++ b/drivers/phy/rockchip/phy-rockchip-samsung-hdptx-hdmi.c @@ -794,7 +794,7 @@ struct ropll_config ropll_tmds_cfg[] = { { 742500, 124, 124, 1, 1, 7, 1, 1, 1, 1, 1, 1, 1, 62, 1, 16, 5, 0, 1, 1, 0, 0x20, 0x0c, 1, 0x0e, 0, 0, }, - { 650000, 162, 162, 1, 1, 11, 1, 1, 1, 1, 1, 1, 1, 54, 0, 16, 3, 0, + { 650000, 162, 162, 1, 1, 11, 1, 1, 1, 1, 1, 1, 1, 54, 0, 16, 4, 1, 1, 1, 0, 0x20, 0x0c, 1, 0x0e, 0, 0, }, { 337500, 0x70, 0x70, 1, 1, 0xf, 1, 1, 1, 1, 1, 1, 1, 0x2, 0, 0x01, 5, 1, @@ -806,8 +806,8 @@ struct ropll_config ropll_tmds_cfg[] = { { 270000, 0x5a, 0x5a, 1, 1, 0xf, 1, 1, 0, 1, 0, 1, 1, 0x9, 0, 0x05, 0, 0x14, 0x18, 1, 0, 0x20, 0x0c, 1, 0x0e, 0, 0, }, - { 251750, 0x53, 0x53, 1, 1, 0xf, 1, 1, 1, 1, 1, 1, 1, 0x9, 0, 0x05, 0, 0x14, - 0x18, 1, 0, 0x20, 0x0c, 1, 0x0e, 0, 0, + { 251750, 84, 84, 1, 1, 0xf, 1, 1, 1, 1, 1, 1, 1, 168, 1, 16, 4, 1, + 1, 1, 0, 0x20, 0x0c, 1, 0x0e, 0, 0, }, { ~0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,