From 11ddd7d1fa241523b50dddf200ef6bb95769c7c1 Mon Sep 17 00:00:00 2001 From: yzq Date: Thu, 25 Jul 2013 11:08:33 +0800 Subject: [PATCH] it66121: fix hdmi 720p flash --- .../video/rockchip/hdmi/chips/cat66121/hdmitx_drv.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/drivers/video/rockchip/hdmi/chips/cat66121/hdmitx_drv.c b/drivers/video/rockchip/hdmi/chips/cat66121/hdmitx_drv.c index fa47aee15683..ed72bc031dcf 100755 --- a/drivers/video/rockchip/hdmi/chips/cat66121/hdmitx_drv.c +++ b/drivers/video/rockchip/hdmi/chips/cat66121/hdmitx_drv.c @@ -359,7 +359,7 @@ void HDMITX_InitTxDev(HDMITXDEV *pInstance) void InitHDMITX() { hdmitx_LoadRegSetting(HDMITX_Init_Table); - HDMITX_WriteI2C_Byte(REG_TX_PLL_CTRL,0xff); +// HDMITX_WriteI2C_Byte(REG_TX_PLL_CTRL,0xff); hdmiTxDev[0].bIntPOL = (hdmiTxDev[0].bIntType&B_TX_INTPOL_ACTH)?TRUE:FALSE ; // Avoid power loading in un play status. @@ -881,7 +881,15 @@ BOOL HDMITX_EnableVideoOutput(VIDEOPCLKLEVEL level,BYTE inputColorMode,BYTE outp // bInputVideoMode,bOutputVideoMode,hdmiTxDev[0].bInputVideoSignalType,bAudioInputType,should be configured by upper F/W or loaded from EEPROM. // should be configured by initsys.c // VIDEOPCLKLEVEL level ; - + switch(level) + { + case PCLK_HIGH: + HDMITX_WriteI2C_Byte(REG_TX_PLL_CTRL,0xff); + break ; + default: + HDMITX_WriteI2C_Byte(REG_TX_PLL_CTRL,0x00); + break ; + } HDMITX_WriteI2C_Byte(REG_TX_SW_RST,B_HDMITX_VID_RST|B_HDMITX_AUD_RST|B_TX_AREF_RST|B_TX_HDCP_RST_HDMITX); hdmiTxDev[0].bHDMIMode = (BYTE)bHDMI ; -- 2.34.1