Skip to contentSkip to conversation

phy: rockchip: usbdp: Avoid call hpd_event_trigger in dp_phy_init

PATCH Applied Andy Yan 2 participants 2 messages Mar 2, 2025 – Mar 12, 2025

Subsystems (2)
lore
Share & tools
lore

Andy Yan

author
#0 lore raw

PATCH 1/1 phy: rockchip: usbdp: Avoid call hpd_event_trigger in dp_phy_init

From: Andy Yan <[email protected]>

Function rk_udphy_dp_hpd_event_trigger will set vogrf let it trigger HPD interrupt to DP by Type-C. This configuration is only required when the DP work in Alternate Mode, and called by typec_mux_set. In standard DP mode, such settings will prevent the DP from receiving HPD interrupts.

---

 drivers/phy/rockchip/phy-rockchip-usbdp.c | 1 -
 1 file changed, 1 deletion(-)
drivers/phy/rockchip/phy-rockchip-usbdp.c +0 -1
index 5b1e8a3806ed..c04cf64f8a35 100644
@@ -1045,7 +1045,6 @@ static int rk_udphy_dp_phy_init(struct phy *phy)
 	mutex_lock(&udphy->mutex);
 
 	udphy->dp_in_use = true;
-	rk_udphy_dp_hpd_event_trigger(udphy, udphy->dp_sink_hpd_cfg);
 
 	mutex_unlock(&udphy->mutex);
 
Signature · 1 line
2.34.1
maintainer Applied
#1 lore raw
Quoted 8 lines · Andy Yan

Function rk_udphy_dp_hpd_event_trigger will set vogrf let it trigger HPD interrupt to DP by Type-C. This configuration is only required when the DP work in Alternate Mode, and called by typec_mux_set. In standard DP mode, such settings will prevent the DP from receiving HPD interrupts.

[...]

Applied, thanks!

[1/1] phy: rockchip: usbdp: Avoid call hpd_event_trigger in dp_phy_init

      commit: 28dc672a1a877c77b000c896abd8f15afcdc1b0c

Best regards,

Signature · 1 line
~Vinod