drm/rockchip/rk628: combtxphy: Mark regcache as dirty in power on reset

HW registers were reset to default values during power on reset.

Change-Id: I1c78d5f9eb78c80a9a9cfe8c8d106c125fa0cba0
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
This commit is contained in:
Wyon Bi 2020-10-26 09:16:53 +08:00 committed by Tao Huang
parent 39d22eaf73
commit 09554ef0e9

View File

@ -210,6 +210,9 @@ static int rk628_combtxphy_power_on(struct phy *phy)
reset_control_deassert(combtxphy->rstc);
udelay(10);
regcache_mark_dirty(combtxphy->regmap);
regcache_sync(combtxphy->regmap);
regmap_update_bits(combtxphy->regmap, COMBTXPHY_CON0,
SW_TX_IDLE_MASK | SW_TX_PD_MASK | SW_PD_PLL_MASK,
SW_TX_IDLE(0x3ff) | SW_TX_PD(0x3ff) | SW_PD_PLL);