|
发表于 2018-2-1 08:41:55
只看该作者
5#
u-boot 有一处 bug , 不知道您那边有没修
drivers\video\rk3036_lcdc.c
rk_lcdc_load_screen() :
227d5cfad0d7975ba721d36821b0a111a7233c78
drivers/video/rk3036_lcdc.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/video/rk3036_lcdc.c b/drivers/video/rk3036_lcdc.c
index 3ffdcc2..e945503 100755
--- a/drivers/video/rk3036_lcdc.c
+++ b/drivers/video/rk3036_lcdc.c
@@ -380,6 +380,9 @@ int rk_lcdc_load_screen(vidinfo_t *vid)
int msk,val;
int bg_val = 0;
struct lcdc_device *lcdc_dev = &rk312x_lcdc;
+
+ printf("rk_lcdc_load_screen - rk312x\n");
+
lcdc_dev->output_color = COLOR_RGB;
lcdc_dev->overlay_mode = VOP_RGB_DOMAIN;
switch (vid->screen_type) {
@@ -442,8 +445,8 @@ int rk_lcdc_load_screen(vidinfo_t *vid)
break;
case SCREEN_LVDS:
- msk = m_LVDS_DCLK_INVERT | m_LVDS_DCLK_EN;
- val = v_LVDS_DCLK_INVERT(1) | v_LVDS_DCLK_EN(1);
+ msk = m_LVDS_DCLK_INVERT | m_LVDS_DCLK_EN | m_RGB_DCLK_EN;
+ val = v_LVDS_DCLK_INVERT(1) | v_LVDS_DCLK_EN(1) | v_RGB_DCLK_EN(1);
lcdc_msk_reg(lcdc_dev, AXI_BUS_CTRL, msk, val);
break;
case SCREEN_RGB:
|
|