Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

phy: rockchip: usbdp: Avoid call hpd_event_trigger in dp_phy_init

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.

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Link: https://lore.kernel.org/r/20250302115257.188774-1-andyshrk@163.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Andy Yan and committed by
Vinod Koul
28dc672a 969a38be

-1
-1
drivers/phy/rockchip/phy-rockchip-usbdp.c
··· 1047 1047 mutex_lock(&udphy->mutex); 1048 1048 1049 1049 udphy->dp_in_use = true; 1050 - rk_udphy_dp_hpd_event_trigger(udphy, udphy->dp_sink_hpd_cfg); 1051 1050 1052 1051 mutex_unlock(&udphy->mutex); 1053 1052