Skip to content

Commit de3a8c4

Browse files
committed
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>
1 parent ce39426 commit de3a8c4

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

drivers/gpu/drm/rockchip/rk628/rk628_combtxphy.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,9 @@ static int rk628_combtxphy_power_on(struct phy *phy)
231231
reset_control_deassert(combtxphy->rstc);
232232
udelay(10);
233233

234+
regcache_mark_dirty(combtxphy->regmap);
235+
regcache_sync(combtxphy->regmap);
236+
234237
regmap_update_bits(combtxphy->regmap, COMBTXPHY_CON0,
235238
SW_TX_IDLE_MASK | SW_TX_PD_MASK | SW_PD_PLL_MASK,
236239
SW_TX_IDLE(0x3ff) | SW_TX_PD(0x3ff) | SW_PD_PLL);

0 commit comments

Comments
 (0)