phy/rockchip: naneng-edp: Update for Compliance Test Pass

Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
Change-Id: Ia3366c6a6c97cd77222a7df55b74d731719e74c3
This commit is contained in:
Wyon Bi 2020-12-01 00:56:14 +00:00 committed by Tao Huang
parent 1eea3c6b78
commit 6110f21e08

View File

@ -79,7 +79,7 @@ static struct {
int amp_scale;
int emp;
} vp[4][4] = {
{ {0x1, 0x1, 0x0}, {0x2, 0x1, 0x4}, {0x3, 0x1, 0x8}, {0x5, 0x1, 0xf} },
{ {0x1, 0x1, 0x0}, {0x2, 0x1, 0x4}, {0x3, 0x1, 0x8}, {0x4, 0x1, 0xd} },
{ {0x3, 0x1, 0x0}, {0x5, 0x1, 0x7}, {0x6, 0x1, 0x6}, { -1, -1, -1} },
{ {0x5, 0x1, 0x0}, {0x7, 0x1, 0x4}, { -1, -1, -1}, { -1, -1, -1} },
{ {0x7, 0x1, 0x0}, { -1, -1, -1}, { -1, -1, -1}, { -1, -1, -1} },
@ -142,7 +142,7 @@ static int rockchip_edp_phy_set_rate(struct rockchip_edp_phy *edpphy,
}
if (dp->ssc)
writel(EDP_PHY_SSC_DEPTH(0xa) | EDP_PHY_SSC_EN(0x1) |
writel(EDP_PHY_SSC_DEPTH(0x9) | EDP_PHY_SSC_EN(0x1) |
EDP_PHY_SSC_CNT(0x17d),
edpphy->regs + EDP_PHY_GRF_CON6);
else