summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandor Yu <Sandor.yu@nxp.com>2017-11-16 11:48:38 +0800
committerSandor Yu <Sandor.yu@nxp.com>2017-11-17 15:58:11 +0800
commit5e16126749b90e3e53fc8872b87d310ce808f84e (patch)
treea849ccb48f7e1ad08a730019e4caf2cc3a5fa2d7
parentc9db9489e7589c148f178056df22eda574b2c3ec (diff)
MLK-16834-03: hdmi/dp phy: Enable additional PLL loop Amplifier.
Addresses the PLL lock issue found on many devices. Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
-rw-r--r--drivers/gpu/drm/imx/hdp/API_AFE_mcu1_dp.c2
-rw-r--r--drivers/gpu/drm/imx/hdp/API_AFE_ss28fdsoi_kiran_hdmitx.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/imx/hdp/API_AFE_mcu1_dp.c b/drivers/gpu/drm/imx/hdp/API_AFE_mcu1_dp.c
index 799162fdff77..e4371202d868 100644
--- a/drivers/gpu/drm/imx/hdp/API_AFE_mcu1_dp.c
+++ b/drivers/gpu/drm/imx/hdp/API_AFE_mcu1_dp.c
@@ -320,7 +320,7 @@ void AFE_init(state_struct *state, int num_lanes, ENUM_AFE_LINK_RATE link_rate)
val = val | 0x0008;
Afe_write(state, PHY_PMA_CMN_CTRL1, val);
- Afe_write(state, CMN_DIAG_PLL0_TEST_MODE, 0x0020);
+ Afe_write(state, CMN_DIAG_PLL0_TEST_MODE, 0x0022);
Afe_write(state, CMN_PSM_CLK_CTRL, 0x0016);
phy_cfg_24mhz(state, num_lanes);
diff --git a/drivers/gpu/drm/imx/hdp/API_AFE_ss28fdsoi_kiran_hdmitx.c b/drivers/gpu/drm/imx/hdp/API_AFE_ss28fdsoi_kiran_hdmitx.c
index 861cc63635dc..be58b46b89b0 100644
--- a/drivers/gpu/drm/imx/hdp/API_AFE_ss28fdsoi_kiran_hdmitx.c
+++ b/drivers/gpu/drm/imx/hdp/API_AFE_ss28fdsoi_kiran_hdmitx.c
@@ -205,7 +205,7 @@ int phy_cfg_hdp_ss28fdsoi(state_struct *state, int num_lanes, VIC_MODES vicMode,
Afe_write(state, 0x40E8 | (i << 9), 0x007F);
}
/* register CMN_DIAG_PLL0_TEST_MODE */
- Afe_write(state, 0x01C4, 0x0020);
+ Afe_write(state, 0x01C4, 0x0022);
/* register CMN_PSM_CLK_CTRL */
Afe_write(state, 0x0061, 0x0016);