[PATCH v2 0/2] phy: rockchip: usbdp: improve typec orientation handling

From: Heiko Stuebner
Date: Wed Feb 26 2025 - 05:38:33 EST


Reinit the phy if it's already running when a type-orientation
event happens.

changes in v2:
- fix an error I made when splitting into code-move + re-init
function should still return 0 after first patch
- use rk_udphy_init() instead of disable + setup combo
We don't need to disable + reenable clocks

Heiko Stuebner (2):
phy: rockchip: usbdp: move type-orientation-switch further down
phy: rockchip: usbdp: re-init the phy on orientation-change

drivers/phy/rockchip/phy-rockchip-usbdp.c | 171 +++++++++++-----------
1 file changed, 88 insertions(+), 83 deletions(-)

--
2.47.2