From 912a2bfd75d5112b8705bab6c2b9cea323202cfd Mon Sep 17 00:00:00 2001 From: Siddhartha Agrawal Date: Wed, 31 Aug 2016 18:23:35 -0700 Subject: [PATCH] msm: mdss: dsi: Configure pll to work only in full rate mode Update the DSI phy v3 initialization sequence as per the recommended values. The key changes include changing the operating mode from hybrid to full-rate only. Change-Id: I999c6f2f76b8991172cd2f5c4b6c99e0ed5d186b Signed-off-by: Siddhartha Agrawal --- drivers/video/fbdev/msm/mdss_dsi_phy_v3.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/video/fbdev/msm/mdss_dsi_phy_v3.c b/drivers/video/fbdev/msm/mdss_dsi_phy_v3.c index 94554bd5b423..d4ff82a11a09 100644 --- a/drivers/video/fbdev/msm/mdss_dsi_phy_v3.c +++ b/drivers/video/fbdev/msm/mdss_dsi_phy_v3.c @@ -183,7 +183,7 @@ static void mdss_dsi_phy_v3_config_lane_settings( struct mdss_dsi_ctrl_pdata *ctrl) { int i; - u32 tx_dctrl[] = {0x18, 0x19, 0x18, 0x02, 0x18}; + u32 tx_dctrl[] = {0x00, 0x00, 0x00, 0x02, 0x01}; struct mdss_dsi_phy_ctrl *pd = &(((ctrl->panel_data).panel_info.mipi).dsi_phy_db); @@ -407,8 +407,8 @@ int mdss_dsi_phy_v3_init(struct mdss_dsi_ctrl_pdata *ctrl, mdss_dsi_phy_v3_lanes_enable(ctrl); - /* Select hybrid mode and use local-wordclk */ - DSI_PHY_W32(ctrl->phy_io.base, CMN_CTRL_2, 0x08); + /* Select full-rate mode */ + DSI_PHY_W32(ctrl->phy_io.base, CMN_CTRL_2, 0x40); mdss_dsi_phy_v3_set_pll_source(ctrl);