From 95a95292dc7994470c9b4f8be27fdf7990f1a6d2 Mon Sep 17 00:00:00 2001 From: xuhuicong Date: Thu, 30 May 2013 14:28:46 +0800 Subject: [PATCH] hdmi: rk616: set hdmi pll(n = 15, m = 150) modify shiny on some tv --- drivers/video/rockchip/hdmi/chips/rk616/rk616_hdmi_hw.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/video/rockchip/hdmi/chips/rk616/rk616_hdmi_hw.c b/drivers/video/rockchip/hdmi/chips/rk616/rk616_hdmi_hw.c index c86a572d4acf..d2725567c83b 100755 --- a/drivers/video/rockchip/hdmi/chips/rk616/rk616_hdmi_hw.c +++ b/drivers/video/rockchip/hdmi/chips/rk616/rk616_hdmi_hw.c @@ -276,6 +276,10 @@ static int rk616_hdmi_config_video(struct hdmi_video_para *vpara) hdmi_dbg(hdmi->dev, "[%s] sucess output DVI.\n", __FUNCTION__); } +#if 1 + HDMIWrReg(0xed, 0x0f); + HDMIWrReg(0xe7, 0x96); +#else if(hdmi->tmdsclk >= 148500000) { HDMIWrReg(0xed, 0xc); HDMIWrReg(0xe7, 0x78); @@ -284,6 +288,7 @@ static int rk616_hdmi_config_video(struct hdmi_video_para *vpara) HDMIWrReg(0xed, 0x3); HDMIWrReg(0xe7, 0x1e); } +#endif return 0; } -- 2.34.1