uboot修改:
--- a/drivers/video/rockchip_lvds.c
+++ b/drivers/video/rockchip_lvds.c
@@ -412,7 +412,7 @@ static int rk3288_lvds_pwr_on(struct display_state *state)
if (h_bp & 0x01)
val |= LVDS_START_PHASE_RST_1;
-
+ val |= LVDS_FMT_1;
val |= (pin_dclk << 8) | (pin_hsync << 9);
val |= (0xffff << 16);
grf_writel(val, lvds->pdata->grf_soc_con7);
kernel代码修改:
--- a/drivers/gpu/drm/rockchip/rockchip_lvds.c
+++ b/drivers/gpu/drm/rockchip/rockchip_lvds.c
@@ -539,7 +539,7 @@ static void rockchip_lvds_grf_config(struct drm_encoder *encoder,
if (h_bp & 0x01)
val |= LVDS_START_PHASE_RST_1;
-
+ val |= LVDS_FMT_1;
val |= (pin_dclk << 8) | (pin_hsync << 9);
val |= (0xffff << 16);
ret = regmap_write(lvds->grf, lvds->soc_data->grf_soc_con7, val);