MLK-20063 drm: imx: dp: Correct iMX8M PHY initialization
authorOliver Brown <oliver.brown@nxp.com>
Wed, 24 Oct 2018 17:47:08 +0000 (12:47 -0500)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
The DisplayPort PHY initialization does not need the additional
loop gain enabled.

Signed-off-by: Oliver Brown <oliver.brown@nxp.com>
drivers/gpu/drm/imx/hdp/API_AFE_mcu2_dp.c

index 900f126..08904cc 100644 (file)
@@ -518,7 +518,7 @@ void afe_init_t28hpc(state_struct *state,
        val = val | 0x0008;
        Afe_write(state, PHY_PMA_CMN_CTRL1, val);
 
-       Afe_write(state, CMN_DIAG_PLL0_TEST_MODE, 0x0022);
+       Afe_write(state, CMN_DIAG_PLL0_TEST_MODE, 0x0020);
        Afe_write(state, CMN_PSM_CLK_CTRL, 0x0016);
 
        if (refclk == REFCLK_24MHZ) {