summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryanwu <yanwu@Exdroid6.(none)>2013-03-02 14:53:47 +0400
committeryanwu <yanwu@Exdroid6.(none)>2013-03-02 14:53:47 +0400
commitaf848ae52251c52ad381d65b270a00abc55923cb (patch)
tree6df9e6f6f13a4bc7a1f7521f7c5edec78630ede6
parentc9bc60b899efaa3de5f8ae5b5ae97c1f19fa0d8c (diff)
downloadlinux-sunxi-lichee-3.3/sun7i-dev.tar.xz
hdmi:fix hdmi clk and power for a20lichee-3.3/sun7i-dev
-rwxr-xr-xdrivers/video/sun7i/disp/de_bsp/de/disp_clk.c2
-rwxr-xr-xdrivers/video/sun7i/hdmi/aw/hdmi_core.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/drivers/video/sun7i/disp/de_bsp/de/disp_clk.c b/drivers/video/sun7i/disp/de_bsp/de/disp_clk.c
index 060cc0912fe0..6356be6c0b70 100755
--- a/drivers/video/sun7i/disp/de_bsp/de/disp_clk.c
+++ b/drivers/video/sun7i/disp/de_bsp/de/disp_clk.c
@@ -576,7 +576,7 @@ __s32 hdmi_clk_init(void)
OSAL_CCMU_MclkOnOff(h_hdmiahbclk, CLK_ON);
g_clk_status |= CLK_HDMI_AHB_ON;
-
+ hdmi_clk_on();
return DIS_SUCCESS;
}
diff --git a/drivers/video/sun7i/hdmi/aw/hdmi_core.c b/drivers/video/sun7i/hdmi/aw/hdmi_core.c
index c073c1fd51e3..1078531022ce 100755
--- a/drivers/video/sun7i/hdmi/aw/hdmi_core.c
+++ b/drivers/video/sun7i/hdmi/aw/hdmi_core.c
@@ -38,7 +38,8 @@ __s32 hdmi_core_initial(void)
video_mode = HDMI720P_50;
memset(&audio_info,0,sizeof(HDMI_AUDIO_INFO));
memset(Device_Support_VIC,0,sizeof(Device_Support_VIC));
- HDMI_WUINT32(0x004,0x80000000); //start hdmi controller
+ HDMI_WUINT32(0x004,0x80000000); //start hdmi controller
+ HDMI_WUINT32(0x200,0xe0000000); //power enable
return 0;
}