rk3368 lvds: config for LVDS TTL mode

Signed-off-by: hjc <hjc@rock-chips.com>
This commit is contained in:
hjc
2014-12-30 11:21:50 +08:00
committed by Huang, Tao
parent e1f5c2d954
commit 7a3cd592f3

View File

@@ -249,7 +249,9 @@ static void rk31xx_output_lvttl(struct rk_lvds_device *lvds,
lvds->pins->default_state);
#endif
/* enable lvds mode */
val |= v_RK3368_LVDSMODE_EN(0) | v_RK3368_MIPIPHY_TTL_EN(1);
val |= v_RK3368_LVDSMODE_EN(0) | v_RK3368_MIPIPHY_TTL_EN(1) |
v_RK3368_MIPIPHY_LANE0_EN(1) |
v_RK3368_MIPIDPI_FORCEX_EN(1);
lvds_grf_writel(lvds, GRF_SOC_CON7_LVDS, val);
/*val = v_MIPITTL_CLK_EN(1) | v_MIPITTL_LANE0_EN(1) |