mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 19:08:57 +09:00
phy: rockchip-samsung-hdptx-hdmi: Reset phy when disable phy
Phy must be reset or GRF_HDPTX_STATUS will always show phy is locked. Signed-off-by: Algea Cao <algea.cao@rock-chips.com> Change-Id: I9f1ade5ce6f744b1d9590f72b95bc18c58b6d12b
This commit is contained in:
@@ -1022,6 +1022,10 @@ static void hdptx_phy_disable(struct rockchip_hdptx_phy *hdptx)
|
||||
{
|
||||
u32 val;
|
||||
|
||||
reset_control_assert(hdptx->phy_reset);
|
||||
udelay(20);
|
||||
reset_control_deassert(hdptx->phy_reset);
|
||||
|
||||
hdptx_write(hdptx, LANE_REG0300, 0x82);
|
||||
hdptx_write(hdptx, SB_REG010F, 0xc1);
|
||||
hdptx_write(hdptx, SB_REG0110, 0x1);
|
||||
|
||||
Reference in New Issue
Block a user