rk30: hdmi enable auto config and disable pre-emphasis.

This commit is contained in:
Zheng Yang
2012-04-07 18:24:39 +08:00
parent 310dd217ea
commit d19b8ab54d
2 changed files with 5 additions and 1 deletions

View File

@@ -144,7 +144,7 @@ static void rk30_hdmi_config_phy(unsigned char vic)
rk30_hdmi_config_phy_reg(0x168, 0xDA);
rk30_hdmi_config_phy_reg(0x16c, 0xA2);
rk30_hdmi_config_phy_reg(0x170, 0x0e);
rk30_hdmi_config_phy_reg(0x174, 0x22);
rk30_hdmi_config_phy_reg(0x174, 0x20);
rk30_hdmi_config_phy_reg(0x178, 0x00);
break;

View File

@@ -48,6 +48,7 @@ int hdmi_sys_init(void)
hdmi->hotplug = HDMI_HPD_REMOVED;
hdmi->state = HDMI_SLEEP;
hdmi->enable = HDMI_ENABLE;
hdmi->autoconfig = HDMI_ENABLE;
hdmi->vic = HDMI_VIDEO_DEFAULT_MODE;
hdmi->audio.channel = HDMI_AUDIO_DEFAULT_CHANNEL;
@@ -152,6 +153,9 @@ void hdmi_work(struct work_struct *work)
return;
}
}
else if(hotplug == HDMI_HPD_REMOVED)
rk30_hdmi_removed();
do {
state_last = hdmi->state;
switch(hdmi->state)